|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDiagramEditor
The Interface IDiagramEditor.
Method Summary | |
---|---|
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 editor. |
IDiagramTypeProvider |
getDiagramTypeProvider()
Gets the diagram type provider. |
TransactionalEditingDomain |
getEditingDomain()
Gets the transactional editing domain. |
ResourceSet |
getResourceSet()
Gets the resource set. |
PictogramElement[] |
getSelectedPictogramElements()
Get all pictogram elements currently selected. |
boolean |
isDirty()
Checks if is dirty. |
void |
refresh()
Refresh. |
void |
refreshPalette()
Refreshes the editor's palette. |
void |
refreshRenderingDecorators(PictogramElement pe)
Refreshes all rendering decorators for the given pictogram element. |
void |
refreshTitle()
Refreshes the title text of this part. |
void |
refreshTitleToolTip()
Refreshes the title tool tip text of this part. |
void |
selectPictogramElements(PictogramElement[] pictogramElements)
Select all the given pictogram elements in the editor. |
void |
setPictogramElementForSelection(PictogramElement pictogramElement)
Sets the pictogram element which should be selected after the editor refresh. |
void |
setPictogramElementsForSelection(PictogramElement[] pictogramElements)
Sets the pictogram elements which should be selected after the editor refresh. |
Method Detail |
---|
void selectPictogramElements(PictogramElement[] pictogramElements)
pictogramElements
- the pictogram elementsPictogramElement[] getSelectedPictogramElements()
void setPictogramElementForSelection(PictogramElement pictogramElement)
pictogramElement
- the pictogram elementvoid setPictogramElementsForSelection(PictogramElement[] pictogramElements)
pictogramElements
- the pictogram elementTransactionalEditingDomain getEditingDomain()
ResourceSet getResourceSet()
IDiagramTypeProvider getDiagramTypeProvider()
void refresh()
boolean isDirty()
void refreshTitle()
void refreshTitleToolTip()
void refreshRenderingDecorators(PictogramElement pe)
pe
- pictogram elementvoid refreshPalette()
java.lang.Object executeFeature(IFeature feature, IContext context)
feature
- The feature to executecontext
- The context object to use with the feature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |