[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
Thu Apr 24 15:28:09 EDT 2008


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

Snjezana,

It's some strange thing happens with the contexts for me ... 

When I define a command and a key binding for org.jboss.tools.vpe.editorContext these new hot keys become to work for any editor contexts... (Even the java editor search actions loose their keybindings for these key combinations)... 

So, it seams that the changing the context procedure (like you have made for your actions in VpeEditorPart$ActivationListener) must be implemented for each editor where we need our actions to work. We have to handle editor activation/deactivation and activate/deactivate our action handlers accordingly. 
Am I right?

It's possible for JBoss Visual JSP Editor and for JBoss XML editor, but not possible for WTP JSP/XML editors.

Correct me please if I'm mistaken.

If I'm right, it will not be possible to invoke "Find Seam..." actions by a hot key when a user opens JSP/XHTML/XML files by WTP editors (not by JBoss Editors)

Any hints are appreciated.

> 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