[
http://jira.jboss.com/jira/browse/JBIDE-509?page=comments#action_12398746 ]
Victor Rubezhny commented on JBIDE-509:
---------------------------------------
Case 1: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in
JavaEditor) to it's factory method:
1.1. User moves the mouse cursor over the Seam variable while Ctrl key is pressed.
1.2. The variable is highlighted and underlined in the editor.
1.3. If user pressed mouse button while Ctrl-key is pressed the following steps are to be
performed:
- First we have to decide if the pointed variable has its factory method. If it's true
the the source file with that factory method is to be openned in the editor (or brought to
front if the editor is already openned), the factory method is to be revealed and selected
in the editor.
- If there is no factory method for the variable the source file with the variable
declaration is to be openned in the editor (or brought to front if the editor is already
openned), the variable declaration is to be revealed and selected in the editor.
intelligent navigation support for seam variable names
------------------------------------------------------
Key: JBIDE-509
URL:
http://jira.jboss.com/jira/browse/JBIDE-509
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Seam
Reporter: Max Andersen
Assigned To: Victor Rubezhny
Fix For: 2.1
@DataModel
private List<Message> messageList;
@Factory("messageList")
public void findMessages()
{
messageList = em.createQuery("from Message msg order by msg.datetime
desc").getResultList();
}
- link from messageList to its @Factory method, and link from "messageList" to
the property.
- ctrl+G shows related locations in .java, .xhtml, components.xml, etc.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira