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 existingInfobaseReference
orGroup
.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 editingInfobaseReference
orGroup
.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 benull
-
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
-
-
-
-
Method Detail
-
getResultSection
Section getResultSection()
Returns result of the wizard: adding or editingInfobaseReference
orGroup
.Method is intended to be invoked after
Window.open()
invocation.- Returns:
- the result adding or editing
InfobaseReference
orGroup
, nevernull
-
getResultRuntimeInstallation
IResolvableRuntimeInstallation getResultRuntimeInstallation()
Returns result of the wizard: 1C:Enterprise Runtime, used for infobase creation. Can returnnull
, 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 benull
-
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 benull
-
setRootSections
void setRootSections(List<Section> rootSections)
Set infobases root sections list, cannot benull
- Parameters:
rootSections
- infobases root sections list, cannot benull
-
-