[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2121) Different behavior(result) of actions Find Seam Declarations and Find Seam References when call them using hot keys or selection from Navigate menu.

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Wed Apr 23 15:51:09 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-2121?page=comments#action_12410371 ] 
            
Victor Rubezhny commented on JBIDE-2121:
----------------------------------------

The "Find Seam..." action and the one that is used via Ctrl+1 are the same.  Not a command (Command isn't used when you invoke it via Ctrl+1).

The "Find Seam..." actions are linked (via its definitionId attribute) to the the commands which defined for the Java Editor (Find ... in workspace) - that's why the Java search actions are invoked in Java-editor, but not the "Find Seam..." actions. And this allows to invoke "Find Seam ..." actions for all the other editors.

Snjezana did it for a certain editor (JSP/HTML Multipage Editor), but not for all the editors. We need "Find Seam..." actions to work for any editor. I can modify the JBoss editors, but I cannot  modify the Java Editor.

By the way the "Find Seam... " actions are to be enabled even the Java editor is activated. (Only hot-keys shoud invoke the Java Search actions but not the "Find Seam..." actions in this case.

IMHO, what can be done is an additional checking for the type of the document (what editor is activated) and assigning/deassigning the hot keys for the "Find Seam... " actions depending on the check result.

Probably, an Error Message Dialog is to be added as it's done for the Java Search actions to exclude non-Seam EL words from search (but it's not always possible to determine is the word under the cursor a Seam EL token).

And off course, the "Find Seam..." actions should be moved to Search menu.
  


> Different behavior(result) of actions Find Seam Declarations and Find Seam References when call them using hot keys or selection from Navigate  menu.  
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-2121
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2121
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Anton Klimkovich
>         Assigned To: Victor Rubezhny
>             Fix For: 2.1
>
>         Attachments: Ctrl+G.PNG, Navigate.PNG, NavigateMenu.PNG
>
>
> EXECUTE: Create default Seam web project 
> EXECUTE: Open Authenticator.java
> EXECUTE: Set cursor to identity
> EXECUTE: Press Ctrl+G  keys
> ASSERT:    Look at screenshot for result. (Ctrl+G.png)
> EXECUTE: Set cursor to identity
> EXECUTE: Select from Navigate menu or from Ctrl+1 context menu Find Seam Declarations
> ASSERT:    Search result should be the same with Ctrl+G find. 
> FAILURE:   Different search result of actions Find Seam Declarations and Find Seam References (NavigateMenu.png)
> For Find Seam References the same situation.

-- 
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

        



More information about the jbosstools-issues mailing list