[
https://issues.jboss.org/browse/JBIDE-9673?page=com.atlassian.jira.plugin...
]
Isaac Rooskov updated JBIDE-9673:
---------------------------------
Release Notes Docs Status: Documented as Resolved Issue
Writer: irooskov
Release Notes Text: Before a user had to hold the Ctrl key and left-click on
the needed bean in order to bring up the CDI menu concerning the annotation. Users found
that this method was not as convenient as that used by other Eclipse-based software
offerings. User interaction with the CDI menus has been modified so that the menu items
Show All Generic Configuration Points, Show All Generic Beans, Show CDI Events and Show
CDI Observer Methods now work as the Java Development Tools menu, Open Implementation,
does. This ensures user interface consistency across Eclipse-based software offerings,
enabling new users to have a lower barrier-to-entry.
"Show All Generic Configuration Points", "Show CDI
Events" and "Show CDI Observer Methods" dialogs should look like "Open
Implementation" in JDT
------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-9673
URL:
https://issues.jboss.org/browse/JBIDE-9673
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: CDI extensions
Affects Versions: 3.3.0.M3
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Labels: new_and_noteworthy
Fix For: 3.3.0.M4
Attachments: dialog1.png, dialog2.png, dialog3.png, new_CDIEvents.png,
new_CDIObserverMethods.png, new_GenericConfigurationPoints.png,
ShowAllGenericConfiguration Points2.png, ShowAllGenericConfigurationPoints1.png,
ShowCDIEvents1.png, ShowCDIEvents2.png, ShowCDIObserverMethods1.png,
ShowCDIObserverMethods2.png
See JBIDE-8692
Now you have to press Ctrl+Click and not to release the button until you click on the
needed bean. It's not so convenient. Let's use some dialog like JDT uses in Open
Implementation.
Test case:
1. Import CDISolderTest project from
https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cd...
2. Open org.jboss.generic.MyGenericBean.java in Java Editor
3. press Ctrl and point mouse to first @Inject annotation
4. Select "Show All Generic Configuration Points..." menu item
ASSERT: follow dialog window should appear
!dialog1.png!
5. Open org.jboss.generic.MyGenericBean2.java in Java Editor
6. press Ctrl and point mouse to myObserver method
7. Select "Show CDI Events" menu item
ASSERT: follow dialog window should appear
!dialog2.png!
8. Add myObserver2 method to MyGenericBean2 class
{code}
void myObserver2(@Observes MyBean bean) {
}
{code}
9. Open org.jboss.generic.MyBeanInjections.java in Java Editor
10. press Ctrl and point mouse to event2 field
11. Select "Show CDI Observer Methods" menu item
ASSERT: follow dialog window should appear
!dialog3.png!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira