Class AbstractDtImportWizard
- java.lang.Object
-
- org.eclipse.jface.wizard.Wizard
-
- com._1c.g5.v8.dt.import_.ui.wizards.AbstractDtImportWizard
-
- All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider
,org.eclipse.jface.wizard.IWizard
,org.eclipse.ui.IImportWizard
,org.eclipse.ui.IWorkbenchWizard
public abstract class AbstractDtImportWizard extends org.eclipse.jface.wizard.Wizard implements org.eclipse.ui.IImportWizard
An abstract base implementation of one page 1C:Enterprise Development Tools import wizard.Subclasses must overide
getImportWizardPage()
method for determine import wizard main page.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDtImportWizard()
Default constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addPages()
protected abstract IImportWizardPage
getImportWizardPage()
Get instance of wizard main pageprotected IV8Project
getV8ProjectBySelection(IStructuredSelection selection)
Try to determine currentIV8Project
by given selection objectboolean
performFinish()
-
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
-
-
-
-
Method Detail
-
addPages
public final void addPages()
- Specified by:
addPages
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
addPages
in classorg.eclipse.jface.wizard.Wizard
-
performFinish
public boolean performFinish()
- Specified by:
performFinish
in interfaceorg.eclipse.jface.wizard.IWizard
- Specified by:
performFinish
in classorg.eclipse.jface.wizard.Wizard
-
getImportWizardPage
protected abstract IImportWizardPage getImportWizardPage()
Get instance of wizard main page- Returns:
- instance of
IImportWizardPage
, cannot benull
-
getV8ProjectBySelection
protected IV8Project getV8ProjectBySelection(IStructuredSelection selection)
Try to determine currentIV8Project
by given selection objectIf given selection contain many elements, this method return the first successfully received project
- Parameters:
selection
- the current selection object for determine current project.- Returns:
- current
IV8Project
ornull
if no projects can be determined by specified selection
-
-