Package com._1c.g5.aef2.models
Class CompoundModel
java.lang.Object
com._1c.g5.aef2.validators.Validable
com._1c.g5.aef2.models.Model
com._1c.g5.aef2.models.CompoundModel
- All Implemented Interfaces:
ICompoundModel
,IModel
,IValidable
- Direct Known Subclasses:
AbstractDtDynamicTreeModel
,AbstractProjectWizard.WizardModel
,AbstractTypeDescriptionModel
,ChangeDistributionSettingsDialogModel
,ChangeUserModeDialogModel
,CharacteristicsDescriptionModel
,ChartColorPaletteDescriptionDetailedModel
,ChartScaleDetailedModel
,CommonPictureContentEditModel
,LabelAreaDetailedModel
,MdObjectModel
,MergeSupportRuleSettingsDialogModel
,PredefinedAccountModel
,PredefinedCalculationTypeModel
,PredefinedItemModel
,SupportRuleSettingsDialogModel
Base class for the compound models.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <M extends IModel>
MaddModel
(M model) Adds subordinate model.void
dispose()
Disposes this model.boolean
isOnline()
void
setComponent
(IComponent<?> component) Associate this model with the component.org.eclipse.core.runtime.IStatus
validate()
Validates this object state.Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, 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, commit, createWorkingCopy, discard, getComponent, removeModelListener
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate
-
Constructor Details
-
CompoundModel
public CompoundModel()
-
-
Method Details
-
getChange
-
validate
public org.eclipse.core.runtime.IStatus validate()Description copied from interface:IValidable
Validates this object state.- Specified by:
validate
in interfaceIValidable
- Overrides:
validate
in classValidable
- Returns:
- the validation status.
-
setComponent
Description copied from interface:IModel
Associate this model with the component.- Specified by:
setComponent
in interfaceIModel
- Overrides:
setComponent
in classModel
- Parameters:
component
- the component to associate with.
-
getModels
- Specified by:
getModels
in interfaceICompoundModel
- Returns:
- the models this compound model contains.
-
dispose
public void dispose()Description copied from interface:IModel
Disposes this model. -
isOnline
public boolean isOnline() -
addModel
Adds subordinate model.- Parameters:
model
- the model to add.
-