|Re: Add actions/actionsets to the context-menu? [message #1005255 is a reply to message #968070]
||Thu, 24 January 2013 18:17
| Hernan Gonzalez
Registered: October 2010
Location: Buenos Aires, Argentina
Am I wrong in guessing that Graphiti is in this respect little cooperative and disruptive of the Eclipse-RCP usage? By building the context-menu in such uncooperative away (programatically, and in isolation), the editor loses (irrevocably?) lots of standard functionality that the user expects in a Eclipse-RCP product. For example: I have a product that works similarly to Eclipse IDE, with a "project explorer" with its resources, and text editors that work together with my Graphiti editor; the user expects that when right-click any resource in the Project Explorer, in the Text Editor or in the Graphiti Editor, the contextual menu will allow some actions that are common to all them (and which are provided by other plugins unrelated to the editor): for example, the "Run/Debug" action set, the "Team -> Compare with".|
I'm not an expert at Eclipse-RCP best practices, but this smells bad to me.
The Graphiti editor should not assume that all the actions that are to be executed via its contextual menu are editor actions.
[Updated on: Thu, 24 January 2013 18:44]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01785 seconds