Bug 341479 - [open type] Open Type dialog should allow filtering an Java class type
Summary: [open type] Open Type dialog should allow filtering an Java class type
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows 7
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-31 09:11 EDT by Stefan Liebig CLA
Modified: 2014-12-15 13:29 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.