Class MarginsImpl
- 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.layout.model.calculation.context.impl.MarginsImpl
-
- All Implemented Interfaces:
Margins
,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 MarginsImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements Margins
An implementation of the model object 'Margins'.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 int
BOTTOM_MARGIN_EDEFAULT
The default value of the 'Bottom Margin
' attribute.protected static int
BOTTOM_PADDING_EDEFAULT
The default value of the 'Bottom Padding
' attribute.protected int
bottomMargin
The cached value of the 'Bottom Margin
' attribute.protected int
bottomPadding
The cached value of the 'Bottom Padding
' attribute.protected static int
LEFT_MARGIN_EDEFAULT
The default value of the 'Left Margin
' attribute.protected static int
LEFT_PADDING_EDEFAULT
The default value of the 'Left Padding
' attribute.protected int
leftMargin
The cached value of the 'Left Margin
' attribute.protected int
leftPadding
The cached value of the 'Left Padding
' attribute.protected static int
RIGHT_MARGIN_EDEFAULT
The default value of the 'Right Margin
' attribute.protected static int
RIGHT_PADDING_EDEFAULT
The default value of the 'Right Padding
' attribute.protected int
rightMargin
The cached value of the 'Right Margin
' attribute.protected int
rightPadding
The cached value of the 'Right Padding
' attribute.protected static int
TOP_MARGIN_EDEFAULT
The default value of the 'Top Margin
' attribute.protected static int
TOP_PADDING_EDEFAULT
The default value of the 'Top Padding
' attribute.protected int
topMargin
The cached value of the 'Top Margin
' attribute.protected int
topPadding
The cached value of the 'Top Padding
' 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
MarginsImpl()
-
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)
int
getBottomMargin()
int
getBottomPadding()
int
getLeftMargin()
int
getLeftPadding()
int
getRightMargin()
int
getRightPadding()
int
getTopMargin()
int
getTopPadding()
void
setBottomMargin(int newBottomMargin)
void
setBottomPadding(int newBottomPadding)
void
setLeftMargin(int newLeftMargin)
void
setLeftPadding(int newLeftPadding)
void
setRightMargin(int newRightMargin)
void
setRightPadding(int newRightPadding)
void
setTopMargin(int newTopMargin)
void
setTopPadding(int newTopPadding)
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, 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
-
LEFT_MARGIN_EDEFAULT
protected static final int LEFT_MARGIN_EDEFAULT
The default value of the 'Left Margin
' attribute.- See Also:
getLeftMargin()
, Constant Field Values
-
leftMargin
protected int leftMargin
The cached value of the 'Left Margin
' attribute.- See Also:
getLeftMargin()
-
TOP_MARGIN_EDEFAULT
protected static final int TOP_MARGIN_EDEFAULT
The default value of the 'Top Margin
' attribute.- See Also:
getTopMargin()
, Constant Field Values
-
topMargin
protected int topMargin
The cached value of the 'Top Margin
' attribute.- See Also:
getTopMargin()
-
RIGHT_MARGIN_EDEFAULT
protected static final int RIGHT_MARGIN_EDEFAULT
The default value of the 'Right Margin
' attribute.- See Also:
getRightMargin()
, Constant Field Values
-
rightMargin
protected int rightMargin
The cached value of the 'Right Margin
' attribute.- See Also:
getRightMargin()
-
BOTTOM_MARGIN_EDEFAULT
protected static final int BOTTOM_MARGIN_EDEFAULT
The default value of the 'Bottom Margin
' attribute.- See Also:
getBottomMargin()
, Constant Field Values
-
bottomMargin
protected int bottomMargin
The cached value of the 'Bottom Margin
' attribute.- See Also:
getBottomMargin()
-
LEFT_PADDING_EDEFAULT
protected static final int LEFT_PADDING_EDEFAULT
The default value of the 'Left Padding
' attribute.- See Also:
getLeftPadding()
, Constant Field Values
-
leftPadding
protected int leftPadding
The cached value of the 'Left Padding
' attribute.- See Also:
getLeftPadding()
-
TOP_PADDING_EDEFAULT
protected static final int TOP_PADDING_EDEFAULT
The default value of the 'Top Padding
' attribute.- See Also:
getTopPadding()
, Constant Field Values
-
topPadding
protected int topPadding
The cached value of the 'Top Padding
' attribute.- See Also:
getTopPadding()
-
RIGHT_PADDING_EDEFAULT
protected static final int RIGHT_PADDING_EDEFAULT
The default value of the 'Right Padding
' attribute.- See Also:
getRightPadding()
, Constant Field Values
-
rightPadding
protected int rightPadding
The cached value of the 'Right Padding
' attribute.- See Also:
getRightPadding()
-
BOTTOM_PADDING_EDEFAULT
protected static final int BOTTOM_PADDING_EDEFAULT
The default value of the 'Bottom Padding
' attribute.- See Also:
getBottomPadding()
, Constant Field Values
-
bottomPadding
protected int bottomPadding
The cached value of the 'Bottom Padding
' attribute.- See Also:
getBottomPadding()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getLeftMargin
public int getLeftMargin()
- Specified by:
getLeftMargin
in interfaceMargins
- Returns:
- the value of the 'Left Margin' attribute.
- See Also:
Margins.setLeftMargin(int)
,LayoutCalculationContextPackage.getMargins_LeftMargin()
-
setLeftMargin
public void setLeftMargin(int newLeftMargin)
- Specified by:
setLeftMargin
in interfaceMargins
- Parameters:
newLeftMargin
- the new value of the 'Left Margin' attribute.- See Also:
Margins.getLeftMargin()
-
getTopMargin
public int getTopMargin()
- Specified by:
getTopMargin
in interfaceMargins
- Returns:
- the value of the 'Top Margin' attribute.
- See Also:
Margins.setTopMargin(int)
,LayoutCalculationContextPackage.getMargins_TopMargin()
-
setTopMargin
public void setTopMargin(int newTopMargin)
- Specified by:
setTopMargin
in interfaceMargins
- Parameters:
newTopMargin
- the new value of the 'Top Margin' attribute.- See Also:
Margins.getTopMargin()
-
getRightMargin
public int getRightMargin()
- Specified by:
getRightMargin
in interfaceMargins
- Returns:
- the value of the 'Right Margin' attribute.
- See Also:
Margins.setRightMargin(int)
,LayoutCalculationContextPackage.getMargins_RightMargin()
-
setRightMargin
public void setRightMargin(int newRightMargin)
- Specified by:
setRightMargin
in interfaceMargins
- Parameters:
newRightMargin
- the new value of the 'Right Margin' attribute.- See Also:
Margins.getRightMargin()
-
getBottomMargin
public int getBottomMargin()
- Specified by:
getBottomMargin
in interfaceMargins
- Returns:
- the value of the 'Bottom Margin' attribute.
- See Also:
Margins.setBottomMargin(int)
,LayoutCalculationContextPackage.getMargins_BottomMargin()
-
setBottomMargin
public void setBottomMargin(int newBottomMargin)
- Specified by:
setBottomMargin
in interfaceMargins
- Parameters:
newBottomMargin
- the new value of the 'Bottom Margin' attribute.- See Also:
Margins.getBottomMargin()
-
getLeftPadding
public int getLeftPadding()
- Specified by:
getLeftPadding
in interfaceMargins
- Returns:
- the value of the 'Left Padding' attribute.
- See Also:
Margins.setLeftPadding(int)
,LayoutCalculationContextPackage.getMargins_LeftPadding()
-
setLeftPadding
public void setLeftPadding(int newLeftPadding)
- Specified by:
setLeftPadding
in interfaceMargins
- Parameters:
newLeftPadding
- the new value of the 'Left Padding' attribute.- See Also:
Margins.getLeftPadding()
-
getTopPadding
public int getTopPadding()
- Specified by:
getTopPadding
in interfaceMargins
- Returns:
- the value of the 'Top Padding' attribute.
- See Also:
Margins.setTopPadding(int)
,LayoutCalculationContextPackage.getMargins_TopPadding()
-
setTopPadding
public void setTopPadding(int newTopPadding)
- Specified by:
setTopPadding
in interfaceMargins
- Parameters:
newTopPadding
- the new value of the 'Top Padding' attribute.- See Also:
Margins.getTopPadding()
-
getRightPadding
public int getRightPadding()
- Specified by:
getRightPadding
in interfaceMargins
- Returns:
- the value of the 'Right Padding' attribute.
- See Also:
Margins.setRightPadding(int)
,LayoutCalculationContextPackage.getMargins_RightPadding()
-
setRightPadding
public void setRightPadding(int newRightPadding)
- Specified by:
setRightPadding
in interfaceMargins
- Parameters:
newRightPadding
- the new value of the 'Right Padding' attribute.- See Also:
Margins.getRightPadding()
-
getBottomPadding
public int getBottomPadding()
- Specified by:
getBottomPadding
in interfaceMargins
- Returns:
- the value of the 'Bottom Padding' attribute.
- See Also:
Margins.setBottomPadding(int)
,LayoutCalculationContextPackage.getMargins_BottomPadding()
-
setBottomPadding
public void setBottomPadding(int newBottomPadding)
- Specified by:
setBottomPadding
in interfaceMargins
- Parameters:
newBottomPadding
- the new value of the 'Bottom Padding' attribute.- See Also:
Margins.getBottomPadding()
-
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
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-