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 TypeMethodDescriptionboolean
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
-
Constructor Details
-
EditableModel
public EditableModel()
-
-
Method Details
-
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
-