public abstract class OpenWizardActionDelegate
extends ActionDelegate
org.eclipse.jface.wizard.IWizard
with an existing file.
If this action is being contributed to an editor, we'll use its input as the file. Otherwise, we'll
try to obtain it from the selection.Modifier and Type | Field and Description |
---|---|
protected IFile |
file |
protected boolean |
fixedFile |
Constructor and Description |
---|
OpenWizardActionDelegate() |
OpenWizardActionDelegate(IEditorPart editorPart) |
Modifier and Type | Method and Description |
---|---|
protected abstract IWizard |
createWizard(IWorkbench workbench,
Shell shell,
IFile file) |
void |
dispose() |
void |
run(IAction action) |
protected void |
run(IWorkbench workbench,
Shell shell,
IFile file) |
void |
selectionChanged(IAction action,
ISelection selection) |
void |
setActiveEditor(IAction action,
IEditorPart targetEditor)
This is only called when being used as an editor action delegate.
|
public OpenWizardActionDelegate()
public OpenWizardActionDelegate(IEditorPart editorPart)
public void dispose()
public void selectionChanged(IAction action, ISelection selection)
public void setActiveEditor(IAction action, IEditorPart targetEditor)
public void run(IAction action)
protected void run(IWorkbench workbench, Shell shell, IFile file)
protected abstract IWizard createWizard(IWorkbench workbench, Shell shell, IFile file)