[JBoss JIRA] Resolved: (JBIDE-509) intelligent navigation support for seam variable names
by Victor Rubezhny (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-509?page=all ]
Victor Rubezhny resolved JBIDE-509.
-----------------------------------
Resolution: Done
Main resolution is done.
All the bugs and dust are to be fixed in another issues
> 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
>
> Attachments: ctrl-g-conflict.jpg, ctrl-shift-g-action.jpg, ctrl-shift-g-conflict.jpg, ctrl-shift-g-result.jpg
>
>
> @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.
> Case A: Link from the Seam Variable Name in the @Factory annotation value attribute to its declaration (for example, @Factory("mess|ageList"), where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the value of the @Factory annotation within the component while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the value of the @Factory annotation within the component and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. If return type of the selected factory method is void we have to search for the declaration (@Out/@DataBinder) in the same component. If it is found it will be revealed and selected in the editor
> (if it is contained in super-class, the appropriate class will be openned in the editor).
> 2.b Else if return type of the selected factory method is not void then the factory itself decrares the Seam variable - the factory itself to be selected.
> Case B: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in JavaEditor) to it's declaration/factory (for example, #{mess|ageList.size}, where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the Seam EL expression while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the Seam EL expression and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. The @Name or @Role annotations with the same name will be found in the Seam model of the project. If there will be at least one @Name or @Role annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.b. If not, The @Factory annotation with the same name will be found in the Seam model of the project. If there will be at least one @Factory annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.c. If not, The @Out/@DataBinder annotation with the same name will be found in the Seam model of the project. If there will be at least one @Out/@DataBinder annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.d. If not, no linkage will be performed. Error message will appear in the editor's status line
> Case C: Find References of a Seam Variable (Ctrl-Shift-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-Shift-G to find the references to variables those name equals the name of selected variable.
> 2. The references to selected variable will be searched through the files of Seam model referenced projects (Seam model may contain the references to more that one project), the @In annotation are also to be search.
> 3. The Search View will be openned and will show the results of search performed.
> Case D: Find Declarations of a Seam Variable (Ctrl-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-G to find the declarations of variables named as the selected variable.
> 2. The declarations of selected variable will be searched through the Seam model (@Name, @Role, @Out/DataBinder annotations and components.xml files).
> 3. The Search View will be openned and will show the results of search performed.
--
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
18 years, 1 month
[JBoss JIRA] Commented: (JBIDE-509) intelligent navigation support for seam variable names
by Victor Rubezhny (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-509?page=comments#action_12401805 ]
Victor Rubezhny commented on JBIDE-509:
---------------------------------------
By the way, the WTP editor reacts on F3 key pressing by invoking the HyperlinkDetector, so, JSP/XML/XHTML editors are reacting on pressing F3 key and mouse-clicking while Ctrl-key is pressed in the same way - they perform a hyperlink.
> 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
>
> Attachments: ctrl-g-conflict.jpg, ctrl-shift-g-action.jpg, ctrl-shift-g-conflict.jpg, ctrl-shift-g-result.jpg
>
>
> @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.
> Case A: Link from the Seam Variable Name in the @Factory annotation value attribute to its declaration (for example, @Factory("mess|ageList"), where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the value of the @Factory annotation within the component while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the value of the @Factory annotation within the component and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. If return type of the selected factory method is void we have to search for the declaration (@Out/@DataBinder) in the same component. If it is found it will be revealed and selected in the editor
> (if it is contained in super-class, the appropriate class will be openned in the editor).
> 2.b Else if return type of the selected factory method is not void then the factory itself decrares the Seam variable - the factory itself to be selected.
> Case B: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in JavaEditor) to it's declaration/factory (for example, #{mess|ageList.size}, where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the Seam EL expression while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the Seam EL expression and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. The @Name or @Role annotations with the same name will be found in the Seam model of the project. If there will be at least one @Name or @Role annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.b. If not, The @Factory annotation with the same name will be found in the Seam model of the project. If there will be at least one @Factory annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.c. If not, The @Out/@DataBinder annotation with the same name will be found in the Seam model of the project. If there will be at least one @Out/@DataBinder annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.d. If not, no linkage will be performed. Error message will appear in the editor's status line
> Case C: Find References of a Seam Variable (Ctrl-Shift-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-Shift-G to find the references to variables those name equals the name of selected variable.
> 2. The references to selected variable will be searched through the files of Seam model referenced projects (Seam model may contain the references to more that one project), the @In annotation are also to be search.
> 3. The Search View will be openned and will show the results of search performed.
> Case D: Find Declarations of a Seam Variable (Ctrl-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-G to find the declarations of variables named as the selected variable.
> 2. The declarations of selected variable will be searched through the Seam model (@Name, @Role, @Out/DataBinder annotations and components.xml files).
> 3. The Search View will be openned and will show the results of search performed.
--
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
18 years, 1 month
[JBoss JIRA] Commented: (JBIDE-509) intelligent navigation support for seam variable names
by Victor Rubezhny (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-509?page=comments#action_12401804 ]
Victor Rubezhny commented on JBIDE-509:
---------------------------------------
If you know how to invoke JSPQueryParticipant let me know how...
I saw the help on IQueryParticipant... It's very interresting, but I cannot understand where it's used outside of Search Dialog... Also I cannot invoke JSPQueryParticipant in my JSP Editor (from WTP, not JBoss JSP Editor).
But as I see it (IQueryParticipant) is used to do search queries by the Search Page... But Java Search Page (which can search for the references and declarations) is not the same as Find References/Declarations actions from the context menu which are binded to the Ctrl-Shift-G/Ctrl-G key combinations... The same is for the Open Action from the context menu (which is binded to the F3 key). The same is for Hyperlinks.
To search for the references/declaratons (Ctrl-shift-G/Ctrl-G) the java editor contains its own actions and doesn't use any IQueryParticipants.
To open element (F3) it also has its own action and doesn't use any IQueryParticipants.
To open element by a hyperlink (by a mouse-click while Ctrl-key is pressed) it uses JavaElementHyperlinkDetector/JavaElementHyperlink... no search at all.
No interfaces/no extentions...
And I see no way how to hook these actions from the Java Editor... I see the only one way to do it - is to override the Java Editor and override its createActions() method to change its actions. But this is wrong way.
May be somebody in JBoss knows how?
> 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
>
> Attachments: ctrl-g-conflict.jpg, ctrl-shift-g-action.jpg, ctrl-shift-g-conflict.jpg, ctrl-shift-g-result.jpg
>
>
> @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.
> Case A: Link from the Seam Variable Name in the @Factory annotation value attribute to its declaration (for example, @Factory("mess|ageList"), where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the value of the @Factory annotation within the component while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the value of the @Factory annotation within the component and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. If return type of the selected factory method is void we have to search for the declaration (@Out/@DataBinder) in the same component. If it is found it will be revealed and selected in the editor
> (if it is contained in super-class, the appropriate class will be openned in the editor).
> 2.b Else if return type of the selected factory method is not void then the factory itself decrares the Seam variable - the factory itself to be selected.
> Case B: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in JavaEditor) to it's declaration/factory (for example, #{mess|ageList.size}, where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the Seam EL expression while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the Seam EL expression and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. The @Name or @Role annotations with the same name will be found in the Seam model of the project. If there will be at least one @Name or @Role annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.b. If not, The @Factory annotation with the same name will be found in the Seam model of the project. If there will be at least one @Factory annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.c. If not, The @Out/@DataBinder annotation with the same name will be found in the Seam model of the project. If there will be at least one @Out/@DataBinder annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.d. If not, no linkage will be performed. Error message will appear in the editor's status line
> Case C: Find References of a Seam Variable (Ctrl-Shift-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-Shift-G to find the references to variables those name equals the name of selected variable.
> 2. The references to selected variable will be searched through the files of Seam model referenced projects (Seam model may contain the references to more that one project), the @In annotation are also to be search.
> 3. The Search View will be openned and will show the results of search performed.
> Case D: Find Declarations of a Seam Variable (Ctrl-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-G to find the declarations of variables named as the selected variable.
> 2. The declarations of selected variable will be searched through the Seam model (@Name, @Role, @Out/DataBinder annotations and components.xml files).
> 3. The Search View will be openned and will show the results of search performed.
--
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
18 years, 1 month
[JBoss JIRA] Commented: (JBIDE-509) intelligent navigation support for seam variable names
by Max Andersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-509?page=comments#action_12401786 ]
Max Andersen commented on JBIDE-509:
------------------------------------
Find references/declarations in Java source code is using IQueryParticpants AFAIK.
see e.g. JSPQueryParticpant which report matches for java elements in JSP's.
And as far as I can see this participant is handed the java element which you then can dissect for info on wether the cursor is actually on a relevant string/annotation and then report it if relevant.
> 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
>
> Attachments: ctrl-g-conflict.jpg, ctrl-shift-g-action.jpg, ctrl-shift-g-conflict.jpg, ctrl-shift-g-result.jpg
>
>
> @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.
> Case A: Link from the Seam Variable Name in the @Factory annotation value attribute to its declaration (for example, @Factory("mess|ageList"), where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the value of the @Factory annotation within the component while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the value of the @Factory annotation within the component and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. If return type of the selected factory method is void we have to search for the declaration (@Out/@DataBinder) in the same component. If it is found it will be revealed and selected in the editor
> (if it is contained in super-class, the appropriate class will be openned in the editor).
> 2.b Else if return type of the selected factory method is not void then the factory itself decrares the Seam variable - the factory itself to be selected.
> Case B: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in JavaEditor) to it's declaration/factory (for example, #{mess|ageList.size}, where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the Seam EL expression while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the Seam EL expression and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. The @Name or @Role annotations with the same name will be found in the Seam model of the project. If there will be at least one @Name or @Role annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.b. If not, The @Factory annotation with the same name will be found in the Seam model of the project. If there will be at least one @Factory annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.c. If not, The @Out/@DataBinder annotation with the same name will be found in the Seam model of the project. If there will be at least one @Out/@DataBinder annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.d. If not, no linkage will be performed. Error message will appear in the editor's status line
> Case C: Find References of a Seam Variable (Ctrl-Shift-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-Shift-G to find the references to variables those name equals the name of selected variable.
> 2. The references to selected variable will be searched through the files of Seam model referenced projects (Seam model may contain the references to more that one project), the @In annotation are also to be search.
> 3. The Search View will be openned and will show the results of search performed.
> Case D: Find Declarations of a Seam Variable (Ctrl-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-G to find the declarations of variables named as the selected variable.
> 2. The declarations of selected variable will be searched through the Seam model (@Name, @Role, @Out/DataBinder annotations and components.xml files).
> 3. The Search View will be openned and will show the results of search performed.
--
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
18 years, 1 month
[JBoss JIRA] Commented: (JBIDE-509) intelligent navigation support for seam variable names
by Victor Rubezhny (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-509?page=comments#action_12401771 ]
Victor Rubezhny commented on JBIDE-509:
---------------------------------------
I didn't found a way to extend/hook the "Open..." and "FInd references/declarations..." actions...
These actions are work only for Java elements. More over the Java actions (for example F3 - Open Action) are prevent the Open Seam Declaration to start. It just look for a word placed under the cursor and tries to find a java element. If it finds a Java element it opens that element, otherwise no other actions performed.
On the other side we can click on a word while the Ctrl-key is pressed. In this case the Java Hiperlink Detector will invoke Java Element Hiperlink. If the word found under the cursor named like some real java element, that element will be opened even if that word is placed inside the java quoted string (Seam EL in java string, for example). It doesn't care of type of text placed under the cursor...
> 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
>
> Attachments: ctrl-g-conflict.jpg, ctrl-shift-g-action.jpg, ctrl-shift-g-conflict.jpg, ctrl-shift-g-result.jpg
>
>
> @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.
> Case A: Link from the Seam Variable Name in the @Factory annotation value attribute to its declaration (for example, @Factory("mess|ageList"), where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the value of the @Factory annotation within the component while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the value of the @Factory annotation within the component and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. If return type of the selected factory method is void we have to search for the declaration (@Out/@DataBinder) in the same component. If it is found it will be revealed and selected in the editor
> (if it is contained in super-class, the appropriate class will be openned in the editor).
> 2.b Else if return type of the selected factory method is not void then the factory itself decrares the Seam variable - the factory itself to be selected.
> Case B: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in JavaEditor) to it's declaration/factory (for example, #{mess|ageList.size}, where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the Seam EL expression while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the Seam EL expression and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. The @Name or @Role annotations with the same name will be found in the Seam model of the project. If there will be at least one @Name or @Role annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.b. If not, The @Factory annotation with the same name will be found in the Seam model of the project. If there will be at least one @Factory annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.c. If not, The @Out/@DataBinder annotation with the same name will be found in the Seam model of the project. If there will be at least one @Out/@DataBinder annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.d. If not, no linkage will be performed. Error message will appear in the editor's status line
> Case C: Find References of a Seam Variable (Ctrl-Shift-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-Shift-G to find the references to variables those name equals the name of selected variable.
> 2. The references to selected variable will be searched through the files of Seam model referenced projects (Seam model may contain the references to more that one project), the @In annotation are also to be search.
> 3. The Search View will be openned and will show the results of search performed.
> Case D: Find Declarations of a Seam Variable (Ctrl-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-G to find the declarations of variables named as the selected variable.
> 2. The declarations of selected variable will be searched through the Seam model (@Name, @Role, @Out/DataBinder annotations and components.xml files).
> 3. The Search View will be openned and will show the results of search performed.
--
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
18 years, 1 month
[JBoss JIRA] Commented: (JBIDE-509) intelligent navigation support for seam variable names
by Max Andersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-509?page=comments#action_12401753 ]
Max Andersen commented on JBIDE-509:
------------------------------------
Why are we not hooking in to that same command instead of introducing a new one ?
> 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
>
> Attachments: ctrl-g-conflict.jpg, ctrl-shift-g-action.jpg, ctrl-shift-g-conflict.jpg, ctrl-shift-g-result.jpg
>
>
> @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.
> Case A: Link from the Seam Variable Name in the @Factory annotation value attribute to its declaration (for example, @Factory("mess|ageList"), where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the value of the @Factory annotation within the component while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the value of the @Factory annotation within the component and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. If return type of the selected factory method is void we have to search for the declaration (@Out/@DataBinder) in the same component. If it is found it will be revealed and selected in the editor
> (if it is contained in super-class, the appropriate class will be openned in the editor).
> 2.b Else if return type of the selected factory method is not void then the factory itself decrares the Seam variable - the factory itself to be selected.
> Case B: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in JavaEditor) to it's declaration/factory (for example, #{mess|ageList.size}, where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the Seam EL expression while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the Seam EL expression and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. The @Name or @Role annotations with the same name will be found in the Seam model of the project. If there will be at least one @Name or @Role annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.b. If not, The @Factory annotation with the same name will be found in the Seam model of the project. If there will be at least one @Factory annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.c. If not, The @Out/@DataBinder annotation with the same name will be found in the Seam model of the project. If there will be at least one @Out/@DataBinder annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.d. If not, no linkage will be performed. Error message will appear in the editor's status line
> Case C: Find References of a Seam Variable (Ctrl-Shift-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-Shift-G to find the references to variables those name equals the name of selected variable.
> 2. The references to selected variable will be searched through the files of Seam model referenced projects (Seam model may contain the references to more that one project), the @In annotation are also to be search.
> 3. The Search View will be openned and will show the results of search performed.
> Case D: Find Declarations of a Seam Variable (Ctrl-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-G to find the declarations of variables named as the selected variable.
> 2. The declarations of selected variable will be searched through the Seam model (@Name, @Role, @Out/DataBinder annotations and components.xml files).
> 3. The Search View will be openned and will show the results of search performed.
--
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
18 years, 1 month
[JBoss JIRA] Commented: (JBIDE-509) intelligent navigation support for seam variable names
by Max Andersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-509?page=comments#action_12401749 ]
Max Andersen commented on JBIDE-509:
------------------------------------
But why are we not just extending into the generic action "Find references in workspace" ? Why do we have a Seam specific shortcut ?
> 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
>
> Attachments: ctrl-g-conflict.jpg, ctrl-shift-g-action.jpg, ctrl-shift-g-conflict.jpg, ctrl-shift-g-result.jpg
>
>
> @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.
> Case A: Link from the Seam Variable Name in the @Factory annotation value attribute to its declaration (for example, @Factory("mess|ageList"), where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the value of the @Factory annotation within the component while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the value of the @Factory annotation within the component and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. If return type of the selected factory method is void we have to search for the declaration (@Out/@DataBinder) in the same component. If it is found it will be revealed and selected in the editor
> (if it is contained in super-class, the appropriate class will be openned in the editor).
> 2.b Else if return type of the selected factory method is not void then the factory itself decrares the Seam variable - the factory itself to be selected.
> Case B: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in JavaEditor) to it's declaration/factory (for example, #{mess|ageList.size}, where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the Seam EL expression while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the Seam EL expression and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. The @Name or @Role annotations with the same name will be found in the Seam model of the project. If there will be at least one @Name or @Role annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.b. If not, The @Factory annotation with the same name will be found in the Seam model of the project. If there will be at least one @Factory annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.c. If not, The @Out/@DataBinder annotation with the same name will be found in the Seam model of the project. If there will be at least one @Out/@DataBinder annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.d. If not, no linkage will be performed. Error message will appear in the editor's status line
> Case C: Find References of a Seam Variable (Ctrl-Shift-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-Shift-G to find the references to variables those name equals the name of selected variable.
> 2. The references to selected variable will be searched through the files of Seam model referenced projects (Seam model may contain the references to more that one project), the @In annotation are also to be search.
> 3. The Search View will be openned and will show the results of search performed.
> Case D: Find Declarations of a Seam Variable (Ctrl-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-G to find the declarations of variables named as the selected variable.
> 2. The declarations of selected variable will be searched through the Seam model (@Name, @Role, @Out/DataBinder annotations and components.xml files).
> 3. The Search View will be openned and will show the results of search performed.
--
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
18 years, 1 month
[JBoss JIRA] Updated: (JBIDE-509) intelligent navigation support for seam variable names
by Victor Rubezhny (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-509?page=all ]
Victor Rubezhny updated JBIDE-509:
----------------------------------
Attachment: ctrl-shift-g-action.jpg
ctrl-shift-g-result.jpg
The following two pictures are the invokation and results of Find Seam Reference action
> 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
>
> Attachments: ctrl-g-conflict.jpg, ctrl-shift-g-action.jpg, ctrl-shift-g-conflict.jpg, ctrl-shift-g-result.jpg
>
>
> @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.
> Case A: Link from the Seam Variable Name in the @Factory annotation value attribute to its declaration (for example, @Factory("mess|ageList"), where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the value of the @Factory annotation within the component while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the value of the @Factory annotation within the component and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. If return type of the selected factory method is void we have to search for the declaration (@Out/@DataBinder) in the same component. If it is found it will be revealed and selected in the editor
> (if it is contained in super-class, the appropriate class will be openned in the editor).
> 2.b Else if return type of the selected factory method is not void then the factory itself decrares the Seam variable - the factory itself to be selected.
> Case B: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in JavaEditor) to it's declaration/factory (for example, #{mess|ageList.size}, where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the Seam EL expression while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the Seam EL expression and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. The @Name or @Role annotations with the same name will be found in the Seam model of the project. If there will be at least one @Name or @Role annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.b. If not, The @Factory annotation with the same name will be found in the Seam model of the project. If there will be at least one @Factory annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.c. If not, The @Out/@DataBinder annotation with the same name will be found in the Seam model of the project. If there will be at least one @Out/@DataBinder annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.d. If not, no linkage will be performed. Error message will appear in the editor's status line
> Case C: Find References of a Seam Variable (Ctrl-Shift-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-Shift-G to find the references to variables those name equals the name of selected variable.
> 2. The references to selected variable will be searched through the files of Seam model referenced projects (Seam model may contain the references to more that one project), the @In annotation are also to be search.
> 3. The Search View will be openned and will show the results of search performed.
> Case D: Find Declarations of a Seam Variable (Ctrl-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-G to find the declarations of variables named as the selected variable.
> 2. The declarations of selected variable will be searched through the Seam model (@Name, @Role, @Out/DataBinder annotations and components.xml files).
> 3. The Search View will be openned and will show the results of search performed.
--
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
18 years, 1 month
[JBoss JIRA] Commented: (JBIDE-509) intelligent navigation support for seam variable names
by Victor Rubezhny (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-509?page=comments#action_12401745 ]
Victor Rubezhny commented on JBIDE-509:
---------------------------------------
The screenshots on cases C and D are attached. You could see the key combination conflict windows on right-bottom corner.
> 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
>
> Attachments: ctrl-g-conflict.jpg, ctrl-shift-g-conflict.jpg
>
>
> @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.
> Case A: Link from the Seam Variable Name in the @Factory annotation value attribute to its declaration (for example, @Factory("mess|ageList"), where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the value of the @Factory annotation within the component while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the value of the @Factory annotation within the component and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. If return type of the selected factory method is void we have to search for the declaration (@Out/@DataBinder) in the same component. If it is found it will be revealed and selected in the editor
> (if it is contained in super-class, the appropriate class will be openned in the editor).
> 2.b Else if return type of the selected factory method is not void then the factory itself decrares the Seam variable - the factory itself to be selected.
> Case B: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in JavaEditor) to it's declaration/factory (for example, #{mess|ageList.size}, where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the Seam EL expression while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the Seam EL expression and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. The @Name or @Role annotations with the same name will be found in the Seam model of the project. If there will be at least one @Name or @Role annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.b. If not, The @Factory annotation with the same name will be found in the Seam model of the project. If there will be at least one @Factory annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.c. If not, The @Out/@DataBinder annotation with the same name will be found in the Seam model of the project. If there will be at least one @Out/@DataBinder annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.d. If not, no linkage will be performed. Error message will appear in the editor's status line
> Case C: Find References of a Seam Variable (Ctrl-Shift-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-Shift-G to find the references to variables those name equals the name of selected variable.
> 2. The references to selected variable will be searched through the files of Seam model referenced projects (Seam model may contain the references to more that one project), the @In annotation are also to be search.
> 3. The Search View will be openned and will show the results of search performed.
> Case D: Find Declarations of a Seam Variable (Ctrl-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-G to find the declarations of variables named as the selected variable.
> 2. The declarations of selected variable will be searched through the Seam model (@Name, @Role, @Out/DataBinder annotations and components.xml files).
> 3. The Search View will be openned and will show the results of search performed.
--
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
18 years, 1 month
[JBoss JIRA] Updated: (JBIDE-509) intelligent navigation support for seam variable names
by Victor Rubezhny (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-509?page=all ]
Victor Rubezhny updated JBIDE-509:
----------------------------------
Attachment: ctrl-shift-g-conflict.jpg
> 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
>
> Attachments: ctrl-g-conflict.jpg, ctrl-shift-g-conflict.jpg
>
>
> @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.
> Case A: Link from the Seam Variable Name in the @Factory annotation value attribute to its declaration (for example, @Factory("mess|ageList"), where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the value of the @Factory annotation within the component while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the value of the @Factory annotation within the component and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. If return type of the selected factory method is void we have to search for the declaration (@Out/@DataBinder) in the same component. If it is found it will be revealed and selected in the editor
> (if it is contained in super-class, the appropriate class will be openned in the editor).
> 2.b Else if return type of the selected factory method is not void then the factory itself decrares the Seam variable - the factory itself to be selected.
> Case B: Link from Seam Variable name used in Seam EL expression (XHTML/XML/Java Strings in JavaEditor) to it's declaration/factory (for example, #{mess|ageList.size}, where "|" is the current cursor position):
> 1.a. User moves the mouse cursor over the Seam Variable Name in the Seam EL expression while Ctrl key is pressed. The variable is highlighted and underlined in the editor. User clicks left mouse button while Ctrl-key still is pressed.
> - or -
> 1.b. User sets the cursor into or selects the Seam Variable Name in the Seam EL expression and then presses F3 key.
> 2. The following steps will be performed:
> 2.a. The @Name or @Role annotations with the same name will be found in the Seam model of the project. If there will be at least one @Name or @Role annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.b. If not, The @Factory annotation with the same name will be found in the Seam model of the project. If there will be at least one @Factory annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.c. If not, The @Out/@DataBinder annotation with the same name will be found in the Seam model of the project. If there will be at least one @Out/@DataBinder annotation found the source file with that annotation will be opened in the editor (or brought to front if the editor is already openned), and the annotation found will be revealed and selected in the editor.
> 2.d. If not, no linkage will be performed. Error message will appear in the editor's status line
> Case C: Find References of a Seam Variable (Ctrl-Shift-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-Shift-G to find the references to variables those name equals the name of selected variable.
> 2. The references to selected variable will be searched through the files of Seam model referenced projects (Seam model may contain the references to more that one project), the @In annotation are also to be search.
> 3. The Search View will be openned and will show the results of search performed.
> Case D: Find Declarations of a Seam Variable (Ctrl-G).
> 1. User selects the Seam Variable Name in Seam EL expression (XHTML/JSP/XML files) or in value attribute of annotations @Name/@Role/@Factory/@In/@Out/@DataBinder in component class file or in components.xml file and then presses Ctrl-G to find the declarations of variables named as the selected variable.
> 2. The declarations of selected variable will be searched through the Seam model (@Name, @Role, @Out/DataBinder annotations and components.xml files).
> 3. The Search View will be openned and will show the results of search performed.
--
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
18 years, 1 month