Class PresentationSwitchFieldBaseImpl
- 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.PresentationFieldBaseImpl
-
- com._1c.g5.v8.dt.form.presentation.model.impl.PresentationSwitchFieldBaseImpl
-
- All Implemented Interfaces:
Presentation
,PresentationChild
,PresentationChildren<PresentationSwitchFieldItem>
,PresentationEnabled
,PresentationFieldBase
,PresentationFieldTitle
,PresentationFieldTooltip
,PresentationForegroundColor
,PresentationReadOnly
,PresentationSwitchFieldBase
,PresentationTextFont
,PresentationTitle
,PresentationTooltip
,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:
PresentationRadioFieldImpl
,PresentationTumblerFieldImpl
public abstract class PresentationSwitchFieldBaseImpl extends PresentationFieldBaseImpl implements PresentationSwitchFieldBase
An implementation of the model object 'Switch Field Base'.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.emf.common.util.EList<PresentationSwitchFieldItem>
children
The cached value of the 'Children
' containment reference list.protected int
columns
The cached value of the 'Columns
' attribute.protected static int
COLUMNS_EDEFAULT
The default value of the 'Columns
' attribute.protected PresentationColor
foregroundColor
The cached value of the 'Foreground Color
' containment reference.protected static int
ITEM_HEIGHT_EDEFAULT
The default value of the 'Item Height
' attribute.protected int
itemHeight
The cached value of the 'Item Height
' attribute.protected PresentationFont
textFont
The cached value of the 'Text Font
' containment reference.-
Fields inherited from class com._1c.g5.v8.dt.form.presentation.model.impl.PresentationFieldBaseImpl
enabled, ENABLED_EDEFAULT, extendedTooltip, GROUP_ENABLED_EDEFAULT, GROUP_READ_ONLY_EDEFAULT, groupEnabled, groupReadOnly, READ_ONLY_EDEFAULT, readOnly, title, TITLE_EDEFAULT, TITLE_HEIGHT_EDEFAULT, TITLE_PLACEMENT_EDEFAULT, titleColor, titleFont, titleHeight, titlePlacement, tooltip, TOOLTIP_EDEFAULT, TOOLTIP_STYLE_EDEFAULT, tooltipStyle
-
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
PresentationSwitchFieldBaseImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetForegroundColor(PresentationColor newForegroundColor, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
basicSetTextFont(PresentationFont newTextFont, org.eclipse.emf.common.notify.NotificationChain msgs)
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.emf.common.util.EList<PresentationSwitchFieldItem>
getChildren()
int
getColumns()
PresentationColor
getForegroundColor()
int
getItemHeight()
PresentationFont
getTextFont()
void
setColumns(int newColumns)
void
setForegroundColor(PresentationColor newForegroundColor)
void
setItemHeight(int newItemHeight)
void
setTextFont(PresentationFont newTextFont)
String
toString()
-
Methods inherited from class com._1c.g5.v8.dt.form.presentation.model.impl.PresentationFieldBaseImpl
basicSetExtendedTooltip, basicSetTitleColor, basicSetTitleFont, getExtendedTooltip, getTitle, getTitleColor, getTitleFont, getTitleHeight, getTitlePlacement, getTooltip, getTooltipStyle, isEnabled, isGroupEnabled, isGroupReadOnly, isReadOnly, setEnabled, setExtendedTooltip, setGroupEnabled, setGroupReadOnly, setReadOnly, setTitle, setTitleColor, setTitleFont, setTitleHeight, setTitlePlacement, setTooltip, setTooltipStyle
-
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, eBasicRemoveFromContainerFeature, 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, 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 org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com._1c.g5.v8.dt.form.presentation.model.PresentationEnabled
isEnabled, isGroupEnabled, setEnabled, setGroupEnabled
-
Methods inherited from interface com._1c.g5.v8.dt.form.presentation.model.PresentationFieldTitle
getTitleColor, getTitleFont, getTitleHeight, getTitlePlacement, setTitleColor, setTitleFont, setTitleHeight, setTitlePlacement
-
Methods inherited from interface com._1c.g5.v8.dt.form.presentation.model.PresentationFieldTooltip
getExtendedTooltip, getTooltipStyle, setExtendedTooltip, setTooltipStyle
-
Methods inherited from interface com._1c.g5.v8.dt.form.presentation.model.PresentationReadOnly
isGroupReadOnly, isReadOnly, setGroupReadOnly, setReadOnly
-
Methods inherited from interface com._1c.g5.v8.dt.form.presentation.model.PresentationTitle
getTitle, setTitle
-
Methods inherited from interface com._1c.g5.v8.dt.form.presentation.model.PresentationTooltip
getTooltip, setTooltip
-
-
-
-
Field Detail
-
children
protected org.eclipse.emf.common.util.EList<PresentationSwitchFieldItem> children
The cached value of the 'Children
' containment reference list.- See Also:
getChildren()
-
foregroundColor
protected PresentationColor foregroundColor
The cached value of the 'Foreground Color
' containment reference.- See Also:
getForegroundColor()
-
textFont
protected PresentationFont textFont
The cached value of the 'Text Font
' containment reference.- See Also:
getTextFont()
-
COLUMNS_EDEFAULT
protected static final int COLUMNS_EDEFAULT
The default value of the 'Columns
' attribute.- See Also:
getColumns()
, Constant Field Values
-
columns
protected int columns
The cached value of the 'Columns
' attribute.- See Also:
getColumns()
-
ITEM_HEIGHT_EDEFAULT
protected static final int ITEM_HEIGHT_EDEFAULT
The default value of the 'Item Height
' attribute.- See Also:
getItemHeight()
, Constant Field Values
-
itemHeight
protected int itemHeight
The cached value of the 'Item Height
' attribute.- See Also:
getItemHeight()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classPresentationFieldBaseImpl
-
getChildren
public org.eclipse.emf.common.util.EList<PresentationSwitchFieldItem> getChildren()
- Specified by:
getChildren
in interfacePresentationChildren<PresentationSwitchFieldItem>
- Returns:
- the value of the 'Children' containment reference list.
- See Also:
PresentationPackage.getPresentationChildren_Children()
-
getForegroundColor
public PresentationColor getForegroundColor()
- Specified by:
getForegroundColor
in interfacePresentationForegroundColor
- Returns:
- the value of the 'Foreground Color' containment reference.
- See Also:
PresentationForegroundColor.setForegroundColor(PresentationColor)
,PresentationPackage.getPresentationForegroundColor_ForegroundColor()
-
basicSetForegroundColor
public org.eclipse.emf.common.notify.NotificationChain basicSetForegroundColor(PresentationColor newForegroundColor, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setForegroundColor
public void setForegroundColor(PresentationColor newForegroundColor)
- Specified by:
setForegroundColor
in interfacePresentationForegroundColor
- Parameters:
newForegroundColor
- the new value of the 'Foreground Color' containment reference.- See Also:
PresentationForegroundColor.getForegroundColor()
-
getTextFont
public PresentationFont getTextFont()
- Specified by:
getTextFont
in interfacePresentationTextFont
- Returns:
- the value of the 'Text Font' containment reference.
- See Also:
PresentationTextFont.setTextFont(PresentationFont)
,PresentationPackage.getPresentationTextFont_TextFont()
-
basicSetTextFont
public org.eclipse.emf.common.notify.NotificationChain basicSetTextFont(PresentationFont newTextFont, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setTextFont
public void setTextFont(PresentationFont newTextFont)
- Specified by:
setTextFont
in interfacePresentationTextFont
- Parameters:
newTextFont
- the new value of the 'Text Font' containment reference.- See Also:
PresentationTextFont.getTextFont()
-
getColumns
public int getColumns()
- Specified by:
getColumns
in interfacePresentationSwitchFieldBase
- Returns:
- the value of the 'Columns' attribute.
- See Also:
PresentationSwitchFieldBase.setColumns(int)
,PresentationPackage.getPresentationSwitchFieldBase_Columns()
-
setColumns
public void setColumns(int newColumns)
- Specified by:
setColumns
in interfacePresentationSwitchFieldBase
- Parameters:
newColumns
- the new value of the 'Columns' attribute.- See Also:
PresentationSwitchFieldBase.getColumns()
-
getItemHeight
public int getItemHeight()
- Specified by:
getItemHeight
in interfacePresentationSwitchFieldBase
- Returns:
- the value of the 'Item Height' attribute.
- See Also:
PresentationSwitchFieldBase.setItemHeight(int)
,PresentationPackage.getPresentationSwitchFieldBase_ItemHeight()
-
setItemHeight
public void setItemHeight(int newItemHeight)
- Specified by:
setItemHeight
in interfacePresentationSwitchFieldBase
- Parameters:
newItemHeight
- the new value of the 'Item Height' attribute.- See Also:
PresentationSwitchFieldBase.getItemHeight()
-
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 classPresentationFieldBaseImpl
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classPresentationFieldBaseImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classPresentationFieldBaseImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classPresentationFieldBaseImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classPresentationFieldBaseImpl
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eBaseStructuralFeatureID
in classPresentationFieldBaseImpl
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classPresentationFieldBaseImpl
-
toString
public String toString()
- Overrides:
toString
in classPresentationFieldBaseImpl
-
-