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
ConstructorsModifierConstructorDescriptionprotected
WizardModel
(AbstractProjectWizard<M, ?> wizard) Constructor ofAbstractProjectWizard.WizardModel
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
commit()
Commits the changes to the data model.protected void
Docommit()
with specified language code for synonym.protected String
Generate project name by object name.protected String
Returns the previous name value.protected org.eclipse.core.databinding.validation.IValidator
Returns project name validator in the wizard.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
-
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:IModel
Commits 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
-