Package com._1c.g5.v8.dt.md.ui.wizards
Class AbstractProjectWizard.WizardModel<M extends MdObject>
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<M>
- All Implemented Interfaces:
ICompoundModel,IModel,IValidable
- Direct Known Subclasses:
AbstractDependentProjectWizard.DependentWizardModel,ConfigurationWizardModel
- Enclosing class:
- AbstractProjectWizard<M extends MdObject,
T extends AbstractProjectWizard.WizardModel<M>>
Dependent wizard model instance.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWizardModel(AbstractProjectWizard<M, ?> wizard) Constructor ofAbstractProjectWizard.WizardModel. -
Method Summary
Modifier and TypeMethodDescriptionvoidcommit()Commits the changes to the data model.protected voidDocommit()with specified language code for synonym.protected StringGenerate project name by object name.protected StringReturns the previous name value.protected org.eclipse.core.databinding.validation.IValidatorReturns project name validator in the wizard.Methods inherited from class com._1c.g5.aef2.models.CompoundModel
addModel, dispose, getChange, getModels, isOnline, setComponent, validateMethods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, createWorkingCopy, discard, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, notifyModelChanged, notifyModelCommitted, removeModelListener, setOnline, toStringMethods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, createWorkingCopy, discard, getComponent, removeModelListenerMethods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate
-
Field Details
-
wizard
Parent wizard. -
name
Field values: -
synonym
-
comment
-
projectName
-
useDefaultLocation
-
projectLocation
-
version
-
-
Constructor Details
-
WizardModel
Constructor ofAbstractProjectWizard.WizardModel.
-
-
Method Details
-
commit
public void commit()Description copied from interface:IModelCommits the changes to the data model. -
getOldName
Returns the previous name value.- Returns:
- the oldName
-
commit
Docommit()with specified language code for synonym.- Parameters:
language- code, cannot benull
-
getProjectNameValidator
protected org.eclipse.core.databinding.validation.IValidator getProjectNameValidator()Returns project name validator in the wizard.- Returns:
- project name validator in the wizard, never
null
-
generateProjectName
Generate project name by object name.- Returns:
- project name, never
null
-