|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDiagramContainer
The Interface IDiagramContainer. This is the base interface for all containers that can display diagrams. Such a container may be an editor or a view, possibly also a plain composite used within e.g. a popup or inside an editor or view.
| Method Summary | |
|---|---|
void |
close()
Notify the container that it should shut down or clear it's state. |
void |
doSave(IProgressMonitor monitor)
Triggers that the diagram model is persisted. |
IDiagramBehavior |
getDiagramBehavior()
Returns the associated diagram behavior instance, that describes and implements the standard diagram behavior. |
IDiagramTypeProvider |
getDiagramTypeProvider()
Gets the diagram type provider. |
PictogramElement[] |
getSelectedPictogramElements()
Gets all pictogram elements that are currently selected. |
String |
getTitle()
Gets the title for the container that is displaying the diagram. |
String |
getTitleToolTip()
Returns the tooltip for the container. |
boolean |
isDirty()
Checks if the container is dirty. |
void |
refreshTitle()
Refreshes the title text of this container. |
void |
refreshTitleToolTip()
Refreshes the title tool tip text of this part. |
void |
selectPictogramElements(PictogramElement[] pictogramElements)
Selects all the given pictogram elements in the container. |
void |
setPictogramElementForSelection(PictogramElement pictogramElement)
Sets the pictogram element which should be selected after the container refresh. |
void |
setPictogramElementsForSelection(PictogramElement[] pictogramElements)
Sets the pictogram elements which should be selected after the container refresh. |
void |
updateDirtyState()
Updates the UI of the container to correctly reflect the dirty state. |
| Method Detail |
|---|
void selectPictogramElements(PictogramElement[] pictogramElements)
pictogramElements - The pictogram elements to selectPictogramElement[] getSelectedPictogramElements()
void setPictogramElementForSelection(PictogramElement pictogramElement)
pictogramElement - The pictogram element to selectvoid setPictogramElementsForSelection(PictogramElement[] pictogramElements)
pictogramElements - The pictogram elements to selectString getTitle()
StringString getTitleToolTip()
Stringvoid refreshTitle()
void refreshTitleToolTip()
boolean isDirty()
true, if container is dirty, false
otherwisevoid doSave(IProgressMonitor monitor)
void updateDirtyState()
IEditorPart#PROP_DIRTY property change.
void close()
IDiagramTypeProvider getDiagramTypeProvider()
IDiagramBehavior getDiagramBehavior()
IDiagramBehavior.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||