Package com._1c.g5.aef2.models
Class EditableModel
java.lang.Object
com._1c.g5.aef2.validators.Validable
com._1c.g5.aef2.models.Model
com._1c.g5.aef2.models.EditableModel
- All Implemented Interfaces:
IEditableModel,IModel,IValidable
- Direct Known Subclasses:
ApplicationEditorComponentModel,BmFormChoiceListGridModel,BmFormMobileCommandsSetGridModel,BmGanttChartBackgroundIntervalsModel,BmGanttChartSettingsModel,BmGanttChartTimeScaleLevelModel,ChartReferenceBandGridModel,ChartReferenceLineGridModel,CommandActionExtensionCollectionModel,CommonPictureContentGridModel,ConfigurationStandaloneContentExchangeSettingsDialogModel,DcsChartReferenceBandGridModel,DcsChartReferenceLineGridModel,EventHandlerCollectionModel,EventHandlerCollectionModel,GaugeChartQualityBandsGridModel,InfobaseAccessSettingsModel,ListModel,MapModel,NavigatorTreeDialogModel,NavigatorTreeModel,PlannerDimensionsModel,PredefinedCalculationTypeCalculationBaseModel,StandardObjectSwitchingSourceModel,TimeScaleLabelsModel,TimeScaleLevelsModel,TrendlineArrayGridModel,Value
Base class for editable models.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this model is editable.voidsetEditable(boolean editable) Sets model editable state.Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, createWorkingCopy, discard, dispose, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline, toStringMethods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Constructor Details
-
EditableModel
public EditableModel()
-
-
Method Details
-
isEditable
public boolean isEditable()Description copied from interface:IEditableModelChecks if this model is editable.- Specified by:
isEditablein interfaceIEditableModel- Returns:
trueif this model is editable,falseotherwise
-
setEditable
public void setEditable(boolean editable) Description copied from interface:IEditableModelSets model editable state.- Specified by:
setEditablein interfaceIEditableModel- Parameters:
editable- the editable state,trueif this model is editable,falseotherwise
-