|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Activator
A safe runnable.
Method Summary | |
---|---|
void |
activate(EditToolHandler handler)
The action to be performed by this activator when activating. |
void |
deactivate(EditToolHandler handler)
The action to be performed by this activator when deactivating. |
void |
handleActivateError(EditToolHandler handler,
java.lang.Throwable error)
This method is called if an exception occurs during the execution of the activate method. |
void |
handleDeactivateError(EditToolHandler handler,
java.lang.Throwable error)
This method is called if an exception occurs during the execution of the deactivate method. |
Method Detail |
---|
void activate(EditToolHandler handler)
handler
- void deactivate(EditToolHandler handler)
handler
- void handleActivateError(EditToolHandler handler, java.lang.Throwable error)
This method should
error
- Error that occurredactivating
- Indicates whether activator is being activated.void handleDeactivateError(EditToolHandler handler, java.lang.Throwable error)
This method should
error
- Error that occurredactivating
- Indicates whether activator is being activated.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |