public interface ISharedObject
extends org.eclipse.core.runtime.IAdaptable
ISharedObjectContainer
Modifier and Type | Method and Description |
---|---|
void |
dispose(ID containerID)
Method called by the ISharedObjectContainer upon ISharedObject
destruction.
|
void |
handleEvent(Event event)
Handle Event passed to this IEventHandler.
|
void |
handleEvents(Event[] events)
Handle Events passed to this IEventHandler.
|
void |
init(ISharedObjectConfig initData)
Initialize this ISharedObject.
|
void init(ISharedObjectConfig initData) throws SharedObjectInitException
initData
- the initialization data passed by the ISharedObjectContainer
upon initializationSharedObjectInitException
- thrown by ISharedObject to halt initialization.
ISharedObjectContainers must respond to such an exception
by halting the addition of the ISharedObject instance and
treating it as not in the container.void handleEvent(Event event)
event
- the Event for the implementer to handlevoid handleEvents(Event[] events)
events
- the Events [] for the implementer to handlevoid dispose(ID containerID)
containerID
- the ID of the container that is disposing this ISharedObject