Bug 341479

Summary: [open type] Open Type dialog should allow filtering an Java class type
Product: [Eclipse Project] JDT Reporter: Stefan Liebig <Stefan.Liebig>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: markus.kell.r, noopur_gupta, odrotbohm
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Stefan Liebig CLA 2011-03-31 09:11:12 EDT
It would be nice if the Open Type dialog could support filtering by Java class types.
A use case is e.g. that I would like to see only Java annotations within the dialog.
There could be toggle buttons within the Open Type dialog to select:
Interfaces
Enums
Classes
Annotations

(Similar to the toggle buttons for e,.g. hiding fields in the Outline View)
Comment 1 Markus Keller CLA 2011-04-01 08:48:34 EDT
We have to be careful not to add too many UI elements to the Open Type dialog. OTOH, hiding the options in the menu would make them hard to use (too may clicks to toggle) and would also hide the current state.
Comment 2 Oliver Drotbohm CLA 2014-12-15 12:15:13 EST
I was thinking about the use case for annotations specifically. What if starting with an @ would limit the search to annotation types only?
Comment 3 Noopur Gupta CLA 2014-12-15 13:29:26 EST
(In reply to Oliver Gierke from comment #2)
> I was thinking about the use case for annotations specifically. What if
> starting with an @ would limit the search to annotation types only?

See bug 421799 also.