Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339335 - Feature Request (CallsModelStore): Find models by simple name
Summary: Feature Request (CallsModelStore): Find models by simple name
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Recommenders (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Marcel Bruch CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-09 06:04 EST by Stefan Henss CLA
Modified: 2019-07-24 14:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Henss CLA 2011-03-09 06:04:38 EST
For importing previously unknown types I need to receive a set of models for a simple type name. Maybe even a list if we can determine some sort of priority on types and then trim it to a size of 1-2 types !?

I can provide an ITypeName, the identifier is something like "LButton".
Comment 1 Stefan Henss CLA 2011-03-09 21:01:08 EST
I have commited a quick fix for the CallsModelStore to the templates branch:

public Set<ObjectMethodCallsNet> getModelsForSimpleName(final ITypeName simpleName);

I also had to add public ITypeName getType(); to the ObjectMethodCallsNet in order to find out what the model is about.
Comment 2 Marcel Bruch CLA 2011-04-26 16:32:46 EDT
the current work around for simple type names works for me. I'm closing this issue - or did I miss something important?