Package com.iizigo.editor
Interface IPartExtensionIZ
- All Superinterfaces:
IDisposedPart
- All Known Implementing Classes:
PartExtensionIZ
Workbench part required to be implemented for parts by actions, and other items. The PropEditorPart implements it.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoid
addPartListener
(IPartListener listener) Adds a part listener.Gets the action bars (different for View and Editor).Gets the part listeners.Gets the workbench part.boolean
Checks if the part is disposed of.void
removePartListener
(IPartListener listener) Removes a part listener.
Method Details
addPartListener
Adds a part listener. Part that added as listeners in this method are called with the dispose method if they are instances of:- RetargetAction
removePartListener
Removes a part listener.getPartListeners
IPartListener[] getPartListeners()Gets the part listeners. The return value is cached and very efficient in terms of memory allocation.getWorkbenchPart
IWorkbenchPart getWorkbenchPart()Gets the workbench part.getActionBars
IActionBars getActionBars()Gets the action bars (different for View and Editor).isDisposed
boolean isDisposed()Checks if the part is disposed of.- Specified by:
isDisposed
in interfaceIDisposedPart
- Returns:
- true if disposed of, false otherwise.