Class VTTableStylePropertyImpl
- 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
-
- org.eclipse.emf.ecp.view.template.style.tableStyleProperty.model.impl.VTTableStylePropertyImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,VTStyleProperty
,VTTableStyleProperty
public class VTTableStylePropertyImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements VTTableStyleProperty
An implementation of the model object 'Table Style Property'.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 java.lang.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
ENABLE_SORTING_EDEFAULT
The default value of the 'Enable Sorting
' attribute.protected boolean
enableSorting
The cached value of the 'Enable Sorting
' attribute.protected static int
MAXIMUM_HEIGHT_EDEFAULT
The default value of the 'Maximum Height
' attribute.protected int
maximumHeight
The cached value of the 'Maximum Height
' attribute.protected boolean
maximumHeightESet
This is true if the Maximum Height attribute has been set.protected static int
MINIMUM_HEIGHT_EDEFAULT
The default value of the 'Minimum Height
' attribute.protected int
minimumHeight
The cached value of the 'Minimum Height
' attribute.protected boolean
minimumHeightESet
This is true if the Minimum Height attribute has been set.protected static RenderMode
RENDER_MODE_EDEFAULT
The default value of the 'Render Mode
' attribute.protected RenderMode
renderMode
The cached value of the 'Render Mode
' attribute.protected static boolean
SHOW_VALIDATION_SUMMARY_TOOLTIP_EDEFAULT
The default value of the 'Show Validation Summary Tooltip
' attribute.protected boolean
showValidationSummaryTooltip
The cached value of the 'Show Validation Summary Tooltip
' attribute.protected static int
VISIBLE_LINES_EDEFAULT
The default value of the 'Visible Lines
' attribute.protected int
visibleLines
The cached value of the 'Visible Lines
' attribute.protected boolean
visibleLinesESet
This is true if the Visible Lines attribute has been set.-
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
VTTableStylePropertyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
boolean
equalStyles(VTStyleProperty styleProperty)
Compare thisVTStyleProperty
with another.void
eSet(int featureID, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
int
getMaximumHeight()
int
getMinimumHeight()
RenderMode
getRenderMode()
int
getVisibleLines()
boolean
isEnableSorting()
boolean
isSetMaximumHeight()
boolean
isSetMinimumHeight()
boolean
isSetVisibleLines()
boolean
isShowValidationSummaryTooltip()
void
setEnableSorting(boolean newEnableSorting)
void
setMaximumHeight(int newMaximumHeight)
void
setMinimumHeight(int newMinimumHeight)
void
setRenderMode(RenderMode newRenderMode)
void
setShowValidationSummaryTooltip(boolean newShowValidationSummaryTooltip)
void
setVisibleLines(int newVisibleLines)
java.lang.String
toString()
void
unsetMaximumHeight()
void
unsetMinimumHeight()
void
unsetVisibleLines()
-
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, 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
-
MINIMUM_HEIGHT_EDEFAULT
protected static final int MINIMUM_HEIGHT_EDEFAULT
The default value of the 'Minimum Height
' attribute.- See Also:
getMinimumHeight()
, Constant Field Values
-
minimumHeight
protected int minimumHeight
The cached value of the 'Minimum Height
' attribute.- See Also:
getMinimumHeight()
-
minimumHeightESet
protected boolean minimumHeightESet
This is true if the Minimum Height attribute has been set.
-
MAXIMUM_HEIGHT_EDEFAULT
protected static final int MAXIMUM_HEIGHT_EDEFAULT
The default value of the 'Maximum Height
' attribute.- See Also:
getMaximumHeight()
, Constant Field Values
-
maximumHeight
protected int maximumHeight
The cached value of the 'Maximum Height
' attribute.- See Also:
getMaximumHeight()
-
maximumHeightESet
protected boolean maximumHeightESet
This is true if the Maximum Height attribute has been set.
-
SHOW_VALIDATION_SUMMARY_TOOLTIP_EDEFAULT
protected static final boolean SHOW_VALIDATION_SUMMARY_TOOLTIP_EDEFAULT
The default value of the 'Show Validation Summary Tooltip
' attribute.
-
showValidationSummaryTooltip
protected boolean showValidationSummaryTooltip
The cached value of the 'Show Validation Summary Tooltip
' attribute.- See Also:
isShowValidationSummaryTooltip()
-
ENABLE_SORTING_EDEFAULT
protected static final boolean ENABLE_SORTING_EDEFAULT
The default value of the 'Enable Sorting
' attribute.- See Also:
isEnableSorting()
, Constant Field Values
-
enableSorting
protected boolean enableSorting
The cached value of the 'Enable Sorting
' attribute.- See Also:
isEnableSorting()
-
VISIBLE_LINES_EDEFAULT
protected static final int VISIBLE_LINES_EDEFAULT
The default value of the 'Visible Lines
' attribute.- Since:
- 1.13
- See Also:
getVisibleLines()
, Constant Field Values
-
visibleLines
protected int visibleLines
The cached value of the 'Visible Lines
' attribute.- Since:
- 1.13
- See Also:
getVisibleLines()
-
visibleLinesESet
protected boolean visibleLinesESet
This is true if the Visible Lines attribute has been set.
-
RENDER_MODE_EDEFAULT
protected static final RenderMode RENDER_MODE_EDEFAULT
The default value of the 'Render Mode
' attribute.- See Also:
getRenderMode()
-
renderMode
protected RenderMode renderMode
The cached value of the 'Render Mode
' attribute.- See Also:
getRenderMode()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getMinimumHeight
public int getMinimumHeight()
- Specified by:
getMinimumHeight
in interfaceVTTableStyleProperty
- Returns:
- the value of the 'Minimum Height' attribute.
- See Also:
VTTableStyleProperty.isSetMinimumHeight()
,VTTableStyleProperty.unsetMinimumHeight()
,VTTableStyleProperty.setMinimumHeight(int)
,VTTableStylePropertyPackage.getTableStyleProperty_MinimumHeight()
-
setMinimumHeight
public void setMinimumHeight(int newMinimumHeight)
- Specified by:
setMinimumHeight
in interfaceVTTableStyleProperty
- Parameters:
newMinimumHeight
- the new value of the 'Minimum Height' attribute.- See Also:
VTTableStyleProperty.isSetMinimumHeight()
,VTTableStyleProperty.unsetMinimumHeight()
,VTTableStyleProperty.getMinimumHeight()
-
unsetMinimumHeight
public void unsetMinimumHeight()
- Specified by:
unsetMinimumHeight
in interfaceVTTableStyleProperty
- See Also:
VTTableStyleProperty.isSetMinimumHeight()
,VTTableStyleProperty.getMinimumHeight()
,VTTableStyleProperty.setMinimumHeight(int)
-
isSetMinimumHeight
public boolean isSetMinimumHeight()
- Specified by:
isSetMinimumHeight
in interfaceVTTableStyleProperty
- Returns:
- whether the value of the 'Minimum Height' attribute is set.
- See Also:
VTTableStyleProperty.unsetMinimumHeight()
,VTTableStyleProperty.getMinimumHeight()
,VTTableStyleProperty.setMinimumHeight(int)
-
getMaximumHeight
public int getMaximumHeight()
- Specified by:
getMaximumHeight
in interfaceVTTableStyleProperty
- Returns:
- the value of the 'Maximum Height' attribute.
- See Also:
VTTableStyleProperty.isSetMaximumHeight()
,VTTableStyleProperty.unsetMaximumHeight()
,VTTableStyleProperty.setMaximumHeight(int)
,VTTableStylePropertyPackage.getTableStyleProperty_MaximumHeight()
-
setMaximumHeight
public void setMaximumHeight(int newMaximumHeight)
- Specified by:
setMaximumHeight
in interfaceVTTableStyleProperty
- Parameters:
newMaximumHeight
- the new value of the 'Maximum Height' attribute.- See Also:
VTTableStyleProperty.isSetMaximumHeight()
,VTTableStyleProperty.unsetMaximumHeight()
,VTTableStyleProperty.getMaximumHeight()
-
unsetMaximumHeight
public void unsetMaximumHeight()
- Specified by:
unsetMaximumHeight
in interfaceVTTableStyleProperty
- See Also:
VTTableStyleProperty.isSetMaximumHeight()
,VTTableStyleProperty.getMaximumHeight()
,VTTableStyleProperty.setMaximumHeight(int)
-
isSetMaximumHeight
public boolean isSetMaximumHeight()
- Specified by:
isSetMaximumHeight
in interfaceVTTableStyleProperty
- Returns:
- whether the value of the 'Maximum Height' attribute is set.
- See Also:
VTTableStyleProperty.unsetMaximumHeight()
,VTTableStyleProperty.getMaximumHeight()
,VTTableStyleProperty.setMaximumHeight(int)
-
isShowValidationSummaryTooltip
public boolean isShowValidationSummaryTooltip()
- Specified by:
isShowValidationSummaryTooltip
in interfaceVTTableStyleProperty
- Returns:
- the value of the 'Show Validation Summary Tooltip' attribute.
- See Also:
VTTableStyleProperty.setShowValidationSummaryTooltip(boolean)
,VTTableStylePropertyPackage.getTableStyleProperty_ShowValidationSummaryTooltip()
-
setShowValidationSummaryTooltip
public void setShowValidationSummaryTooltip(boolean newShowValidationSummaryTooltip)
- Specified by:
setShowValidationSummaryTooltip
in interfaceVTTableStyleProperty
- Parameters:
newShowValidationSummaryTooltip
- the new value of the 'Show Validation Summary Tooltip' attribute.- See Also:
VTTableStyleProperty.isShowValidationSummaryTooltip()
-
isEnableSorting
public boolean isEnableSorting()
- Specified by:
isEnableSorting
in interfaceVTTableStyleProperty
- Returns:
- the value of the 'Enable Sorting' attribute.
- See Also:
VTTableStyleProperty.setEnableSorting(boolean)
,VTTableStylePropertyPackage.getTableStyleProperty_EnableSorting()
-
setEnableSorting
public void setEnableSorting(boolean newEnableSorting)
- Specified by:
setEnableSorting
in interfaceVTTableStyleProperty
- Parameters:
newEnableSorting
- the new value of the 'Enable Sorting' attribute.- See Also:
VTTableStyleProperty.isEnableSorting()
-
getVisibleLines
public int getVisibleLines()
- Specified by:
getVisibleLines
in interfaceVTTableStyleProperty
- Returns:
- the value of the 'Visible Lines' attribute.
- See Also:
VTTableStyleProperty.isSetVisibleLines()
,VTTableStyleProperty.unsetVisibleLines()
,VTTableStyleProperty.setVisibleLines(int)
,VTTableStylePropertyPackage.getTableStyleProperty_VisibleLines()
-
setVisibleLines
public void setVisibleLines(int newVisibleLines)
- Specified by:
setVisibleLines
in interfaceVTTableStyleProperty
- Parameters:
newVisibleLines
- the new value of the 'Visible Lines' attribute.- See Also:
VTTableStyleProperty.isSetVisibleLines()
,VTTableStyleProperty.unsetVisibleLines()
,VTTableStyleProperty.getVisibleLines()
-
unsetVisibleLines
public void unsetVisibleLines()
- Specified by:
unsetVisibleLines
in interfaceVTTableStyleProperty
- See Also:
VTTableStyleProperty.isSetVisibleLines()
,VTTableStyleProperty.getVisibleLines()
,VTTableStyleProperty.setVisibleLines(int)
-
isSetVisibleLines
public boolean isSetVisibleLines()
- Specified by:
isSetVisibleLines
in interfaceVTTableStyleProperty
- Returns:
- whether the value of the 'Visible Lines' attribute is set.
- See Also:
VTTableStyleProperty.unsetVisibleLines()
,VTTableStyleProperty.getVisibleLines()
,VTTableStyleProperty.setVisibleLines(int)
-
getRenderMode
public RenderMode getRenderMode()
- Specified by:
getRenderMode
in interfaceVTTableStyleProperty
- Returns:
- the value of the 'Render Mode' attribute.
- See Also:
RenderMode
,VTTableStyleProperty.setRenderMode(RenderMode)
,VTTableStylePropertyPackage.getTableStyleProperty_RenderMode()
-
setRenderMode
public void setRenderMode(RenderMode newRenderMode)
- Specified by:
setRenderMode
in interfaceVTTableStyleProperty
- Parameters:
newRenderMode
- the new value of the 'Render Mode' attribute.- See Also:
RenderMode
,VTTableStyleProperty.getRenderMode()
-
eGet
public java.lang.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, java.lang.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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
equalStyles
public boolean equalStyles(VTStyleProperty styleProperty)
Description copied from interface:VTStyleProperty
Compare thisVTStyleProperty
with another.- Specified by:
equalStyles
in interfaceVTStyleProperty
- Parameters:
styleProperty
- theVTStyleProperty
to compare to- Returns:
- true if both properties are equal
-
-