Class PresentationColorImpl
- 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.v8.dt.form.presentation.model.impl.PresentationColorImpl
-
- All Implemented Interfaces:
PresentationColor
,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 PresentationColorImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements PresentationColor
An implementation of the model object 'Color'.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 static boolean
AUTO_COLOR_EDEFAULT
The default value of the 'Auto Color
' attribute.protected boolean
autoColor
The cached value of the 'Auto Color
' attribute.protected int
blue
The cached value of the 'Blue
' attribute.protected static int
BLUE_EDEFAULT
The default value of the 'Blue
' attribute.protected int
green
The cached value of the 'Green
' attribute.protected static int
GREEN_EDEFAULT
The default value of the 'Green
' attribute.protected int
red
The cached value of the 'Red
' attribute.protected static int
RED_EDEFAULT
The default value of the 'Red
' attribute.-
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
PresentationColorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eGet(int featureID, boolean resolve, boolean coreType)
Object
eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
int
getBlue()
int
getGreen()
int
getRed()
boolean
isAutoColor()
void
setAutoColor(boolean newAutoColor)
void
setBlue(int newBlue)
void
setGreen(int newGreen)
void
setRed(int newRed)
org.eclipse.swt.graphics.RGB
toRGB()
String
toString()
-
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, eBasicRemoveFromContainerFeature, 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, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, 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
-
-
-
-
Field Detail
-
AUTO_COLOR_EDEFAULT
protected static final boolean AUTO_COLOR_EDEFAULT
The default value of the 'Auto Color
' attribute.- See Also:
isAutoColor()
, Constant Field Values
-
autoColor
protected boolean autoColor
The cached value of the 'Auto Color
' attribute.- See Also:
isAutoColor()
-
RED_EDEFAULT
protected static final int RED_EDEFAULT
The default value of the 'Red
' attribute.- See Also:
getRed()
, Constant Field Values
-
GREEN_EDEFAULT
protected static final int GREEN_EDEFAULT
The default value of the 'Green
' attribute.- See Also:
getGreen()
, Constant Field Values
-
green
protected int green
The cached value of the 'Green
' attribute.- See Also:
getGreen()
-
BLUE_EDEFAULT
protected static final int BLUE_EDEFAULT
The default value of the 'Blue
' attribute.- See Also:
getBlue()
, Constant Field Values
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
isAutoColor
public boolean isAutoColor()
- Specified by:
isAutoColor
in interfacePresentationColor
- Returns:
- the value of the 'Auto Color' attribute.
- See Also:
PresentationColor.setAutoColor(boolean)
,PresentationPackage.getPresentationColor_AutoColor()
-
setAutoColor
public void setAutoColor(boolean newAutoColor)
- Specified by:
setAutoColor
in interfacePresentationColor
- Parameters:
newAutoColor
- the new value of the 'Auto Color' attribute.- See Also:
PresentationColor.isAutoColor()
-
getRed
public int getRed()
- Specified by:
getRed
in interfacePresentationColor
- Returns:
- the value of the 'Red' attribute.
- See Also:
PresentationColor.setRed(int)
,PresentationPackage.getPresentationColor_Red()
-
setRed
public void setRed(int newRed)
- Specified by:
setRed
in interfacePresentationColor
- Parameters:
newRed
- the new value of the 'Red' attribute.- See Also:
PresentationColor.getRed()
-
getGreen
public int getGreen()
- Specified by:
getGreen
in interfacePresentationColor
- Returns:
- the value of the 'Green' attribute.
- See Also:
PresentationColor.setGreen(int)
,PresentationPackage.getPresentationColor_Green()
-
setGreen
public void setGreen(int newGreen)
- Specified by:
setGreen
in interfacePresentationColor
- Parameters:
newGreen
- the new value of the 'Green' attribute.- See Also:
PresentationColor.getGreen()
-
getBlue
public int getBlue()
- Specified by:
getBlue
in interfacePresentationColor
- Returns:
- the value of the 'Blue' attribute.
- See Also:
PresentationColor.setBlue(int)
,PresentationPackage.getPresentationColor_Blue()
-
setBlue
public void setBlue(int newBlue)
- Specified by:
setBlue
in interfacePresentationColor
- Parameters:
newBlue
- the new value of the 'Blue' attribute.- See Also:
PresentationColor.getBlue()
-
toRGB
public org.eclipse.swt.graphics.RGB toRGB()
- Specified by:
toRGB
in interfacePresentationColor
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInvoke
public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException
- Specified by:
eInvoke
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eInvoke
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Throws:
InvocationTargetException
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-