|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDiagramBehavior
This interface is intended as UI independent base interface for the common behavior object that describes and implements the behavior of diagrams and can be reused within all kinds of diagram containers, e.g. editors, views or plain UI composites.
Method Summary | |
---|---|
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. |
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. |
Method Detail |
---|
IDiagramContainer getDiagramContainer()
IDiagramContainer
.void refresh()
void refreshPalette()
void refreshContent()
void refreshRenderingDecorators(PictogramElement pe)
pe
- The pictogram element to refresh the decorators forObject executeFeature(IFeature feature, IContext context)
feature
- The feature to executecontext
- The context object to use with the feature
TransactionalEditingDomain getEditingDomain()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |