Class BorderValueControlViewModelImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- com._1c.g5.aef2.standard.viewModels.impl.ControlViewModelImpl
-
- com._1c.g5.v8.dt.ui.aef.viewModels.impl.SelectViewModelImpl
-
- com._1c.g5.v8.dt.md.ui.aef.viewModels.impl.ValueControlViewModelImpl
-
- com._1c.g5.v8.dt.md.ui.aef.viewModels.impl.BorderValueControlViewModelImpl
-
- All Implemented Interfaces:
ComboViewModel
,ControlViewModel
,IControlViewModel
,IViewModel
,BorderValueControlViewModel
,ValueControlViewModel
,ComboSelectViewModel
,EditableComboViewModel
,SelectViewModel
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
public class BorderValueControlViewModelImpl extends ValueControlViewModelImpl implements BorderValueControlViewModel
An implementation of the model object 'Border Value Control View Model'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.swt.graphics.Image
image
The cached value of the 'Image
' attribute.protected static org.eclipse.swt.graphics.Image
IMAGE_EDEFAULT
The default value of the 'Image
' attribute.protected org.eclipse.emf.common.util.EList<ComboItemViewModel>
items
The cached value of the 'Items
' containment reference list.protected static boolean
QUICK_SEARCH_ALLOWED_EDEFAULT
The default value of the 'Quick Search Allowed
' attribute.protected static String
QUICK_SEARCH_TEXT_EDEFAULT
The default value of the 'Quick Search Text
' attribute.protected boolean
quickSearchAllowed
The cached value of the 'Quick Search Allowed
' attribute.protected String
quickSearchText
The cached value of the 'Quick Search Text
' attribute.protected ComboItemViewModel
selectedItem
The cached value of the 'Selected Item
' reference.protected static boolean
TEXT_READ_ONLY_EDEFAULT
The default value of the 'Text Read Only
' attribute.protected boolean
textReadOnly
The cached value of the 'Text Read Only
' attribute.protected String
value
The cached value of the 'Value
' attribute.protected static String
VALUE_EDEFAULT
The default value of the 'Value
' attribute.-
Fields inherited from class com._1c.g5.v8.dt.ui.aef.viewModels.impl.SelectViewModelImpl
buttons
-
Fields inherited from class com._1c.g5.aef2.standard.viewModels.impl.ControlViewModelImpl
APPLY_VALUE_CHANGE_EDEFAULT, applyValueChange, contexts, editable, EDITABLE_EDEFAULT, enabled, ENABLED_EDEFAULT, EVENT_CHANNEL_EDEFAULT, eventChannel, externalValidationStatus, layoutData, status, STATUS_EDEFAULT
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BorderValueControlViewModelImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComboItemViewModel
basicGetSelectedItem()
int
eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
int
eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
Object
eGet(int featureID, boolean resolve, boolean coreType)
org.eclipse.emf.common.notify.NotificationChain
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
org.eclipse.swt.graphics.Image
getImage()
org.eclipse.emf.common.util.EList<ComboItemViewModel>
getItems()
String
getQuickSearchText()
ComboItemViewModel
getSelectedItem()
String
getValue()
boolean
isQuickSearchAllowed()
boolean
isTextReadOnly()
void
setImage(org.eclipse.swt.graphics.Image newImage)
void
setQuickSearchAllowed(boolean newQuickSearchAllowed)
void
setQuickSearchText(String newQuickSearchText)
void
setSelectedItem(ComboItemViewModel newSelectedItem)
void
setTextReadOnly(boolean newTextReadOnly)
void
setValue(String newValue)
String
toString()
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.viewModels.impl.SelectViewModelImpl
getButtons
-
Methods inherited from class com._1c.g5.aef2.standard.viewModels.impl.ControlViewModelImpl
basicGetLayoutData, basicGetParent, basicSetExternalValidationStatus, basicSetParent, eBasicRemoveFromContainerFeature, eInverseAdd, getApplyValueChange, getContexts, getEventChannel, getExternalValidationStatus, getLayoutData, getParent, getStatus, isEditable, isEnabled, setApplyValueChange, setEditable, setEnabled, setEventChannel, setExternalValidationStatus, setLayoutData, setParent, setStatus
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
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.standard.viewModels.ControlViewModel
getApplyValueChange, getContexts, getExternalValidationStatus, getLayoutData, getStatus, isEditable, isEnabled, setApplyValueChange, setEditable, setEnabled, setExternalValidationStatus, setLayoutData, setStatus
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com._1c.g5.v8.dt.ui.aef.viewModels.SelectViewModel
getButtons
-
-
-
-
Field Detail
-
items
protected org.eclipse.emf.common.util.EList<ComboItemViewModel> items
The cached value of the 'Items
' containment reference list.- See Also:
getItems()
-
selectedItem
protected ComboItemViewModel selectedItem
The cached value of the 'Selected Item
' reference.- See Also:
getSelectedItem()
-
QUICK_SEARCH_ALLOWED_EDEFAULT
protected static final boolean QUICK_SEARCH_ALLOWED_EDEFAULT
The default value of the 'Quick Search Allowed
' attribute.- See Also:
isQuickSearchAllowed()
, Constant Field Values
-
quickSearchAllowed
protected boolean quickSearchAllowed
The cached value of the 'Quick Search Allowed
' attribute.- See Also:
isQuickSearchAllowed()
-
QUICK_SEARCH_TEXT_EDEFAULT
protected static final String QUICK_SEARCH_TEXT_EDEFAULT
The default value of the 'Quick Search Text
' attribute.- See Also:
getQuickSearchText()
-
quickSearchText
protected String quickSearchText
The cached value of the 'Quick Search Text
' attribute.- See Also:
getQuickSearchText()
-
VALUE_EDEFAULT
protected static final String VALUE_EDEFAULT
The default value of the 'Value
' attribute.- See Also:
getValue()
-
value
protected String value
The cached value of the 'Value
' attribute.- See Also:
getValue()
-
IMAGE_EDEFAULT
protected static final org.eclipse.swt.graphics.Image IMAGE_EDEFAULT
The default value of the 'Image
' attribute.- See Also:
getImage()
-
image
protected org.eclipse.swt.graphics.Image image
The cached value of the 'Image
' attribute.- See Also:
getImage()
-
TEXT_READ_ONLY_EDEFAULT
protected static final boolean TEXT_READ_ONLY_EDEFAULT
The default value of the 'Text Read Only
' attribute.- See Also:
isTextReadOnly()
, Constant Field Values
-
textReadOnly
protected boolean textReadOnly
The cached value of the 'Text Read Only
' attribute.- See Also:
isTextReadOnly()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classValueControlViewModelImpl
-
getItems
public org.eclipse.emf.common.util.EList<ComboItemViewModel> getItems()
- Specified by:
getItems
in interfaceComboViewModel
- Returns:
- the value of the 'Items' containment reference list.
- See Also:
AefStandardPackage.getComboViewModel_Items()
-
getSelectedItem
public ComboItemViewModel getSelectedItem()
- Specified by:
getSelectedItem
in interfaceComboViewModel
- Returns:
- the value of the 'Selected Item' reference.
- See Also:
ComboViewModel.setSelectedItem(ComboItemViewModel)
,AefStandardPackage.getComboViewModel_SelectedItem()
-
basicGetSelectedItem
public ComboItemViewModel basicGetSelectedItem()
-
setSelectedItem
public void setSelectedItem(ComboItemViewModel newSelectedItem)
- Specified by:
setSelectedItem
in interfaceComboViewModel
- Parameters:
newSelectedItem
- the new value of the 'Selected Item' reference.- See Also:
ComboViewModel.getSelectedItem()
-
isQuickSearchAllowed
public boolean isQuickSearchAllowed()
- Specified by:
isQuickSearchAllowed
in interfaceComboViewModel
- Returns:
- the value of the 'Quick Search Allowed' attribute.
- See Also:
ComboViewModel.setQuickSearchAllowed(boolean)
,AefStandardPackage.getComboViewModel_QuickSearchAllowed()
-
setQuickSearchAllowed
public void setQuickSearchAllowed(boolean newQuickSearchAllowed)
- Specified by:
setQuickSearchAllowed
in interfaceComboViewModel
- Parameters:
newQuickSearchAllowed
- the new value of the 'Quick Search Allowed' attribute.- See Also:
ComboViewModel.isQuickSearchAllowed()
-
getQuickSearchText
public String getQuickSearchText()
- Specified by:
getQuickSearchText
in interfaceComboViewModel
- Returns:
- the value of the 'Quick Search Text' attribute.
- See Also:
ComboViewModel.setQuickSearchText(String)
,AefStandardPackage.getComboViewModel_QuickSearchText()
-
setQuickSearchText
public void setQuickSearchText(String newQuickSearchText)
- Specified by:
setQuickSearchText
in interfaceComboViewModel
- Parameters:
newQuickSearchText
- the new value of the 'Quick Search Text' attribute.- See Also:
ComboViewModel.getQuickSearchText()
-
getValue
public String getValue()
- Specified by:
getValue
in interfaceEditableComboViewModel
- Returns:
- the value of the 'Value' attribute.
- See Also:
EditableComboViewModel.setValue(String)
,DtAefPackage.getEditableComboViewModel_Value()
-
setValue
public void setValue(String newValue)
- Specified by:
setValue
in interfaceEditableComboViewModel
- Parameters:
newValue
- the new value of the 'Value' attribute.- See Also:
EditableComboViewModel.getValue()
-
getImage
public org.eclipse.swt.graphics.Image getImage()
- Specified by:
getImage
in interfaceEditableComboViewModel
- Returns:
- the value of the 'Image' attribute.
- See Also:
EditableComboViewModel.setImage(Image)
,DtAefPackage.getEditableComboViewModel_Image()
-
setImage
public void setImage(org.eclipse.swt.graphics.Image newImage)
- Specified by:
setImage
in interfaceEditableComboViewModel
- Parameters:
newImage
- the new value of the 'Image' attribute.- See Also:
EditableComboViewModel.getImage()
-
isTextReadOnly
public boolean isTextReadOnly()
- Specified by:
isTextReadOnly
in interfaceEditableComboViewModel
- Returns:
- the value of the 'Text Read Only' attribute.
- See Also:
EditableComboViewModel.setTextReadOnly(boolean)
,DtAefPackage.getEditableComboViewModel_TextReadOnly()
-
setTextReadOnly
public void setTextReadOnly(boolean newTextReadOnly)
- Specified by:
setTextReadOnly
in interfaceEditableComboViewModel
- Parameters:
newTextReadOnly
- the new value of the 'Text Read Only' attribute.- See Also:
EditableComboViewModel.isTextReadOnly()
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseRemove
in classSelectViewModelImpl
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classSelectViewModelImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classSelectViewModelImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classSelectViewModelImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classSelectViewModelImpl
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eBaseStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public String toString()
- Overrides:
toString
in classControlViewModelImpl
-
-