Class ConfigurationWizardModel
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.models.CompoundModel
-
- com._1c.g5.v8.dt.md.ui.wizards.AbstractProjectWizard.WizardModel<Configuration>
-
- com._1c.g5.v8.dt.md.ui.wizards.aef.models.ConfigurationWizardModel
-
- All Implemented Interfaces:
ICompoundModel
,IModel
,IValidable
public class ConfigurationWizardModel extends AbstractProjectWizard.WizardModel<Configuration>
The new configuration wizard model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfigurationWizardModel.LibrarySource
Describes the library source: file or repository.class
ConfigurationWizardModel.LibraryUsageSettings
The library usage settings.
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.md.ui.wizards.AbstractProjectWizard.WizardModel
comment, name, projectLocation, projectName, synonym, useDefaultLocation, version, wizard
-
-
Constructor Summary
Constructors Constructor Description ConfigurationWizardModel(ConfigurationWizard wizard)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit()
Commits the changes to the data model.IValue<LibraryDescriptor>
getLibraryDescriptorValue()
Returns the 'Library descriptor' value.IValue<Path>
getLibraryPathValue()
Returns the 'Library path' value.IValue<ConfigurationWizardModel.LibrarySource>
getLibrarySourceValue()
Returns the 'Library source' value.IValue<Boolean>
getUseLibraryValue()
Returns the 'Use library' value.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.AbstractProjectWizard.WizardModel
commit, generateProjectName, getOldName, getProjectNameValidator
-
Methods inherited from class com._1c.g5.aef2.models.CompoundModel
addModel, dispose, getChange, getModels, isOnline, setComponent, validate
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, createWorkingCopy, discard, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, notifyModelChanged, notifyModelCommitted, removeModelListener, setOnline, toString
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, createWorkingCopy, discard, getComponent, removeModelListener
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate
-
-
-
-
Constructor Detail
-
ConfigurationWizardModel
public ConfigurationWizardModel(ConfigurationWizard wizard)
Creates a new instance.- Parameters:
wizard
- the new configuration wizard, cannot benull
-
-
Method Detail
-
getUseLibraryValue
public IValue<Boolean> getUseLibraryValue()
Returns the 'Use library' value.- Returns:
- the 'Use library' value, never
null
-
getLibrarySourceValue
public IValue<ConfigurationWizardModel.LibrarySource> getLibrarySourceValue()
Returns the 'Library source' value.- Returns:
- the 'Library source' value, never
null
-
getLibraryPathValue
public IValue<Path> getLibraryPathValue()
Returns the 'Library path' value.- Returns:
- the 'Library path' value, never
null
-
getLibraryDescriptorValue
public IValue<LibraryDescriptor> getLibraryDescriptorValue()
Returns the 'Library descriptor' value.- Returns:
- the 'Library descriptor' value, never
null
-
commit
public void commit()
Description copied from interface:IModel
Commits the changes to the data model.- Specified by:
commit
in interfaceIModel
- Overrides:
commit
in classAbstractProjectWizard.WizardModel<Configuration>
-
-