Skip to main content


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 SchwichtenbergFriend
Messages: 127
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 LetavernierFriend
Messages: 952
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
Previous Topic:Setup issues (Help)
Next Topic:Is there any way to convert an ecorediagram to uml?
Goto Forum:
  


Current Time: Fri Apr 19 09:27:23 GMT 2024

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

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

Back to the top