[jbosstools-issues] [JBoss JIRA] (JBIDE-14334) Double click/open With... for cheatsheet viewer

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Mon May 13 11:31:06 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773860#comment-12773860 ] 

Snjezana Peco commented on JBIDE-14334:
---------------------------------------

Cheat Sheets is a view, not an editor so it isn't easy to override the default double-click action in the Package Explore view.
I have succeeded to do it in the Project Explorer view because it is a Common Navigator view.
The Package Explorer view uses a hardcoded OpenAction class. Maybe it is possible to replace its action set, but, I think, it would be easier and more reliable to add a new action to the context menu (Open in the Cheat Sheets view) that would be visible for all cheatsheet files in all views. Double-click will open a cheatsheet in an editor and this action would open a cheatsheet in the Cheat Sheets view.
                
> Double click/open With... for cheatsheet viewer
> -----------------------------------------------
>
>                 Key: JBIDE-14334
>                 URL: https://issues.jboss.org/browse/JBIDE-14334
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: project-examples
>            Reporter: Max Rydahl Andersen
>             Fix For: 4.1.0.Beta1
>
>
> right now it is tricky to open a cheatsheet.xml file in the cheatsheet viewer.
> Can we make it the default action for open/edit or at least make it possible to choose as the default action for xml files with cheatsheets in them ?
> maybe do it automatically for .cheatsheet.xml files ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list