Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » EditPartProvider Priority
EditPartProvider Priority [message #991225] Mon, 17 December 2012 21:08 Go to next message
Simon Schwichtenberg is currently offline Simon Schwichtenberg
Messages: 126
Registered: September 2011
Senior Member
Hi,

I want to replace the ModelEditPart of the class diagrams with my own version, but this works only if I set the priority of the extension point to "highest" AND if org.eclipse.papyrus.uml.diagram.clazz is in the workspace. This is because the editpartproviders are conflicting because of the same priority and when both are in the workspace the build order works as tie breaker.


org.eclipse.papyrus.uml.diagram.clazz/plugin.xml:
<extension
      id="ep-provider"
      point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders">
   <editpartProvider
         class="org.eclipse.papyrus.uml.diagram.clazz.custom.providers.CUMLEditPartProvider">
      <Priority
            name="Highest">
      </Priority>
...


Is there some trick how to avoid this so that I need not to have org.eclipse.papyrus.uml.diagram.clazz in my workspace?


Regards,
Simon

[Updated on: Mon, 17 December 2012 21:08]

Report message to a moderator

Re: EditPartProvider Priority [message #991268 is a reply to message #991225] Tue, 18 December 2012 09:21 Go to previous message
Camille Letavernier is currently offline Camille Letavernier
Messages: 483
Registered: February 2011
Senior Member
Hello Simon,

It seems this problem has been fixed recently:

396387: [Class Diagram] The custom Edit Part Priority should not be set to Highest
https://bugs.eclipse.org/bugs/show_bug.cgi?id=396387

So you should now be able to set your own provider with the Highest priority


Regards,
Camille


Camille Letavernier
Papyrus developer
Previous Topic:Setup issues (Help)
Next Topic:Is there any way to convert an ecorediagram to uml?
Goto Forum:
  


Current Time: Sun Oct 26 04:46:49 GMT 2014

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

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