org.eclipse.graphiti.ui.platform
Class GFPropertySection
java.lang.Object
AbstractPropertySection
org.eclipse.graphiti.ui.platform.GFPropertySection
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public abstract class GFPropertySection
- extends AbstractPropertySection
- implements PropertyChangeListener
The Class GFPropertySection.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GFPropertySection
public GFPropertySection()
getSelectedPictogramElement
protected PictogramElement getSelectedPictogramElement()
- Returns:
- the selected pictogram element.
execute
public void execute(IFeature feature,
IContext context)
- Executes the feature and adds it to the command stack.
- Parameters:
feature
- the featurecontext
- the context
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface PropertyChangeListener
getDiagramEditor
protected IDiagramEditor getDiagramEditor()
- Deprecated. Use
getDiagramContainer()
instead
- Returns:
- the
IDiagramEditor
diagram editor.
checkAdapter
private <U> U checkAdapter(IAdaptable adaptable,
Class<U> clazz)
getDiagramContainer
protected IDiagramContainer getDiagramContainer()
- Returns:
- the
IDiagramContainer
. - Since:
- 0.10
getDiagram
protected Diagram getDiagram()
- Returns:
- the diagram.
getDiagramTypeProvider
protected IDiagramTypeProvider getDiagramTypeProvider()
- Returns:
- the diagram type provider.
Copyright (c) SAP AG 2005, 2012.