Class TypeDescriptionModel<M extends org.eclipse.emf.ecore.EObject>
- 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.aef.models.type.AbstractTypeDescriptionModel
-
- com._1c.g5.v8.dt.md.ui.wizards.aef.models.TypeDescriptionModel<M>
-
- All Implemented Interfaces:
ICompoundModel
,IEditableModel
,IModel
,IValidable
,ITypeDescriptionModel
- Direct Known Subclasses:
PredefinedItemWizardTypeDescriptionModel
public class TypeDescriptionModel<M extends org.eclipse.emf.ecore.EObject> extends AbstractTypeDescriptionModel
AbstractTypeDescriptionModel
implementation for wizards. It is based onPojoValue
due to the model is attached to another resource set for correct type resolving.
-
-
Constructor Summary
Constructors Constructor Description TypeDescriptionModel(IDtNewWizardContext<M> context, org.eclipse.emf.ecore.EReference reference)
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.protected IValue<TypeDescription>
createTypeDescriptionModel(org.eclipse.emf.ecore.EObject parent, org.eclipse.emf.ecore.EReference feature)
Creates a newIValue
model ofTypeDescription
type.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.aef.models.type.AbstractTypeDescriptionModel
buildTypeDescriptionValue, createDialogModel, dispose, getBinaryFixed, getBinaryLength, getBinaryLengthMaximum, getBinaryLengthMinimum, getContextObject, getDateFractions, getFeature, getMultiItems, getNumberNonNegative, getNumberPrecision, getNumberPrecisionMaximum, getNumberPrecisionMinimum, getNumberScale, getNumberScaleMaximum, getNumberScaleMinimum, getParent, getParentContext, getScriptVariantProvider, getSingleTypeItem, getStringFixed, getStringLength, getStringLengthMaximum, getStringLengthMinimum, getTypeDescription, getTypeDescriptionInfo, getTypeInfo, getTypes, getV8project, isBinaryFixedEnabled, isDateFractionsEnabled, isEditable, isNumberPositiveEnabled, isNumberPositiveOnly, isStringFixedEnabled, refresh, resolveItem, setComponent, setEditable, setTypeFilter
-
Methods inherited from class com._1c.g5.aef2.models.CompoundModel
addModel, getChange, getModels, isOnline, 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, getChange, getComponent, isOnline, removeModelListener
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Constructor Detail
-
TypeDescriptionModel
public TypeDescriptionModel(IDtNewWizardContext<M> context, org.eclipse.emf.ecore.EReference reference)
Creates a new instance.- Parameters:
context
- the wizard contextproject
- the wizard context project, cannot benull
reference
- the reference
-
-
Method Detail
-
createTypeDescriptionModel
protected IValue<TypeDescription> createTypeDescriptionModel(org.eclipse.emf.ecore.EObject parent, org.eclipse.emf.ecore.EReference feature)
Description copied from class:AbstractTypeDescriptionModel
Creates a newIValue
model ofTypeDescription
type.- Specified by:
createTypeDescriptionModel
in classAbstractTypeDescriptionModel
- Parameters:
parent
- the parent objectfeature
- the feature
-
commit
public void commit()
Description copied from interface:IModel
Commits the changes to the data model.- Specified by:
commit
in interfaceIModel
- Overrides:
commit
in classAbstractTypeDescriptionModel
-
-