Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339335

Summary: Feature Request (CallsModelStore): Find models by simple name
Product: z_Archived Reporter: Stefan Henss <stefan.henss>
Component: RecommendersAssignee: Marcel Bruch <marcel.bruch>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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?