|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDiagramEditor
The Interface IDiagramEditor.
Method Summary | |
---|---|
ILocation |
getCurrentMouseLocation()
Gets the mouse location. |
IDimension |
getCurrentSize()
Gets the current size. |
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 |
refresh(PictogramElement pe)
In opposite to refresh() where the diagram will globally
refreshed this method only refreshes the graphical representation for the
given pictogramm element. |
void |
refreshPalette()
Refreshes the editor's palette. |
void |
refreshRenderingDecorators(PictogramElement pe)
Refreshes all rendering decorators for the given pictogram element. |
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()
void refresh(PictogramElement pe)
refresh()
where the diagram will globally
refreshed this method only refreshes the graphical representation for the
given pictogramm element.
pe
- an active pictogram elementIDimension getCurrentSize()
boolean isDirty()
void refreshTitleToolTip()
void refreshRenderingDecorators(PictogramElement pe)
pe
- pictogram elementvoid refreshPalette()
ILocation getCurrentMouseLocation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |