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 boolean
isEditable()
Checks if this model is editable.void
setEditable(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:IEditableModel
Checks if this model is editable.- Specified by:
isEditable
in interfaceIEditableModel
- Returns:
true
if this model is editable,false
otherwise
-
setEditable
public void setEditable(boolean editable)
Description copied from interface:IEditableModel
Sets model editable state.- Specified by:
setEditable
in interfaceIEditableModel
- Parameters:
editable
- the editable state,true
if this model is editable,false
otherwise
-
-