]
Alexey Kazakov updated JBIDE-9673:
----------------------------------
Assignee: Daniel Azarov (was: Viacheslav Kabanovich)
"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.
For more information on JIRA, see: