Class AbstractRuntimeInstallationWizard
- java.lang.Object
-
- org.eclipse.jface.wizard.Wizard
-
- com._1c.g5.v8.dt.platform.services.ui.runtimes.AbstractRuntimeInstallationWizard
-
- All Implemented Interfaces:
IRuntimeInstallationWizard
,org.eclipse.jface.window.IShellProvider
,org.eclipse.jface.wizard.IWizard
,org.eclipse.ui.INewWizard
,org.eclipse.ui.IWorkbenchWizard
public class AbstractRuntimeInstallationWizard extends org.eclipse.jface.wizard.Wizard implements IRuntimeInstallationWizard
AbstractIRuntimeInstallationWizard
implementation.
-
-
Constructor Summary
Constructors Constructor Description AbstractRuntimeInstallationWizard(IRuntimeInstallationManager runtimeInstallationManager, String runtimeTypeId)
Constructor ofRuntimeInstallationWizard
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPages()
protected org.eclipse.jface.wizard.IWizardPage
createWizardPage(RuntimeInstallation installation, Collection<String> existedNames)
Creates the wizard page.RuntimeInstallation
getResult()
Get result adding/editing 1C:Enterprise Runtime installation.void
init(org.eclipse.ui.IWorkbench workbench, IStructuredSelection selection)
boolean
performFinish()
void
setExistedNames(Collection<String> existedNames)
Set collection of already existed names, wizard cannot create web server with any of it.void
setInstallation(RuntimeInstallation installation)
Set 1C:Enterprise Runtime installation to edit.void
setType(com._1c.g5.v8.dt.platform.services.ui.runtimes.AbstractRuntimeInstallationWizard.Type type)
Set type of wizard:ADD
orEDIT
-
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
-
-
-
-
Constructor Detail
-
AbstractRuntimeInstallationWizard
public AbstractRuntimeInstallationWizard(IRuntimeInstallationManager runtimeInstallationManager, String runtimeTypeId)
Constructor ofRuntimeInstallationWizard
.- Parameters:
runtimeInstallationManager
- 1C:Enterprise Runtime installation manager, that manages this page type of 1C:Enterprise Runtime installations, cannot benull
runtimeTypeId
- the 1C:Enterprise Runtime type identifier, cannot benull
-
-
Method Detail
-
performFinish
public boolean performFinish()
- Specified by:
performFinish
in interfaceorg.eclipse.jface.wizard.IWizard
- Specified by:
performFinish
in classorg.eclipse.jface.wizard.Wizard
-
addPages
public void addPages()
- Specified by:
addPages
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
addPages
in classorg.eclipse.jface.wizard.Wizard
-
init
public void init(org.eclipse.ui.IWorkbench workbench, IStructuredSelection selection)
- Specified by:
init
in interfaceorg.eclipse.ui.IWorkbenchWizard
-
getResult
public RuntimeInstallation getResult()
Description copied from interface:IRuntimeInstallationWizard
Get result adding/editing 1C:Enterprise Runtime installation.- Specified by:
getResult
in interfaceIRuntimeInstallationWizard
- Returns:
- result adding/editing 1C:Enterprise Runtime installation,
never
null
-
setExistedNames
public void setExistedNames(Collection<String> existedNames)
Description copied from interface:IRuntimeInstallationWizard
Set collection of already existed names, wizard cannot create web server with any of it.- Specified by:
setExistedNames
in interfaceIRuntimeInstallationWizard
- Parameters:
existedNames
- collection of already existed names, wizard cannot create web server with any of it, cannot benull
-
setInstallation
public void setInstallation(RuntimeInstallation installation)
Set 1C:Enterprise Runtime installation to edit.- Parameters:
installation
- 1C:Enterprise Runtime installation to edit, cannot benull
-
setType
public void setType(com._1c.g5.v8.dt.platform.services.ui.runtimes.AbstractRuntimeInstallationWizard.Type type)
Set type of wizard:ADD
orEDIT
- Parameters:
type
- type of wizard to set, cannot benull
-
createWizardPage
protected org.eclipse.jface.wizard.IWizardPage createWizardPage(RuntimeInstallation installation, Collection<String> existedNames)
Creates the wizard page.- Parameters:
installation
- the 1C:Enterprise Runtime installation, cannot benull
existedNames
- collection of already existed names, wizard cannot create installation with any of it, cannot benull
- Returns:
- created wizard page, never
null
-
-