Class AbstractRuntimeInstallationWizard

    • Field Summary

      • Fields inherited from class org.eclipse.jface.wizard.Wizard

        DEFAULT_IMAGE
    • 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 or EDIT
      • 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 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 of RuntimeInstallationWizard.
        Parameters:
        runtimeInstallationManager - 1C:Enterprise Runtime installation manager, that manages this page type of 1C:Enterprise Runtime installations, cannot be null
        runtimeTypeId - the 1C:Enterprise Runtime type identifier, cannot be null
    • Method Detail

      • performFinish

        public boolean performFinish()
        Specified by:
        performFinish in interface org.eclipse.jface.wizard.IWizard
        Specified by:
        performFinish in class org.eclipse.jface.wizard.Wizard
      • addPages

        public void addPages()
        Specified by:
        addPages in interface org.eclipse.jface.wizard.IWizard
        Overrides:
        addPages in class org.eclipse.jface.wizard.Wizard
      • init

        public void init​(org.eclipse.ui.IWorkbench workbench,
                         IStructuredSelection selection)
        Specified by:
        init in interface org.eclipse.ui.IWorkbenchWizard
      • 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 interface IRuntimeInstallationWizard
        Parameters:
        existedNames - collection of already existed names, wizard cannot create web server with any of it, cannot be null
      • setInstallation

        public void setInstallation​(RuntimeInstallation installation)
        Set 1C:Enterprise Runtime installation to edit.
        Parameters:
        installation - 1C:Enterprise Runtime installation to edit, cannot be null
      • setType

        public void setType​(com._1c.g5.v8.dt.platform.services.ui.runtimes.AbstractRuntimeInstallationWizard.Type type)
        Set type of wizard: ADD or EDIT
        Parameters:
        type - type of wizard to set, cannot be null
      • 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 be null
        existedNames - collection of already existed names, wizard cannot create installation with any of it, cannot be null
        Returns:
        created wizard page, never null