Package com.iizigo.handler
Class SelectAll
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.iizigo.handler.SelectAll
The Select All handler.
- Author:
- Christopher Mindus
- Field SummaryFields
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- static CommandContributionItem- create- (IServiceLocator serviceLocator, ImageRegistry ir) Creates the Command Contribution item.- execute- (ExecutionEvent event) Performs the operation.- static SelectAllGets the instance of the handler.- void- setEnabled- (Object evaluationContext) Called by the framework to allow the handler to update its enabled state by extracting the same information available at execution time.- Methods inherited from class org.eclipse.core.commands.AbstractHandler- addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled- Methods inherited from class org.eclipse.core.commands.common.EventManager- addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
- Field Details- IDThe ID, same as class name.
 
- Constructor Details- SelectAllpublic SelectAll()Constructor.
 
- Method Details- getInstanceGets the instance of the handler.
- createCreates the Command Contribution item.
- setEnabledCalled by the framework to allow the handler to update its enabled state by extracting the same information available at execution time.- Specified by:
- setEnabledin interface- IHandler2
- Overrides:
- setEnabledin class- AbstractHandler
- Parameters:
- evaluationContext- The application context. May be- null.
 
- executePerforms the operation.- Throws:
- ExecutionException