import eu.etaxonomy.cdm.io.common.IIoConfigurator;
/**
- * <p>Abstract AbstractImportWizard class.</p>
- *
* @author n.hoffmann
* @created 24.06.2009
* @version 1.0
private IStructuredSelection selection;
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.wizard.Wizard#addPages()
- */
/** {@inheritDoc} */
@Override
public void addPages() {
}
- /* (non-Javadoc)
- * @see org.eclipse.jface.wizard.Wizard#setContainer(org.eclipse.jface.wizard.IWizardContainer)
- */
@Override
public void setContainer(IWizardContainer wizardContainer) {
if(existUnsavedEditors()){
}
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
- */
@Override
public void init(IWorkbench workbench, IStructuredSelection selection) {
this.setWorkbench(workbench);
return false;
}
- /* (non-Javadoc)
- * @see org.eclipse.jface.wizard.Wizard#canFinish()
- */
@Override
public boolean canFinish() {
return !existUnsavedEditors() && super.canFinish();
}
- /**
- * <p>getConfigurator</p>
- *
- * @return a CONFIG object.
- */
public abstract CONFIG getConfigurator();
- /**
- * @param selection the selection to set
- */
public void setSelection(IStructuredSelection selection) {
this.selection = selection;
}
- /**
- * @return the selection
- */
public IStructuredSelection getSelection() {
return selection;
}
- /**
- * @param workbench the workbench to set
- */
public void setWorkbench(IWorkbench workbench) {
this.workbench = workbench;
}
- /**
- * @return the workbench
- */
public IWorkbench getWorkbench() {
return workbench;
}