public interface IDiagramBehavior
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
executeFeature(IFeature feature,
IContext context)
Executes the given feature in the given context using the command stack
and editing domain of the diagram behavior object.
|
IDiagramContainer |
getDiagramContainer()
Returns the associated container visualizing the diagram.
|
org.eclipse.emf.transaction.TransactionalEditingDomain |
getEditingDomain()
Gets the transactional editing domain.
|
void |
refresh()
Refreshes the complete visualization.
|
void |
refreshContent()
Refreshes the content of the container (what's shown inside the diagram
itself).
|
void |
refreshPalette()
Refreshes the containers's palette.
|
void |
refreshRenderingDecorators(PictogramElement pe)
Refreshes all rendering decorators for the given pictogram element.
|
IDiagramContainer getDiagramContainer()
IDiagramContainer
.void refresh()
void refreshPalette()
void refreshContent()
void refreshRenderingDecorators(PictogramElement pe)
pe
- The pictogram element to refresh the decorators forjava.lang.Object executeFeature(IFeature feature, IContext context)
feature
- The feature to executecontext
- The context object to use with the featureorg.eclipse.emf.transaction.TransactionalEditingDomain getEditingDomain()