public abstract class AbstractWizardCommand
extends org.eclipse.core.commands.AbstractHandler
Wizard
created by the createWizard()
abstract method.
TODO : Consider remerging abstract handler with contest selection handler.Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
JOB_NAME
Name of the created job.
|
Constructor and Description |
---|
AbstractWizardCommand() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Optional<org.eclipse.jface.wizard.IWizard> |
createWizard()
Creates and returns the wizard instance this handler should run.
|
java.lang.Object |
execute(org.eclipse.core.commands.ExecutionEvent event) |
private org.eclipse.core.runtime.IStatus |
onLoggedSession(org.eclipse.core.runtime.IProgressMonitor monitor) |
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
private static final java.lang.String JOB_NAME
public final java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
org.eclipse.core.commands.ExecutionException
private final org.eclipse.core.runtime.IStatus onLoggedSession(org.eclipse.core.runtime.IProgressMonitor monitor)
monitor
- protected abstract java.util.Optional<org.eclipse.jface.wizard.IWizard> createWizard()