Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » TargetDecoration for ConnectionEditPart
TargetDecoration for ConnectionEditPart [message #187686] Mon, 19 May 2008 12:27
Sandip is currently offline SandipFriend
Messages: 39
Registered: July 2009
Member
Hello Friends,

In the provides() for my XXXEditPartProvider class, I am returning true,
if(operation instanceof CreateRootEditPartOperation). Also for the
createRootEditPart() I return new DiagramRootEditPart() instead of null
(default return value is null !!!)


In plugin.xml file I have kept the priority for the extension
org.eclipse.gmf.runtime.diagram.ui.editpartProviders as Medium and context
as providesRootEditPart="true".


But my ConnectionEditParts in the editor do not show PolygonDecoration
(triangle tip) that was added as setTargetDecoration() to its figure. If I
return null in
createRootEditPart() in the provider, it comes back.

Any idea?
Previous Topic:Shortcuts issue while initializing a diagram from model
Next Topic:Saving model to other format
Goto Forum:
  


Current Time: Tue Apr 23 13:20:32 GMT 2024

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

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

Back to the top