Class AefGridLayoutImpl
- 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.AefGridLayoutImpl
-
- All Implemented Interfaces:
AefGridLayout
,IAefLayout
,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 AefGridLayoutImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements AefGridLayout
An implementation of the model object 'Aef Grid Layout'.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
HORIZONTAL_SPACING_EDEFAULT
The default value of the 'Horizontal Spacing
' attribute.protected int
horizontalSpacing
The cached value of the 'Horizontal Spacing
' attribute.protected static boolean
MAKE_COLUMNS_EQUAL_WIDTH_EDEFAULT
The default value of the 'Make Columns Equal Width
' attribute.protected boolean
makeColumnsEqualWidth
The cached value of the 'Make Columns Equal Width
' attribute.protected static int
MARGIN_BOTTOM_EDEFAULT
The default value of the 'Margin Bottom
' attribute.protected static int
MARGIN_HEIGHT_EDEFAULT
The default value of the 'Margin Height
' attribute.protected static int
MARGIN_LEFT_EDEFAULT
The default value of the 'Margin Left
' attribute.protected static int
MARGIN_RIGHT_EDEFAULT
The default value of the 'Margin Right
' attribute.protected static int
MARGIN_TOP_EDEFAULT
The default value of the 'Margin Top
' attribute.protected static int
MARGIN_WIDTH_EDEFAULT
The default value of the 'Margin Width
' attribute.protected int
marginBottom
The cached value of the 'Margin Bottom
' attribute.protected int
marginHeight
The cached value of the 'Margin Height
' attribute.protected int
marginLeft
The cached value of the 'Margin Left
' attribute.protected int
marginRight
The cached value of the 'Margin Right
' attribute.protected int
marginTop
The cached value of the 'Margin Top
' attribute.protected int
marginWidth
The cached value of the 'Margin Width
' attribute.protected static int
NUM_COLUMNS_EDEFAULT
The default value of the 'Num Columns
' attribute.protected int
numColumns
The cached value of the 'Num Columns
' attribute.protected static int
OPTIMIZED_LAYOUT_WIDTH_EDEFAULT
The default value of the 'Optimized Layout Width
' attribute.protected int
optimizedLayoutWidth
The cached value of the 'Optimized Layout Width
' attribute.protected static boolean
USE_OPTIMIZED_LAYOUT_EDEFAULT
The default value of the 'Use Optimized Layout
' attribute.protected boolean
useOptimizedLayout
The cached value of the 'Use Optimized Layout
' attribute.protected static int
VERTICAL_SPACING_EDEFAULT
The default value of the 'Vertical Spacing
' attribute.protected int
verticalSpacing
The cached value of the 'Vertical Spacing
' 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
AefGridLayoutImpl()
-
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
getHorizontalSpacing()
int
getMarginBottom()
int
getMarginHeight()
int
getMarginLeft()
int
getMarginRight()
int
getMarginTop()
int
getMarginWidth()
int
getNumColumns()
int
getOptimizedLayoutWidth()
int
getVerticalSpacing()
boolean
isMakeColumnsEqualWidth()
boolean
isUseOptimizedLayout()
void
setHorizontalSpacing(int newHorizontalSpacing)
void
setMakeColumnsEqualWidth(boolean newMakeColumnsEqualWidth)
void
setMarginBottom(int newMarginBottom)
void
setMarginHeight(int newMarginHeight)
void
setMarginLeft(int newMarginLeft)
void
setMarginRight(int newMarginRight)
void
setMarginTop(int newMarginTop)
void
setMarginWidth(int newMarginWidth)
void
setNumColumns(int newNumColumns)
void
setOptimizedLayoutWidth(int newOptimizedLayoutWidth)
void
setUseOptimizedLayout(boolean newUseOptimizedLayout)
void
setVerticalSpacing(int newVerticalSpacing)
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
-
NUM_COLUMNS_EDEFAULT
protected static final int NUM_COLUMNS_EDEFAULT
The default value of the 'Num Columns
' attribute.- See Also:
getNumColumns()
, Constant Field Values
-
numColumns
protected int numColumns
The cached value of the 'Num Columns
' attribute.- See Also:
getNumColumns()
-
MAKE_COLUMNS_EQUAL_WIDTH_EDEFAULT
protected static final boolean MAKE_COLUMNS_EQUAL_WIDTH_EDEFAULT
The default value of the 'Make Columns Equal Width
' attribute.- See Also:
isMakeColumnsEqualWidth()
, Constant Field Values
-
makeColumnsEqualWidth
protected boolean makeColumnsEqualWidth
The cached value of the 'Make Columns Equal Width
' attribute.- See Also:
isMakeColumnsEqualWidth()
-
MARGIN_WIDTH_EDEFAULT
protected static final int MARGIN_WIDTH_EDEFAULT
The default value of the 'Margin Width
' attribute.- See Also:
getMarginWidth()
, Constant Field Values
-
marginWidth
protected int marginWidth
The cached value of the 'Margin Width
' attribute.- See Also:
getMarginWidth()
-
MARGIN_HEIGHT_EDEFAULT
protected static final int MARGIN_HEIGHT_EDEFAULT
The default value of the 'Margin Height
' attribute.- See Also:
getMarginHeight()
, Constant Field Values
-
marginHeight
protected int marginHeight
The cached value of the 'Margin Height
' attribute.- See Also:
getMarginHeight()
-
MARGIN_LEFT_EDEFAULT
protected static final int MARGIN_LEFT_EDEFAULT
The default value of the 'Margin Left
' attribute.- See Also:
getMarginLeft()
, Constant Field Values
-
marginLeft
protected int marginLeft
The cached value of the 'Margin Left
' attribute.- See Also:
getMarginLeft()
-
MARGIN_TOP_EDEFAULT
protected static final int MARGIN_TOP_EDEFAULT
The default value of the 'Margin Top
' attribute.- See Also:
getMarginTop()
, Constant Field Values
-
marginTop
protected int marginTop
The cached value of the 'Margin Top
' attribute.- See Also:
getMarginTop()
-
MARGIN_RIGHT_EDEFAULT
protected static final int MARGIN_RIGHT_EDEFAULT
The default value of the 'Margin Right
' attribute.- See Also:
getMarginRight()
, Constant Field Values
-
marginRight
protected int marginRight
The cached value of the 'Margin Right
' attribute.- See Also:
getMarginRight()
-
MARGIN_BOTTOM_EDEFAULT
protected static final int MARGIN_BOTTOM_EDEFAULT
The default value of the 'Margin Bottom
' attribute.- See Also:
getMarginBottom()
, Constant Field Values
-
marginBottom
protected int marginBottom
The cached value of the 'Margin Bottom
' attribute.- See Also:
getMarginBottom()
-
HORIZONTAL_SPACING_EDEFAULT
protected static final int HORIZONTAL_SPACING_EDEFAULT
The default value of the 'Horizontal Spacing
' attribute.- See Also:
getHorizontalSpacing()
, Constant Field Values
-
horizontalSpacing
protected int horizontalSpacing
The cached value of the 'Horizontal Spacing
' attribute.- See Also:
getHorizontalSpacing()
-
VERTICAL_SPACING_EDEFAULT
protected static final int VERTICAL_SPACING_EDEFAULT
The default value of the 'Vertical Spacing
' attribute.- See Also:
getVerticalSpacing()
, Constant Field Values
-
verticalSpacing
protected int verticalSpacing
The cached value of the 'Vertical Spacing
' attribute.- See Also:
getVerticalSpacing()
-
USE_OPTIMIZED_LAYOUT_EDEFAULT
protected static final boolean USE_OPTIMIZED_LAYOUT_EDEFAULT
The default value of the 'Use Optimized Layout
' attribute.- See Also:
isUseOptimizedLayout()
, Constant Field Values
-
useOptimizedLayout
protected boolean useOptimizedLayout
The cached value of the 'Use Optimized Layout
' attribute.- See Also:
isUseOptimizedLayout()
-
OPTIMIZED_LAYOUT_WIDTH_EDEFAULT
protected static final int OPTIMIZED_LAYOUT_WIDTH_EDEFAULT
The default value of the 'Optimized Layout Width
' attribute.- See Also:
getOptimizedLayoutWidth()
, Constant Field Values
-
optimizedLayoutWidth
protected int optimizedLayoutWidth
The cached value of the 'Optimized Layout Width
' attribute.- See Also:
getOptimizedLayoutWidth()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getNumColumns
public int getNumColumns()
- Specified by:
getNumColumns
in interfaceAefGridLayout
- Returns:
- the value of the 'Num Columns' attribute.
- See Also:
AefGridLayout.setNumColumns(int)
,AefStandardPackage.getAefGridLayout_NumColumns()
-
setNumColumns
public void setNumColumns(int newNumColumns)
- Specified by:
setNumColumns
in interfaceAefGridLayout
- Parameters:
newNumColumns
- the new value of the 'Num Columns' attribute.- See Also:
AefGridLayout.getNumColumns()
-
isMakeColumnsEqualWidth
public boolean isMakeColumnsEqualWidth()
- Specified by:
isMakeColumnsEqualWidth
in interfaceAefGridLayout
- Returns:
- the value of the 'Make Columns Equal Width' attribute.
- See Also:
AefGridLayout.setMakeColumnsEqualWidth(boolean)
,AefStandardPackage.getAefGridLayout_MakeColumnsEqualWidth()
-
setMakeColumnsEqualWidth
public void setMakeColumnsEqualWidth(boolean newMakeColumnsEqualWidth)
- Specified by:
setMakeColumnsEqualWidth
in interfaceAefGridLayout
- Parameters:
newMakeColumnsEqualWidth
- the new value of the 'Make Columns Equal Width' attribute.- See Also:
AefGridLayout.isMakeColumnsEqualWidth()
-
getMarginWidth
public int getMarginWidth()
- Specified by:
getMarginWidth
in interfaceAefGridLayout
- Returns:
- the value of the 'Margin Width' attribute.
- See Also:
AefGridLayout.setMarginWidth(int)
,AefStandardPackage.getAefGridLayout_MarginWidth()
-
setMarginWidth
public void setMarginWidth(int newMarginWidth)
- Specified by:
setMarginWidth
in interfaceAefGridLayout
- Parameters:
newMarginWidth
- the new value of the 'Margin Width' attribute.- See Also:
AefGridLayout.getMarginWidth()
-
getMarginHeight
public int getMarginHeight()
- Specified by:
getMarginHeight
in interfaceAefGridLayout
- Returns:
- the value of the 'Margin Height' attribute.
- See Also:
AefGridLayout.setMarginHeight(int)
,AefStandardPackage.getAefGridLayout_MarginHeight()
-
setMarginHeight
public void setMarginHeight(int newMarginHeight)
- Specified by:
setMarginHeight
in interfaceAefGridLayout
- Parameters:
newMarginHeight
- the new value of the 'Margin Height' attribute.- See Also:
AefGridLayout.getMarginHeight()
-
getMarginLeft
public int getMarginLeft()
- Specified by:
getMarginLeft
in interfaceAefGridLayout
- Returns:
- the value of the 'Margin Left' attribute.
- See Also:
AefGridLayout.setMarginLeft(int)
,AefStandardPackage.getAefGridLayout_MarginLeft()
-
setMarginLeft
public void setMarginLeft(int newMarginLeft)
- Specified by:
setMarginLeft
in interfaceAefGridLayout
- Parameters:
newMarginLeft
- the new value of the 'Margin Left' attribute.- See Also:
AefGridLayout.getMarginLeft()
-
getMarginTop
public int getMarginTop()
- Specified by:
getMarginTop
in interfaceAefGridLayout
- Returns:
- the value of the 'Margin Top' attribute.
- See Also:
AefGridLayout.setMarginTop(int)
,AefStandardPackage.getAefGridLayout_MarginTop()
-
setMarginTop
public void setMarginTop(int newMarginTop)
- Specified by:
setMarginTop
in interfaceAefGridLayout
- Parameters:
newMarginTop
- the new value of the 'Margin Top' attribute.- See Also:
AefGridLayout.getMarginTop()
-
getMarginRight
public int getMarginRight()
- Specified by:
getMarginRight
in interfaceAefGridLayout
- Returns:
- the value of the 'Margin Right' attribute.
- See Also:
AefGridLayout.setMarginRight(int)
,AefStandardPackage.getAefGridLayout_MarginRight()
-
setMarginRight
public void setMarginRight(int newMarginRight)
- Specified by:
setMarginRight
in interfaceAefGridLayout
- Parameters:
newMarginRight
- the new value of the 'Margin Right' attribute.- See Also:
AefGridLayout.getMarginRight()
-
getMarginBottom
public int getMarginBottom()
- Specified by:
getMarginBottom
in interfaceAefGridLayout
- Returns:
- the value of the 'Margin Bottom' attribute.
- See Also:
AefGridLayout.setMarginBottom(int)
,AefStandardPackage.getAefGridLayout_MarginBottom()
-
setMarginBottom
public void setMarginBottom(int newMarginBottom)
- Specified by:
setMarginBottom
in interfaceAefGridLayout
- Parameters:
newMarginBottom
- the new value of the 'Margin Bottom' attribute.- See Also:
AefGridLayout.getMarginBottom()
-
getHorizontalSpacing
public int getHorizontalSpacing()
- Specified by:
getHorizontalSpacing
in interfaceAefGridLayout
- Returns:
- the value of the 'Horizontal Spacing' attribute.
- See Also:
AefGridLayout.setHorizontalSpacing(int)
,AefStandardPackage.getAefGridLayout_HorizontalSpacing()
-
setHorizontalSpacing
public void setHorizontalSpacing(int newHorizontalSpacing)
- Specified by:
setHorizontalSpacing
in interfaceAefGridLayout
- Parameters:
newHorizontalSpacing
- the new value of the 'Horizontal Spacing' attribute.- See Also:
AefGridLayout.getHorizontalSpacing()
-
getVerticalSpacing
public int getVerticalSpacing()
- Specified by:
getVerticalSpacing
in interfaceAefGridLayout
- Returns:
- the value of the 'Vertical Spacing' attribute.
- See Also:
AefGridLayout.setVerticalSpacing(int)
,AefStandardPackage.getAefGridLayout_VerticalSpacing()
-
setVerticalSpacing
public void setVerticalSpacing(int newVerticalSpacing)
- Specified by:
setVerticalSpacing
in interfaceAefGridLayout
- Parameters:
newVerticalSpacing
- the new value of the 'Vertical Spacing' attribute.- See Also:
AefGridLayout.getVerticalSpacing()
-
isUseOptimizedLayout
public boolean isUseOptimizedLayout()
- Specified by:
isUseOptimizedLayout
in interfaceAefGridLayout
- Returns:
- the value of the 'Use Optimized Layout' attribute.
- See Also:
AefGridLayout.setUseOptimizedLayout(boolean)
,AefStandardPackage.getAefGridLayout_UseOptimizedLayout()
-
setUseOptimizedLayout
public void setUseOptimizedLayout(boolean newUseOptimizedLayout)
- Specified by:
setUseOptimizedLayout
in interfaceAefGridLayout
- Parameters:
newUseOptimizedLayout
- the new value of the 'Use Optimized Layout' attribute.- See Also:
AefGridLayout.isUseOptimizedLayout()
-
getOptimizedLayoutWidth
public int getOptimizedLayoutWidth()
- Specified by:
getOptimizedLayoutWidth
in interfaceAefGridLayout
- Returns:
- the value of the 'Optimized Layout Width' attribute.
- See Also:
AefGridLayout.setOptimizedLayoutWidth(int)
,AefStandardPackage.getAefGridLayout_OptimizedLayoutWidth()
-
setOptimizedLayoutWidth
public void setOptimizedLayoutWidth(int newOptimizedLayoutWidth)
- Specified by:
setOptimizedLayoutWidth
in interfaceAefGridLayout
- Parameters:
newOptimizedLayoutWidth
- the new value of the 'Optimized Layout Width' attribute.- See Also:
AefGridLayout.getOptimizedLayoutWidth()
-
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
-
-