org.eclipse.graphiti.ui.platform
Class GraphitiConnectionEditPart

java.lang.Object
  extended by AbstractConnectionEditPart
      extended by org.eclipse.graphiti.ui.platform.GraphitiConnectionEditPart
All Implemented Interfaces:
IFeatureProviderHolder

public abstract class GraphitiConnectionEditPart
extends AbstractConnectionEditPart
implements IFeatureProviderHolder

This is an abstract marker class that indicates that an EditPart is a Graphiti edit part for a connection. It can e.g. be used to register an IAdapterFactory against Graphiti edit parts. This is useful e.g. for providing standard property sheets (or org.eclipse.ui.views.properties.tabbed.AdvancedPropertySections inside tabbed property sheets) for a selection in the Graphiti DiagramEditor; simply use this class as for the adaptableType attribute of the adapter factory definition in plugin.xml.

Introduced as part of the fix for Bugzilla 341898.

Since:
0.9

Constructor Summary
GraphitiConnectionEditPart()
           
 
Method Summary
abstract  PictogramElement getPictogramElement()
          Returns the PictogramElement (the model object) that this EditPart represents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder
getFeatureProvider
 

Constructor Detail

GraphitiConnectionEditPart

public GraphitiConnectionEditPart()
Method Detail

getPictogramElement

public abstract PictogramElement getPictogramElement()
Returns the PictogramElement (the model object) that this EditPart represents.

Returns:
the PictogramElement


Copyright (c) SAP AG 2005, 2012.