Class BmColorModel
- 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.v8.dt.aef2.bm.models.BmValue<Color>
-
- com._1c.g5.v8.dt.md.ui.aef.models.BmColorModel
-
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfValueAttribute<Color,IBmObject>
,IValue<Color>
,IValidable
,IModelApiAwareModel
,IColorModel
public class BmColorModel extends BmValue<Color> implements IColorModel
Bm implementation ofIColorModel
.
-
-
Constructor Summary
Constructors Constructor Description BmColorModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project, IColorProvider colorProvider)
Creates a new model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IColorProvider
getColorProvider()
Color
getDefaultColor()
IV8Project
getV8project()
Returns the V8 project.-
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmValue
adapt, createTask, dispose, getChange, getModelApi, getObject, getObjectValue, getProperty, processBmValueChange, setModelApi, setObjectValue
-
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.IEditableModel
isEditable, setEditable
-
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
-
BmColorModel
public BmColorModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project, IColorProvider colorProvider)
Creates a new model.- Parameters:
object
- the object, cannot benull
feature
- the object feature, cannot benull
v8project
- the V8 project, cannot benull
colorProvider
- the color provider, cannot benull
-
-
Method Detail
-
getV8project
public IV8Project getV8project()
Description copied from interface:IColorModel
Returns the V8 project.- Specified by:
getV8project
in interfaceIColorModel
- Returns:
- the V8 project.
-
getDefaultColor
public Color getDefaultColor()
- Specified by:
getDefaultColor
in interfaceIColorModel
- Returns:
- the default color.
-
getColorProvider
public IColorProvider getColorProvider()
- Specified by:
getColorProvider
in interfaceIColorModel
- Returns:
- the color provider.
-
-