Interface FormGroupBaseTransformationContext<T extends HippoLayFormGroupBase,C extends FormGroupBaseCalculationContext>
-
- All Superinterfaces:
ElementBaseTransformationContext<T,C>
,org.eclipse.emf.ecore.EObject
,GroupBaseTransformationContext<T,C>
,LayoutVirtualGrid
,org.eclipse.emf.common.notify.Notifier
,RootBaseTransformationContext<T,C>
- All Known Subinterfaces:
FormattedAreaTransformationContext
,FormTransformationContext
,LogicGroupTransformationContext
,PageTransformationContext
,PanelTransformationContext
,SeparatePanelTransformationContext
- All Known Implementing Classes:
FormattedAreaTransformationContextImpl
,FormTransformationContextImpl
,LogicGroupTransformationContextImpl
,PageTransformationContextImpl
,PanelTransformationContextImpl
,SeparatePanelTransformationContextImpl
public interface FormGroupBaseTransformationContext<T extends HippoLayFormGroupBase,C extends FormGroupBaseCalculationContext> extends LayoutVirtualGrid, GroupBaseTransformationContext<T,C>
A representation of the model object 'Form Group Base Transformation Context'. * VerticalAlignment m_curChildrenVAlign - ItemVerticalAlignment curChildrenVAlign TODO move initialization to the transformation phase LFChildrenAlign m_childrenAlign - FormChildrenAlign childrenAlign TODO initialization form context mnodel and enablement from the strategy bool m_firstCallOfGetVariantFormGroupBase - Won't be transferred, assertion IHippoTransformatorMeasurer* m_pMeasurer - Won't be transferred, context of transformation ILogFormMobileInfoProvider* m_pMobileInfoProvider - Won't be transferred, context of transformation unsigned m_maxAlignedChildrenCount - int maxAlignedChildrenCount bool m_curGroupingVertical - boolean curGroupingVertical std::wstring m_slaveLogFormElementName - String slaveLogFormElementName std::wstring m_slaveBaseName - String slaveBaseName m_slaveHorGrouping - TODO check - it's unclear where is a slaveModel is called - so doesn't clear where this field belongs to m_childHorStoredVariantsCache - TODO implement cache in the internal state m_calcVerVariantEstimatesResCache - CalcVerVariantEstimatesResCache calcVerVariantEstimatesResCache bool m_constantRangesInit - boolean constantRangesInit unsigned m_constantRanges - int constantRangesThe following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EMap<HTVariantKey,CalcVerVariantEstimatesRes>
getCalcVerVariantEstimatesResCache()
Returns the value of the 'Calc Ver Variant Estimates Res Cache' map.org.eclipse.emf.common.util.EMap<HTVariantKey,List<ChildHorStoredVariant>>
getChildHorStoredVariantsCache()
Returns the value of the 'Child Hor Stored Variants Cache' map.FormChildrenAlign
getChildrenAlign()
Returns the value of the 'Children Align' attribute.int
getConstantRanges()
Returns the value of the 'Constant Ranges' attribute.int
getMaxAlignedChildrenCount()
Returns the value of the 'Max Aligned Children Count' attribute.MegaGroupTransformationContext
getMegaGroup()
Returns the value of the 'Mega Group' containment reference.MegaGroupTransformationContext
getPCB()
Returns the value of the 'PCB' reference.String
getSlaveBaseName()
Returns the value of the 'Slave Base Name' attribute.String
getSlaveLogFormElementName()
Returns the value of the 'Slave Log Form Element Name' attribute.boolean
isConstantRangesInit()
Returns the value of the 'Constant Ranges Init' attribute.boolean
isCurGroupingVertical()
Returns the value of the 'Cur Grouping Vertical' attribute.boolean
isSlaveEnableExternalAlign()
Returns the value of the 'Slave Enable External Align' attribute.boolean
isVerticalGrouping()
Returns the value of the 'Vertical Grouping' attribute.void
setChildrenAlign(FormChildrenAlign value)
Sets the value of the 'Children Align
' attribute.void
setConstantRanges(int value)
Sets the value of the 'Constant Ranges
' attribute.void
setConstantRangesInit(boolean value)
Sets the value of the 'Constant Ranges Init
' attribute.void
setCurGroupingVertical(boolean value)
Sets the value of the 'Cur Grouping Vertical
' attribute.void
setMaxAlignedChildrenCount(int value)
Sets the value of the 'Max Aligned Children Count
' attribute.void
setMegaGroup(MegaGroupTransformationContext value)
Sets the value of the 'Mega Group
' containment reference.void
setPCB(MegaGroupTransformationContext value)
Sets the value of the 'PCB
' reference.void
setSlaveBaseName(String value)
Sets the value of the 'Slave Base Name
' attribute.void
setSlaveEnableExternalAlign(boolean value)
Sets the value of the 'Slave Enable External Align
' attribute.void
setSlaveLogFormElementName(String value)
Sets the value of the 'Slave Log Form Element Name
' attribute.void
setVerticalGrouping(boolean value)
Sets the value of the 'Vertical Grouping
' attribute.-
Methods inherited from interface com._1c.g5.v8.dt.form.layout.model.transformation.context.ElementBaseTransformationContext
getOsInfo, isEnableAlignByExternalCondition, setEnableAlignByExternalCondition, setOsInfo
-
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 com._1c.g5.v8.dt.form.layout.model.transformation.context.GroupBaseTransformationContext
addChild, getChildren, remove
-
Methods inherited from interface com._1c.g5.v8.dt.form.layout.model.transformation.context.LayoutVirtualGrid
getChildrenGridHAlign, getChildrenGridVAlign, setChildrenGridHAlign, setChildrenGridVAlign
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com._1c.g5.v8.dt.form.layout.model.transformation.context.RootBaseTransformationContext
getAdditionalInfoProvider, getCalculationContext, getContainmentInfo, getLayoutElement, getParent, getVisualComputer, setAdditionalInfoProvider, setCalculationContext, setContainmentInfo, setLayoutElement, setParent, setVisualComputer
-
-
-
-
Method Detail
-
getChildrenAlign
FormChildrenAlign getChildrenAlign()
Returns the value of the 'Children Align' attribute. The literals are from the enumerationFormChildrenAlign
.- Returns:
- the value of the 'Children Align' attribute.
- See Also:
FormChildrenAlign
,setChildrenAlign(FormChildrenAlign)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_ChildrenAlign()
-
setChildrenAlign
void setChildrenAlign(FormChildrenAlign value)
Sets the value of the 'Children Align
' attribute.- Parameters:
value
- the new value of the 'Children Align' attribute.- See Also:
FormChildrenAlign
,getChildrenAlign()
-
getMaxAlignedChildrenCount
int getMaxAlignedChildrenCount()
Returns the value of the 'Max Aligned Children Count' attribute.- Returns:
- the value of the 'Max Aligned Children Count' attribute.
- See Also:
setMaxAlignedChildrenCount(int)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_MaxAlignedChildrenCount()
-
setMaxAlignedChildrenCount
void setMaxAlignedChildrenCount(int value)
Sets the value of the 'Max Aligned Children Count
' attribute.- Parameters:
value
- the new value of the 'Max Aligned Children Count' attribute.- See Also:
getMaxAlignedChildrenCount()
-
isCurGroupingVertical
boolean isCurGroupingVertical()
Returns the value of the 'Cur Grouping Vertical' attribute.- Returns:
- the value of the 'Cur Grouping Vertical' attribute.
- See Also:
setCurGroupingVertical(boolean)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_CurGroupingVertical()
-
setCurGroupingVertical
void setCurGroupingVertical(boolean value)
Sets the value of the 'Cur Grouping Vertical
' attribute.- Parameters:
value
- the new value of the 'Cur Grouping Vertical' attribute.- See Also:
isCurGroupingVertical()
-
getSlaveLogFormElementName
String getSlaveLogFormElementName()
Returns the value of the 'Slave Log Form Element Name' attribute.- Returns:
- the value of the 'Slave Log Form Element Name' attribute.
- See Also:
setSlaveLogFormElementName(String)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_SlaveLogFormElementName()
-
setSlaveLogFormElementName
void setSlaveLogFormElementName(String value)
Sets the value of the 'Slave Log Form Element Name
' attribute.- Parameters:
value
- the new value of the 'Slave Log Form Element Name' attribute.- See Also:
getSlaveLogFormElementName()
-
getSlaveBaseName
String getSlaveBaseName()
Returns the value of the 'Slave Base Name' attribute.- Returns:
- the value of the 'Slave Base Name' attribute.
- See Also:
setSlaveBaseName(String)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_SlaveBaseName()
-
setSlaveBaseName
void setSlaveBaseName(String value)
Sets the value of the 'Slave Base Name
' attribute.- Parameters:
value
- the new value of the 'Slave Base Name' attribute.- See Also:
getSlaveBaseName()
-
isSlaveEnableExternalAlign
boolean isSlaveEnableExternalAlign()
Returns the value of the 'Slave Enable External Align' attribute.- Returns:
- the value of the 'Slave Enable External Align' attribute.
- See Also:
setSlaveEnableExternalAlign(boolean)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_SlaveEnableExternalAlign()
-
setSlaveEnableExternalAlign
void setSlaveEnableExternalAlign(boolean value)
Sets the value of the 'Slave Enable External Align
' attribute.- Parameters:
value
- the new value of the 'Slave Enable External Align' attribute.- See Also:
isSlaveEnableExternalAlign()
-
getCalcVerVariantEstimatesResCache
org.eclipse.emf.common.util.EMap<HTVariantKey,CalcVerVariantEstimatesRes> getCalcVerVariantEstimatesResCache()
Returns the value of the 'Calc Ver Variant Estimates Res Cache' map. The key is of typeHTVariantKey
, and the value is of typeCalcVerVariantEstimatesRes
,- Returns:
- the value of the 'Calc Ver Variant Estimates Res Cache' map.
- See Also:
LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_CalcVerVariantEstimatesResCache()
-
getChildHorStoredVariantsCache
org.eclipse.emf.common.util.EMap<HTVariantKey,List<ChildHorStoredVariant>> getChildHorStoredVariantsCache()
Returns the value of the 'Child Hor Stored Variants Cache' map. The key is of typeHTVariantKey
, and the value is of typeList
,- Returns:
- the value of the 'Child Hor Stored Variants Cache' map.
- See Also:
LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_ChildHorStoredVariantsCache()
-
getPCB
MegaGroupTransformationContext getPCB()
Returns the value of the 'PCB' reference.- Returns:
- the value of the 'PCB' reference.
- See Also:
setPCB(MegaGroupTransformationContext)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_PCB()
-
setPCB
void setPCB(MegaGroupTransformationContext value)
Sets the value of the 'PCB
' reference.- Parameters:
value
- the new value of the 'PCB' reference.- See Also:
getPCB()
-
getMegaGroup
MegaGroupTransformationContext getMegaGroup()
Returns the value of the 'Mega Group' containment reference.- Returns:
- the value of the 'Mega Group' containment reference.
- See Also:
setMegaGroup(MegaGroupTransformationContext)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_MegaGroup()
-
setMegaGroup
void setMegaGroup(MegaGroupTransformationContext value)
Sets the value of the 'Mega Group
' containment reference.- Parameters:
value
- the new value of the 'Mega Group' containment reference.- See Also:
getMegaGroup()
-
isConstantRangesInit
boolean isConstantRangesInit()
Returns the value of the 'Constant Ranges Init' attribute.- Returns:
- the value of the 'Constant Ranges Init' attribute.
- See Also:
setConstantRangesInit(boolean)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_ConstantRangesInit()
-
setConstantRangesInit
void setConstantRangesInit(boolean value)
Sets the value of the 'Constant Ranges Init
' attribute.- Parameters:
value
- the new value of the 'Constant Ranges Init' attribute.- See Also:
isConstantRangesInit()
-
getConstantRanges
int getConstantRanges()
Returns the value of the 'Constant Ranges' attribute.- Returns:
- the value of the 'Constant Ranges' attribute.
- See Also:
setConstantRanges(int)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_ConstantRanges()
-
setConstantRanges
void setConstantRanges(int value)
Sets the value of the 'Constant Ranges
' attribute.- Parameters:
value
- the new value of the 'Constant Ranges' attribute.- See Also:
getConstantRanges()
-
isVerticalGrouping
boolean isVerticalGrouping()
Returns the value of the 'Vertical Grouping' attribute.- Returns:
- the value of the 'Vertical Grouping' attribute.
- See Also:
setVerticalGrouping(boolean)
,LayoutTransformationContextPackage.getFormGroupBaseTransformationContext_VerticalGrouping()
-
setVerticalGrouping
void setVerticalGrouping(boolean value)
Sets the value of the 'Vertical Grouping
' attribute.- Parameters:
value
- the new value of the 'Vertical Grouping' attribute.- See Also:
isVerticalGrouping()
-
-