Package com.iizigo.handler
Class ConfigureModuleProject
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.iizigo.handler.ConfigureModuleProject
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
public class ConfigureModuleProject extends org.eclipse.core.commands.AbstractHandler
Configures the project to an IIZI Module project.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionexecute
(org.eclipse.core.commands.ExecutionEvent event) Executes with the map of parameter values by name.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
Constructor Details
ConfigureModuleProject
public ConfigureModuleProject()Constructor.
Method Details
setEnabled
Called by the framework to allow the handler to update its enabled state by extracting the same information available at execution time.- Specified by:
setEnabled
in interfaceorg.eclipse.core.commands.IHandler2
- Overrides:
setEnabled
in classorg.eclipse.core.commands.AbstractHandler
- Parameters:
evaluationContext
- The application context. May benull
.
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException Executes with the map of parameter values by name.- Parameters:
event
- An event containing all the information about the current state of the application; must not benull
.- Returns:
- the result of the execution. Reserved for future use, must be
null
. - Throws:
org.eclipse.core.commands.ExecutionException
- If an exception occurred during execution.