[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-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
>
>
> @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_12401734 ]
Max Andersen commented on JBIDE-509:
------------------------------------
about case C and D ...but eclipse allows you to participate in the search doesn't it ? could you provide a few screenshots on how it works just so im sure i'm understanding it correctly ,)
> 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.
> 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_12401678 ]
Victor Rubezhny commented on JBIDE-509:
---------------------------------------
Draft is added to the SVN.
Cases A and B: no hot keys (F3) still binded. The F3 key is reserved by the Java Editor and used to find and open the declaration for the JavaElement. This behaviour probably cannot be overloaded. For the Structured editors (xml, jsp, xhtml) the key also is binded, but it does exactly what we need to do (performes a hyperlink action).
Cases C and D: The hot key combinations Ctrl-G and Shift-Ctrl-G are reserved by the Java Editor and used to search for the declarations and references correspondingly. The key combinations are binded to Search for Seam declarations/references too and this results to openning a conflict dialog that allows a user to select the proper action to execute.
Search for references in annotations is to be done.
> 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.
> 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:
----------------------------------
Description:
@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.
was:
@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: 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: 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: 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: 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.
> 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.
> 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-675) Large JSF file are too slow to handle, making editor useless for them
by Maxim Areshkau (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-675?page=comments#action_12401441 ]
Maxim Areshkau commented on JBIDE-675:
--------------------------------------
I have been looked up intro 3-directions under fixing this bug:
1)Cashing of VPE data , in this way we should resolve following problems:
a) in class VpeCreation data contains field data, which should be properly cloned for cash(We should copy ns** objects and just save a link for w3c elements), but in this field every template can write everything.
b) we have some memory links in mozilla(following error message *** _NSAutoreleaseNoPool(): Object 0x7105e080 of class NSConcreteValue autoreleased with no pool in place - just leaking), this can cause a crash of eclipse.
c) I have tested work of VPE on page emplayes.xhtml and in case when cash a on, vpe forks up 2x faster.
2)Second thing that I tried to do it's separate update view of vpe from user ui thread. Processing under xulrunner objects should be called from ui thread, but eclipse usually creates only one instance of Display class, so when we run update in UIJob it's shows WAIT CURSOR and suspend user input on source page.When I run update of visual preview in non ui job it's crashes eclipse.
3)adjust of processing notifyChanged event's.But in this case we should change event processing in VpeVisualDomBuilder and change mechanism of processing templates.
> Large JSF file are too slow to handle, making editor useless for them
> ---------------------------------------------------------------------
>
> Key: JBIDE-675
> URL: http://jira.jboss.com/jira/browse/JBIDE-675
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JSF, Visual Page Editor
> Affects Versions: ExadelStudioPro4
> Environment: Eclipse 3.2.2
> Exadel Studio 4.0.4
> Kubuntu Feisty Fawn
> 1G RAM
> CPU Intel(R) Pentium(R) 4 CPU 2.80GHz, HyperThreading activated
> Reporter: David Delbecq
> Assigned To: Maxim Areshkau
> Priority: Critical
> Fix For: 2.1
>
> Attachments: .classpath, copy_dump.txt, edit_dump1.txt, edit_dump2.txt, editStructure.txt, JBIDE-675.tar.gz, loading_dump.txt, profiling.tar.gz, stacktraces-rhd2b1.log.gz, tree.txt
>
>
> Post to JIRA, following recommandatiopn here: http://jboss.com/index.html?module=bb&op=viewtopic&t=115447
> When editing JSF files That contains quite a lot of include, it take commonly up to 20 seconds for one character i type to get it's way to the screen. I can even see, after 10 seconds, the cursor goes on step right, and after a new 10 second the character appear in front of the cursor. This make it impossible to use JSF editor from exadel to edit such file, i have to ressort to plain xml editor without completion for facelets tags.
> I will be posting attachement containing description of files involved (sorry, no file content).
--
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-518) Open seam component
by Daniel Azarov (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-518?page=all ]
Daniel Azarov updated JBIDE-518:
--------------------------------
Affects: [Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial]
> Open seam component
> -------------------
>
> Key: JBIDE-518
> URL: http://jira.jboss.com/jira/browse/JBIDE-518
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: Seam
> Reporter: Max Andersen
> Assigned To: Daniel Azarov
> Priority: Critical
> Fix For: 2.1
>
>
> Have Ctrl+Shift+Z (?) to have an "Open Seam Component" similar to "Open Resource" and "Open Type"
> should list @Name'd Seam components
> 1. User select menu item "Navigate > Open Seam Component" or toolbar button or just press Ctrl+Shift+Z
> 2. Dialog appears (dialog like "Open Type" eclipse dialog)
> 3. Dialog shows all components from all opened projects in user's workspace (list from the seam component model)
> 4. When user selects particular component we close dialog and open source of component (class file, components.xml, e.t.c)
--
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