|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDiagramEditorConnector
Interface for a connector class mediating between KIML and an unknown editor. Only usable for editors that have a nested editor which is known by KIML, e.g. a GMF editor.
Method Summary | |
---|---|
void |
addChangeListener(IEditorPart editorPart,
IEditorChangeListener listener)
Register a listener for change of the active editor. |
IEditorPart |
getActiveEditor(IEditorPart editorPart)
Get the currently active nested editor. |
void |
removeChangeListener(IEditorChangeListener listener)
Remove a change listener from all editors for which it has registered. |
boolean |
supports(IEditorPart editorPart)
Check whether this connector class can be used for the given editor. |
Method Detail |
---|
IEditorPart getActiveEditor(IEditorPart editorPart)
editorPart
- editor which contains the known nested editor
boolean supports(IEditorPart editorPart)
editorPart
- editor which might be connected with this class
true
if this class can handle the editorvoid addChangeListener(IEditorPart editorPart, IEditorChangeListener listener)
editorPart
- editor to register tolistener
- listener to registervoid removeChangeListener(IEditorChangeListener listener)
listener
- listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |