Package com._1c.g5.v8.dt.md.ui.wizards
Class ConfigurationPage
java.lang.Object
com._1c.g5.aef2.components.Component<M,P>
com._1c.g5.aef2.standard.components.StandardComponent<M,P>
com._1c.g5.aef2.standard.components.ContainerComponent<M,VoidParameterization>
com._1c.g5.v8.dt.md.ui.wizards.base.aef.NewWizardPageComponent<T>
com._1c.g5.v8.dt.md.ui.wizards.RootObjectPage<T,Configuration>
com._1c.g5.v8.dt.md.ui.wizards.library.AbstractLibraryBasedProjectPage<ConfigurationWizardModel>
com._1c.g5.v8.dt.md.ui.wizards.ConfigurationPage
- All Implemented Interfaces:
IComponent<ConfigurationWizardModel>,IEventChannel
The first page of the new configuration wizard.
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationPage(String title, String description, String helpId, IRuntimeVersionSupport runtimeVersionSupport, ILibraryRepository libraryRepository, ILibraryProjectManager libraryProjectManager) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<LibraryDescriptor>Gets all registered libraries which can be used for project creation.protected StringgetComboText(boolean useLibrary) Gets an text for combo text depending on library usage.protected StringGets id of library repository preference page.protected StringGets text for project creation type.protected org.eclipse.core.runtime.IStatusvalidateLibraryFile(Path libraryPath) Validates selected library file.Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.library.AbstractLibraryBasedProjectPage
attachToModel, detachFromModel, disposeComponents, doCreateComponents, getAvailableVersionsMethods inherited from class com._1c.g5.v8.dt.md.ui.wizards.RootObjectPage
createComponents, createCustomComponents, createCustomProjectComponents, createProjectComponents, getNameComponent, getVersionCombo, setDefaultFocusMethods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.NewWizardPageComponent
createCombo, createCombo, createContainerViewModel, createMultilanguage, createText, createText, disposeViewModels, field, getLayout, getPageViewModelMethods inherited from class com._1c.g5.aef2.standard.components.ContainerComponent
addComponent, button, button, checkBox, checkBox, combo, createViewModels, disposeChildren, field, field, getContainerViewModel, isEditable, label, label, refreshChildren, separator, spinner, text, updateViewModelsMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, setLayoutData, updateViewModelStatusMethods inherited from class com._1c.g5.aef2.components.Component
addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, beginExternalUpdate, checkComponents, checkViewModels, commit, dispose, endExternalUpdate, getComponents, getModel, getParameterization, getParent, getRunnableQueue, getScene, getServiceEventQualifiers, getViewModels, initializeComponent, isDisposed, isInExternalUpdate, queueAndWaitEvent, queueEvent, removeComponent, removeListener, removeViewModel, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene, subscribeOnEvents, subscribeOnEvents, unsubscribeOnEvents
-
Constructor Details
-
ConfigurationPage
public ConfigurationPage(String title, String description, String helpId, IRuntimeVersionSupport runtimeVersionSupport, ILibraryRepository libraryRepository, ILibraryProjectManager libraryProjectManager) Creates a new instance.- Parameters:
title- the page title, cannot benulldescription- the page description, cannot benullhelpId- the help context id to bind help to, cannot benullruntimeVersionSupport- the runtime version support, cannot benulllibraryRepository- the library repository, cannot benulllibraryProjectManager- the library project manager, cannot benull
-
-
Method Details
-
getComboText
Description copied from class:AbstractLibraryBasedProjectPageGets an text for combo text depending on library usage.- Specified by:
getComboTextin classAbstractLibraryBasedProjectPage<ConfigurationWizardModel>- Parameters:
useLibrary- the flag that shhows if the library should be used- Returns:
- a combo text, never
null
-
validateLibraryFile
Description copied from class:AbstractLibraryBasedProjectPageValidates selected library file.- Specified by:
validateLibraryFilein classAbstractLibraryBasedProjectPage<ConfigurationWizardModel>- Parameters:
libraryPath- the path to the selected library, cannot benull- Returns:
- a validation status, never
null
-
getAllRegisteredLibraries
Description copied from class:AbstractLibraryBasedProjectPageGets all registered libraries which can be used for project creation.- Specified by:
getAllRegisteredLibrariesin classAbstractLibraryBasedProjectPage<ConfigurationWizardModel>- Returns:
- registered libraries, never
null
-
getLibraryRepositoryPreferencePage
Description copied from class:AbstractLibraryBasedProjectPageGets id of library repository preference page.- Specified by:
getLibraryRepositoryPreferencePagein classAbstractLibraryBasedProjectPage<ConfigurationWizardModel>- Returns:
- preference page id, never
null
-
getTypeCreationText
Description copied from class:AbstractLibraryBasedProjectPageGets text for project creation type.- Specified by:
getTypeCreationTextin classAbstractLibraryBasedProjectPage<ConfigurationWizardModel>- Returns:
- creation type text, never
null
-