public class ExportValidationResultsFileWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.INewWizard
Constructor and Description |
---|
ExportValidationResultsFileWizard(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection initialSelection,
RootNode rootNode,
IValidityExporter exporter)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
export(org.eclipse.emf.ecore.resource.Resource zzvalidatedResource,
org.eclipse.core.runtime.IPath savePath) |
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection) |
boolean |
performFinish()
Creates a new Exported validation results file resource in the selected container and
with the selected name.
|
addPage, addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
public ExportValidationResultsFileWizard(@NonNull org.eclipse.ui.IWorkbench workbench, @Nullable org.eclipse.jface.viewers.IStructuredSelection initialSelection, @NonNull RootNode rootNode, @NonNull IValidityExporter exporter)
public void export(@Nullable org.eclipse.emf.ecore.resource.Resource zzvalidatedResource, @NonNull org.eclipse.core.runtime.IPath savePath)
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
init
in interface org.eclipse.ui.IWorkbenchWizard
public boolean performFinish()
In normal usage, this method is invoked after the user has pressed Finish on the wizard; the enablement of the Finish button implies that all controls on on this page currently contain valid values.
This method should be called within a workspace modify operation since it creates resources.
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard