|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITrigger
A trigger listens to editor events and informs the view management about these.
Method Summary | |
---|---|
boolean |
isActive()
Checks whether the trigger is active or not. |
void |
register()
Called when the trigger is activated, registers itself where necessary. |
void |
setActive(boolean a)
Called by the view management to register or unregister this trigger. |
void |
trigger(ITriggerState triggerState)
Inform the view management about an event. |
void |
unregister()
Called when the trigger is deactivated, unregisters itself where necessary. |
Method Detail |
---|
void trigger(ITriggerState triggerState)
triggerState
- new instance of the corresponding trigger state classvoid setActive(boolean a)
a
- true if registeringboolean isActive()
void register()
void unregister()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |