Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 393821 - Add additional autocompletion for fields and properties in OQL editor
Summary: Add additional autocompletion for fields and properties in OQL editor
Status: RESOLVED FIXED
Alias: None
Product: MAT
Classification: Tools
Component: GUI (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Andrew Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 231292
  Show dependency tree
 
Reported: 2012-11-07 16:57 EST by Andrew Johnson CLA
Modified: 2013-05-15 06:34 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 Andrew Johnson CLA 2012-11-07 16:57:27 EST
The autocompletion for class names in the OQL editor is useful.

Another area which would be good is autocompletion for 
 field names
 Java bean properties on standard objects (IInstance, IClass etc.)
 Java methods on standard objects (IInstance, IClass etc.)
 variables e.g. ${snapshot}

I have some code to do this, which also adds some icons for the autocompletion pop-up.

To filter the possible field names I have tried using just the classes returned from the last class name autocomplete operation. That seems to work okay, though would need some explanation in the help.
Comment 1 Andrew Johnson CLA 2012-11-07 17:59:49 EST
I've committed my changes. Once we are happy with how it works then I can update the help to match.
Comment 2 Andrew Johnson CLA 2012-11-14 09:11:33 EST
I am now using context information to select the class for field names.
I have added some help to tips and tricks.
Comment 3 Andrew Johnson CLA 2013-05-15 06:34:52 EDT
This is now finished