Class GeographicalCoordinatesSelectionModel
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<Double>
com._1c.g5.v8.dt.geographicalschema.ui.internal.aef.models.GeographicalCoordinatesSelectionModel
- All Implemented Interfaces:
IAttribute<IBmObject,
,org.eclipse.emf.ecore.EStructuralFeature> IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfValueAttribute<Double,
,IBmObject> IValue<Double>
,IValidable
,IModelApiAwareModel
,IGeographicalCoordinatesSelectionModel
public class GeographicalCoordinatesSelectionModel
extends BmValue<Double>
implements IGeographicalCoordinatesSelectionModel
The default implementtaion of
IGeographicalCoordinatesSelectionModel
.-
Constructor Summary
ConstructorsConstructorDescriptionGeographicalCoordinatesSelectionModel
(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, double minValue, double maxValue) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the maximum allowed coordinates value.double
Returns the minimum allowed coordinates value.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.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 Details
-
GeographicalCoordinatesSelectionModel
public GeographicalCoordinatesSelectionModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, double minValue, double maxValue) Constructor.- Parameters:
object
- the context object, cannot benull
feature
- the context object feature, cannot benull
minValue
- the minimum allowed coordinates valuemaxValue
- the maximum allowed coordinates value
-
-
Method Details
-
getMinValue
public double getMinValue()Description copied from interface:IGeographicalCoordinatesSelectionModel
Returns the minimum allowed coordinates value.- Specified by:
getMinValue
in interfaceIGeographicalCoordinatesSelectionModel
- Returns:
- the minimum allowed coordinates value
-
getMaxValue
public double getMaxValue()Description copied from interface:IGeographicalCoordinatesSelectionModel
Returns the maximum allowed coordinates value.- Specified by:
getMaxValue
in interfaceIGeographicalCoordinatesSelectionModel
- Returns:
- the maximum allowed coordinates value
-