Package org.eclipse.graphiti.ui.platform
Class GFPropertySection
- java.lang.Object
-
- org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
-
- org.eclipse.graphiti.ui.platform.GFPropertySection
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
,org.eclipse.ui.views.properties.tabbed.ISection
public abstract class GFPropertySection extends org.eclipse.ui.views.properties.tabbed.AbstractPropertySection implements java.beans.PropertyChangeListener
The Class GFPropertySection.
-
-
Constructor Summary
Constructors Constructor Description GFPropertySection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(IFeature feature, IContext context)
Executes the feature and adds it to the command stack.protected Diagram
getDiagram()
protected IDiagramContainer
getDiagramContainer()
protected IDiagramTypeProvider
getDiagramTypeProvider()
protected PictogramElement
getSelectedPictogramElement()
void
propertyChange(java.beans.PropertyChangeEvent evt)
-
-
-
Method Detail
-
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(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
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.
-
-