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:
CommonPictureContentGridModel,ConfigurationStandaloneContentExchangeSettingsDialogModel,DcsChartReferenceBandGridModel,DcsChartReferenceLineGridModel,EventHandlerCollectionModel,ListModel,MapModel,NavigatorTreeDialogModel,NavigatorTreeModel,StandardObjectSwitchingSourceModel,TrendlineArrayGridModel,Value
public abstract class EditableModel extends Model implements IEditableModel
Base class for editable models.- See Also:
IEditableModel
-
-
Constructor Summary
Constructors Constructor Description EditableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEditable()Checks 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, toString
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate, 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.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Method Detail
-
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
-
-