TargetDecoration for ConnectionEditPart [message #187686] |
Mon, 19 May 2008 12:27 |
Sandip 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?
|
|
|
Powered by
FUDForum. Page generated in 0.03655 seconds