org.eclipse.graphiti.ui.platform
Class GFPropertySection

java.lang.Object
  extended by AbstractPropertySection
      extended by org.eclipse.graphiti.ui.platform.GFPropertySection
All Implemented Interfaces:
PropertyChangeListener, EventListener

public abstract class GFPropertySection
extends AbstractPropertySection
implements PropertyChangeListener

The Class GFPropertySection.


Constructor Summary
GFPropertySection()
           
 
Method Summary
private
<U> U
checkAdapter(IAdaptable adaptable, Class<U> clazz)
           
 void execute(IFeature feature, IContext context)
          Executes the feature and adds it to the command stack.
protected  Diagram getDiagram()
           
protected  IDiagramContainer getDiagramContainer()
           
protected  IDiagramEditor getDiagramEditor()
          Deprecated. Use getDiagramContainer() instead
protected  IDiagramTypeProvider getDiagramTypeProvider()
           
protected  PictogramElement getSelectedPictogramElement()
           
 void propertyChange(PropertyChangeEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GFPropertySection

public GFPropertySection()
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 feature
context - 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.