[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 14:33:09 EDT 2008


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

"Find Seam..." actions are relevant for any Seam EL-s in any editors. The problems are:

- Key combination conflict in the Java Editor (but "Find Seam..." actions are to work for Seam EL in Java strings as well)

- There is no common way to separate Seam EL tokens from all the other words in editor, so "Find Seam..." action will try to interpret any text under the cursor as Seam EL token. (for compare the Java Search will try to interpret any word under the cursor as IJavaElement. If it can't find a IJavaElement by the name (a word under the cursor) it fails and shows an error message like "The operation is unavailable on the current selection. Prease select a valid Java element name". We aren't showing such messages for "Find Seam..." actions)

-It may be a problem to assign/deassign the hot-key combination dynamically depending on the editor activated.



> 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