Package org.eclipse.ui.cheatsheets
Interface ICheatSheetEvent
public interface ICheatSheetEvent
Event in the life cycle of a cheat sheet.
 
Events over the life time of a running cheat sheet follow this pattern:
 opened { started | restored } { restarted | completed }* closed
 - Since:
- 3.0
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intEvent type constant (value 1) indicating that the cheat sheet was closed.static final intEvent type constant (value 4) indicating that the cheat sheet has been completed.static final intEvent type constant (value 0) indicating that the cheat sheet was opened.static final intEvent type constant (value 3) indicating that the cheat sheet was restarted.static final intEvent type constant (value 5) indicating that the cheat sheet has been restored.static final intEvent type constant (value 2) indicating that the cheat sheet was started.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the id of the cheat sheet that generated this event.Returns the cheat sheet manager responsible for executing the cheat sheet.intReturns the type of this cheat sheet event.
- 
Field Details- 
CHEATSHEET_OPENEDstatic final int CHEATSHEET_OPENEDEvent type constant (value 0) indicating that the cheat sheet was opened. This is the first event in the life of a running cheat sheet.- See Also:
 
- 
CHEATSHEET_CLOSEDstatic final int CHEATSHEET_CLOSEDEvent type constant (value 1) indicating that the cheat sheet was closed. This is the last event in the life of a running cheat sheet.- See Also:
 
- 
CHEATSHEET_STARTEDstatic final int CHEATSHEET_STARTEDEvent type constant (value 2) indicating that the cheat sheet was started.- See Also:
 
- 
CHEATSHEET_RESTARTEDstatic final int CHEATSHEET_RESTARTEDEvent type constant (value 3) indicating that the cheat sheet was restarted.- See Also:
 
- 
CHEATSHEET_COMPLETEDstatic final int CHEATSHEET_COMPLETEDEvent type constant (value 4) indicating that the cheat sheet has been completed.- See Also:
 
- 
CHEATSHEET_RESTOREDstatic final int CHEATSHEET_RESTOREDEvent type constant (value 5) indicating that the cheat sheet has been restored.- See Also:
 
 
- 
- 
Method Details- 
getEventTypeint getEventType()Returns the type of this cheat sheet event.- Returns:
- the event type code; one of the event type constants declared on this class
 
- 
getCheatSheetIDString getCheatSheetID()Returns the id of the cheat sheet that generated this event.- Returns:
- the cheat sheet id
 
- 
getCheatSheetManagerICheatSheetManager getCheatSheetManager()Returns the cheat sheet manager responsible for executing the cheat sheet.- Returns:
- the cheat sheet manager
 
 
-