Interface IInfobaseWizard

  • All Superinterfaces:
    org.eclipse.ui.INewWizard, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.IWorkbenchWizard

    public interface IInfobaseWizard
    extends org.eclipse.ui.INewWizard
    Wizard for creating or adding existing InfobaseReference or Group.

    Wizard can be accessed through IWizardRegistry:

     IWizardRegistry newWizardRegistry = PlatformUI.getWorkbench().getNewWizardRegistry();
     IWizardDescriptor wizardDescriptor =
         newWizardRegistry.findWizard(IPlatformServicesUIConstants.WIZARD_INFOBASE);
     IInfobaseWizard wizard = (IInfobaseWizard) wizardDescriptor.createWizard();
     
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      IResolvableRuntimeInstallation getResultRuntimeInstallation()
      Returns result of the wizard: 1C:Enterprise Runtime, used for infobase creation.
      Section getResultSection()
      Returns result of the wizard: adding or editing InfobaseReference or Group.
      void setInfobaseReference​(InfobaseReference infobase)
      Set infobase referece to create infobase by existing infobase reference.
      void setName​(String name)
      Set name of creating or editing infobase.
      void setParentSubsections​(List<Section> parentSubsections)
      Set list of parent subsections to add created (or added) infobase or group.
      void setRootSections​(List<Section> rootSections)
      Set infobases root sections list, cannot be null
      • Methods inherited from interface org.eclipse.jface.wizard.IWizard

        addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, performFinish, setContainer
      • Methods inherited from interface org.eclipse.ui.IWorkbenchWizard

        init
    • Method Detail

      • getResultSection

        Section getResultSection()
        Returns result of the wizard: adding or editing InfobaseReference or Group.

        Method is intended to be invoked after Window.open() invocation.

        Returns:
        the result adding or editing InfobaseReference or Group, never null
      • getResultRuntimeInstallation

        IResolvableRuntimeInstallation getResultRuntimeInstallation()
        Returns result of the wizard: 1C:Enterprise Runtime, used for infobase creation. Can return null, if wizard was used to create group or just add existing infobase.

        Method is intended to be invoked after Window.open() invocation.

        Returns:
        1C:Enterprise Runtime, used for infobase creation, or null if was not used
      • setName

        void setName​(String name)
        Set name of creating or editing infobase.
        Parameters:
        name - name of creating infobase, cannot be null
      • setInfobaseReference

        void setInfobaseReference​(InfobaseReference infobase)
        Set infobase referece to create infobase by existing infobase reference.
        Parameters:
        infobase - an infobase referece to create infobase by existing infobase reference, cannot be null
      • setRootSections

        void setRootSections​(List<Section> rootSections)
        Set infobases root sections list, cannot be null
        Parameters:
        rootSections - infobases root sections list, cannot be null
      • setParentSubsections

        void setParentSubsections​(List<Section> parentSubsections)
        Set list of parent subsections to add created (or added) infobase or group.
        Parameters:
        parentSubsections - list of parent subsections to add created (or added) infobase or group, cannot be null