Skip to main content



      Home
Home » Modeling » Papyrus » change id of editor
change id of editor [message #636314] Sat, 30 October 2010 15:16 Go to next message
Eclipse UserFriend
Hello, we are modifying the composite diagram to make three new diagrams plugins, based on it, and each one with his custom palettes, The problem is that when add the palette.xml in the extension oep.diagram.common.paletteDefinition and ask for the id of the editor, the palette customization only works with diagram id oep.diagram.composite.

We need change the id of our new diagram to other
distinct than oep....composite, we tried to change the id, in the plugin.xml and in the code of some class in composite.part package, but this didnt work.
(we rename all package and the project )


which are the places that we need modify to change the id of the diagram plugin?


thanks
Re: change id of editor [message #636898 is a reply to message #636314] Wed, 03 November 2010 05:28 Go to previous messageGo to next message
Eclipse UserFriend
Have change id into the command of creation of the diagram?
Patrick
Member of the Papyrus Team
Re: change id of editor [message #637076 is a reply to message #636898] Thu, 04 November 2010 00:58 Go to previous message
Eclipse UserFriend
Yes i do this,i change the id in the sources, but when i launch the new editor, and try to make a new palette, the EditorId* that appears always is oep.diagram.composite.

I need to change the id, to avoid that the original composite diagram show my palette for my custom diagram editor.
I want that oep.diagram.composite keep his default palette, and my new diagram have his own default palette.

I try regenerate de gmfgen too, but i have problem too.

can you help me?...thanks
Previous Topic:Model validation
Next Topic:Help documentation for Activity diagram
Goto Forum:
  


Current Time: Tue Jul 22 18:39:56 EDT 2025

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

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

Back to the top