Class EmfChartScaleModelValue
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.models.EditableModel
-
- com._1c.g5.aef2.models.value.Value<T>
-
- com._1c.g5.aef2.emf.models.EmfValue<ChartScale>
-
- com._1c.g5.v8.dt.dcs.ui.aef.models.chart.EmfChartScaleModelValue
-
- All Implemented Interfaces:
IAttribute<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<org.eclipse.emf.ecore.EObject>
,IModel
,IEmfValueAttribute<ChartScale,org.eclipse.emf.ecore.EObject>
,IValue<ChartScale>
,IValidable
,IModelApiAwareModel
,IChartScaleModel
public class EmfChartScaleModelValue extends EmfValue<ChartScale> implements IChartScaleModel
Implementation ofIChartScaleModel
forChartScaleValueEditor
.
-
-
Constructor Summary
Constructors Constructor Description EmfChartScaleModelValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IEditingLanguageManager languageManager, IModelEditingSupport modelEditingSupport, IV8Project v8project, Version version, IColorProvider colorProvider, IFontProvider fontProvider, IModelObjectFactory chartObjectsFactory, IBorderProvider borderProvider)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IChartScaleDetailedModel
createDetailedModel()
Creates the detailed model.String
getCode()
Gets the code.IModelApi
getModelApi()
Returns the model API.Version
getVersion()
Gets the version.void
setModelApi(IModelApi modelApi)
Sets the specified API to the model.-
Methods inherited from class com._1c.g5.aef2.emf.models.EmfValue
dispose, getChange, getObject, getProperty
-
Methods inherited from class com._1c.g5.aef2.models.value.Value
addValueListener, createWorkingCopy, discard, get, getCommittedValue, getUncommittedValue, getValidatorTarget, isEqual, notifyValueChanged, queueNotifyValueChanged, removeValueListener, set, setCommittedValue, setUncommittedValue, setValue, toString
-
Methods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditable
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, 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.models.IModel
addModelListener, commit, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Methods inherited from interface com._1c.g5.aef2.models.value.IValue
addValueListener, createWorkingCopy, get, isEqual, removeValueListener, set
-
-
-
-
Constructor Detail
-
EmfChartScaleModelValue
public EmfChartScaleModelValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IEditingLanguageManager languageManager, IModelEditingSupport modelEditingSupport, IV8Project v8project, Version version, IColorProvider colorProvider, IFontProvider fontProvider, IModelObjectFactory chartObjectsFactory, IBorderProvider borderProvider)
The constructor.- Parameters:
object
- the object, cannot benull
.feature
- the feature, cannot benull
.languageManager
- the language manager, cannot benull
.modelEditingSupport
- the model edition support, cannot benull
.v8project
- the project, cannot benull
.version
- the version, cannot benull
.colorProvider
- the color provider, cannot be {code null}.fontProvider
- the font provider, cannot be {code null}.chartObjectsFactory
- the charts objects factory, cannot benull
.borderProvider
- the border provider, cannot be {code null}.
-
-
Method Detail
-
createDetailedModel
public IChartScaleDetailedModel createDetailedModel()
Description copied from interface:IChartScaleModel
Creates the detailed model. Created model must be disposed afterward.- Specified by:
createDetailedModel
in interfaceIChartScaleModel
- Returns:
- the newly created detailed model.
-
getCode
public String getCode()
Description copied from interface:IChartScaleModel
Gets the code.- Specified by:
getCode
in interfaceIChartScaleModel
- Returns:
- the code.
-
getVersion
public Version getVersion()
Description copied from interface:IChartScaleModel
Gets the version.- Specified by:
getVersion
in interfaceIChartScaleModel
- Returns:
- the version.
-
setModelApi
public void setModelApi(IModelApi modelApi)
Description copied from interface:IModelApiAwareModel
Sets the specified API to the model.- Specified by:
setModelApi
in interfaceIModelApiAwareModel
- Parameters:
modelApi
- the API, can benull
.
-
getModelApi
public IModelApi getModelApi()
Description copied from interface:IModelApiAwareModel
Returns the model API.- Specified by:
getModelApi
in interfaceIModelApiAwareModel
- Returns:
- the model API or
null
if it is not set.
-
-