Skip to main content



      Home
Home » Modeling » Graphiti » DiagramEditorActionBarContributor in MultiPage Editor(Child Editor's ActionBarContributor Class Not Considered? )
icon9.gif  DiagramEditorActionBarContributor in MultiPage Editor [message #669667] Wed, 11 May 2011 01:55 Go to next message
Eclipse UserFriend
Hi all,

I have a MultiPageEditor, the actions contributor class is DiagramEditorActionBarContributor ,

I add an editor(lets say child) inside this MultiPageEditor, having its actions contributor class , extending abstract MultipageEditoractionBarContributor Class,
Now , i open the MPE, go to child editor tab,
I dont see any of the actions appearing, but if i start my child editor as a standalone editor (Not inside a MultipageEditor), then i see the actions that i had added.


How to proceed pls help

Thanks
Mak

[Updated on: Fri, 13 May 2011 08:05] by Moderator

Re: DiagramEditorActionBarContributor in MultiPage Editor [message #696928 is a reply to message #669667] Fri, 15 July 2011 02:44 Go to previous messageGo to next message
Eclipse UserFriend
Hello Mak,

Even I am facing the similar problem to enable the actions related to my graphical editor within a multipage editor.

I feel the problem lies in the editor items selection. I am not getting any selection in my getSelectedObjects() method of the SelectionAction Class.

Just wanted to know if you were able to resolve it?If so, Could you please share your ideas.

Thanks in advance for help.

Best Regards,
Murthy
Re: DiagramEditorActionBarContributor in MultiPage Editor [message #698852 is a reply to message #696928] Wed, 20 July 2011 07:26 Go to previous message
Eclipse UserFriend
To add actions to a multipage editor which contains a diagramEditor, Set the DiagramEditorActionBarContributor as the actionBarContributor to the editor. And to enable the actions please see the following issue :http://www.eclipse.org/forums/index.php/t/221444/

Best Regards,
Murthy
Previous Topic:Graphiti service release 0.7.2 is available for download
Next Topic:create note or comment in graphiti diagram
Goto Forum:
  


Current Time: Sat Jul 05 02:05:46 EDT 2025

Powered by FUDForum. Page generated in 0.04047 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top