Class ActionBarViewModelImpl
- 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.ui.aef.viewModels.impl.ActionBarViewModelImpl
-
- All Implemented Interfaces:
ControlViewModel
,IControlViewModel
,IViewModel
,ActionBarViewModel
,SelectViewModel
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
ColorActionBarViewModelImpl
,PredefinedItemCodeViewModelImpl
,ShortcutViewModelImpl
public class ActionBarViewModelImpl extends SelectViewModelImpl implements ActionBarViewModel
An implementation of the model object 'Action Bar 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 String
hint
The cached value of the 'Hint
' attribute.protected static String
HINT_EDEFAULT
The default value of the 'Hint
' attribute.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 int
lines
The cached value of the 'Lines
' attribute.protected static int
LINES_EDEFAULT
The default value of the 'Lines
' attribute.protected String
mask
The cached value of the 'Mask
' attribute.protected static String
MASK_EDEFAULT
The default value of the 'Mask
' attribute.protected static boolean
PASSWORD_MODE_EDEFAULT
The default value of the 'Password Mode
' attribute.protected boolean
passwordMode
The cached value of the 'Password Mode
' attribute.protected static int
TEXT_LIMIT_EDEFAULT
The default value of the 'Text Limit
' attribute.protected int
textLimit
The cached value of the 'Text Limit
' 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
ActionBarViewModelImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
String
getHint()
org.eclipse.swt.graphics.Image
getImage()
int
getLines()
String
getMask()
int
getTextLimit()
String
getValue()
boolean
isPasswordMode()
void
setHint(String newHint)
void
setImage(org.eclipse.swt.graphics.Image newImage)
void
setLines(int newLines)
void
setMask(String newMask)
void
setPasswordMode(boolean newPasswordMode)
void
setTextLimit(int newTextLimit)
void
setValue(String newValue)
String
toString()
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.viewModels.impl.SelectViewModelImpl
eInverseRemove, 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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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
-
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()
-
LINES_EDEFAULT
protected static final int LINES_EDEFAULT
The default value of the 'Lines
' attribute.- See Also:
getLines()
, Constant Field Values
-
lines
protected int lines
The cached value of the 'Lines
' attribute.- See Also:
getLines()
-
PASSWORD_MODE_EDEFAULT
protected static final boolean PASSWORD_MODE_EDEFAULT
The default value of the 'Password Mode
' attribute.- See Also:
isPasswordMode()
, Constant Field Values
-
passwordMode
protected boolean passwordMode
The cached value of the 'Password Mode
' attribute.- See Also:
isPasswordMode()
-
TEXT_LIMIT_EDEFAULT
protected static final int TEXT_LIMIT_EDEFAULT
The default value of the 'Text Limit
' attribute.- See Also:
getTextLimit()
, Constant Field Values
-
textLimit
protected int textLimit
The cached value of the 'Text Limit
' attribute.- See Also:
getTextLimit()
-
MASK_EDEFAULT
protected static final String MASK_EDEFAULT
The default value of the 'Mask
' attribute.- See Also:
getMask()
-
HINT_EDEFAULT
protected static final String HINT_EDEFAULT
The default value of the 'Hint
' attribute.- See Also:
getHint()
-
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()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classSelectViewModelImpl
-
getValue
public String getValue()
- Specified by:
getValue
in interfaceActionBarViewModel
- Returns:
- the value of the 'Value' attribute.
- See Also:
ActionBarViewModel.setValue(String)
,DtAefPackage.getActionBarViewModel_Value()
-
setValue
public void setValue(String newValue)
- Specified by:
setValue
in interfaceActionBarViewModel
- Parameters:
newValue
- the new value of the 'Value' attribute.- See Also:
ActionBarViewModel.getValue()
-
getLines
public int getLines()
- Specified by:
getLines
in interfaceActionBarViewModel
- Returns:
- the value of the 'Lines' attribute.
- See Also:
ActionBarViewModel.setLines(int)
,DtAefPackage.getActionBarViewModel_Lines()
-
setLines
public void setLines(int newLines)
- Specified by:
setLines
in interfaceActionBarViewModel
- Parameters:
newLines
- the new value of the 'Lines' attribute.- See Also:
ActionBarViewModel.getLines()
-
isPasswordMode
public boolean isPasswordMode()
- Specified by:
isPasswordMode
in interfaceActionBarViewModel
- Returns:
- the value of the 'Password Mode' attribute.
- See Also:
ActionBarViewModel.setPasswordMode(boolean)
,DtAefPackage.getActionBarViewModel_PasswordMode()
-
setPasswordMode
public void setPasswordMode(boolean newPasswordMode)
- Specified by:
setPasswordMode
in interfaceActionBarViewModel
- Parameters:
newPasswordMode
- the new value of the 'Password Mode' attribute.- See Also:
ActionBarViewModel.isPasswordMode()
-
getTextLimit
public int getTextLimit()
- Specified by:
getTextLimit
in interfaceActionBarViewModel
- Returns:
- the value of the 'Text Limit' attribute.
- See Also:
ActionBarViewModel.setTextLimit(int)
,DtAefPackage.getActionBarViewModel_TextLimit()
-
setTextLimit
public void setTextLimit(int newTextLimit)
- Specified by:
setTextLimit
in interfaceActionBarViewModel
- Parameters:
newTextLimit
- the new value of the 'Text Limit' attribute.- See Also:
ActionBarViewModel.getTextLimit()
-
getMask
public String getMask()
- Specified by:
getMask
in interfaceActionBarViewModel
- Returns:
- the value of the 'Mask' attribute.
- See Also:
ActionBarViewModel.setMask(String)
,DtAefPackage.getActionBarViewModel_Mask()
-
setMask
public void setMask(String newMask)
- Specified by:
setMask
in interfaceActionBarViewModel
- Parameters:
newMask
- the new value of the 'Mask' attribute.- See Also:
ActionBarViewModel.getMask()
-
getHint
public String getHint()
- Specified by:
getHint
in interfaceActionBarViewModel
- Returns:
- the value of the 'Hint' attribute.
- See Also:
ActionBarViewModel.setHint(String)
,DtAefPackage.getActionBarViewModel_Hint()
-
setHint
public void setHint(String newHint)
- Specified by:
setHint
in interfaceActionBarViewModel
- Parameters:
newHint
- the new value of the 'Hint' attribute.- See Also:
ActionBarViewModel.getHint()
-
getImage
public org.eclipse.swt.graphics.Image getImage()
- Specified by:
getImage
in interfaceActionBarViewModel
- Returns:
- the value of the 'Image' attribute.
- See Also:
ActionBarViewModel.setImage(Image)
,DtAefPackage.getActionBarViewModel_Image()
-
setImage
public void setImage(org.eclipse.swt.graphics.Image newImage)
- Specified by:
setImage
in interfaceActionBarViewModel
- Parameters:
newImage
- the new value of the 'Image' attribute.- See Also:
ActionBarViewModel.getImage()
-
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
-
toString
public String toString()
- Overrides:
toString
in classControlViewModelImpl
-
-