Interface MainElementGeneratorContext
-
- All Superinterfaces:
ElementBaseGeneratorContext
,ElementWithAutoCommandBarBaseGeneratorContext
,org.eclipse.emf.ecore.EObject
,GroupBaseGeneratorContext
,IElementGeneratorContext
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
MainElementGeneratorContextImpl
public interface MainElementGeneratorContext extends ElementWithAutoCommandBarBaseGeneratorContext, GroupBaseGeneratorContext
A representation of the model object 'Main Element Generator Context'.The following features are supported:
Generate Intermediate Main Layouter
Generate Intermediate Main Layouter Mode
Title
Hor Spacing
Ver Spacing
Children Align
Hor Algn
Ver Algn
PIntermediate Main Layouter
PNavigator
Top CB
Bottom CB
PMobile Transformations
Left Caption Command Text
Left Caption Command Tooltip
Left Caption Command Short Cut
Def Button Command Text
Def Button Command Tooltip
Def Button Command Short Cut
PRight Caption Command Bar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FormChildrenAlign
getChildrenAlign()
Returns the value of the 'Children Align' attribute.String
getDefButtonCommandShortCut()
Returns the value of the 'Def Button Command Short Cut' attribute.String
getDefButtonCommandText()
Returns the value of the 'Def Button Command Text' attribute.String
getDefButtonCommandTooltip()
Returns the value of the 'Def Button Command Tooltip' attribute.GenerateIntermediateMainLayouter
getGenerateIntermediateMainLayouterMode()
Returns the value of the 'Generate Intermediate Main Layouter Mode' attribute.ItemHorizontalAlignment
getHorAlgn()
Returns the value of the 'Hor Algn' attribute.FormItemSpacing
getHorSpacing()
Returns the value of the 'Hor Spacing' attribute.String
getLeftCaptionCommandShortCut()
Returns the value of the 'Left Caption Command Short Cut' attribute.String
getLeftCaptionCommandText()
Returns the value of the 'Left Caption Command Text' attribute.String
getLeftCaptionCommandTooltip()
Returns the value of the 'Left Caption Command Tooltip' attribute.ElementBaseGeneratorContext
getPIntermediateMainLayouter()
Returns the value of the 'PIntermediate Main Layouter' reference.MobileTransformations
getPMobileTransformations()
Returns the value of the 'PMobile Transformations' reference.ElementBaseGeneratorContext
getPNavigator()
Returns the value of the 'PNavigator' reference.CommandBarGeneratorContext
getPRightCaptionCommandBar()
Returns the value of the 'PRight Caption Command Bar' reference.String
getTitle()
Returns the value of the 'Title' attribute.ItemVerticalAlignment
getVerAlgn()
Returns the value of the 'Ver Algn' attribute.FormItemSpacing
getVerSpacing()
Returns the value of the 'Ver Spacing' attribute.void
init()
boolean
isBottomCB()
Returns the value of the 'Bottom CB' attribute.boolean
isGenerateIntermediateMainLayouter()
Returns the value of the 'Generate Intermediate Main Layouter' attribute.boolean
isTopCB()
Returns the value of the 'Top CB' attribute.void
setBottomCB(boolean value)
Sets the value of the 'Bottom CB
' attribute.void
setChildrenAlign(FormChildrenAlign value)
Sets the value of the 'Children Align
' attribute.void
setDefButtonCommandShortCut(String value)
Sets the value of the 'Def Button Command Short Cut
' attribute.void
setDefButtonCommandText(String value)
Sets the value of the 'Def Button Command Text
' attribute.void
setDefButtonCommandTooltip(String value)
Sets the value of the 'Def Button Command Tooltip
' attribute.void
setGenerateIntermediateMainLayouter(boolean value)
Sets the value of the 'Generate Intermediate Main Layouter
' attribute.void
setGenerateIntermediateMainLayouterMode(GenerateIntermediateMainLayouter value)
Sets the value of the 'Generate Intermediate Main Layouter Mode
' attribute.void
setHorAlgn(ItemHorizontalAlignment value)
Sets the value of the 'Hor Algn
' attribute.void
setHorSpacing(FormItemSpacing value)
Sets the value of the 'Hor Spacing
' attribute.void
setLeftCaptionCommandShortCut(String value)
Sets the value of the 'Left Caption Command Short Cut
' attribute.void
setLeftCaptionCommandText(String value)
Sets the value of the 'Left Caption Command Text
' attribute.void
setLeftCaptionCommandTooltip(String value)
Sets the value of the 'Left Caption Command Tooltip
' attribute.void
setPIntermediateMainLayouter(ElementBaseGeneratorContext value)
Sets the value of the 'PIntermediate Main Layouter
' reference.void
setPMobileTransformations(MobileTransformations value)
Sets the value of the 'PMobile Transformations
' reference.void
setPNavigator(ElementBaseGeneratorContext value)
Sets the value of the 'PNavigator
' reference.void
setPRightCaptionCommandBar(CommandBarGeneratorContext value)
Sets the value of the 'PRight Caption Command Bar
' reference.void
setTitle(String value)
Sets the value of the 'Title
' attribute.void
setTopCB(boolean value)
Sets the value of the 'Top CB
' attribute.void
setVerAlgn(ItemVerticalAlignment value)
Sets the value of the 'Ver Algn
' attribute.void
setVerSpacing(FormItemSpacing value)
Sets the value of the 'Ver Spacing
' attribute.-
Methods inherited from interface com._1c.g5.v8.dt.form.layout.model.generation.context.ElementBaseGeneratorContext
getInterfaceVariant, getPLogFormElement, getPParent, getTargetPlatform, setInterfaceVariant, setPLogFormElement, setPParent, setTargetPlatform
-
Methods inherited from interface com._1c.g5.v8.dt.form.layout.model.generation.context.ElementWithAutoCommandBarBaseGeneratorContext
getAcbLocation, getPAutoCommandBar, setAcbLocation, setPAutoCommandBar
-
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.generation.context.GroupBaseGeneratorContext
addChild, getChildren, isCompat8319, isCompat838, setCompat8319, setCompat838
-
-
-
-
Method Detail
-
isGenerateIntermediateMainLayouter
boolean isGenerateIntermediateMainLayouter()
Returns the value of the 'Generate Intermediate Main Layouter' attribute.- Returns:
- the value of the 'Generate Intermediate Main Layouter' attribute.
- See Also:
setGenerateIntermediateMainLayouter(boolean)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_GenerateIntermediateMainLayouter()
-
setGenerateIntermediateMainLayouter
void setGenerateIntermediateMainLayouter(boolean value)
Sets the value of the 'Generate Intermediate Main Layouter
' attribute.- Parameters:
value
- the new value of the 'Generate Intermediate Main Layouter' attribute.- See Also:
isGenerateIntermediateMainLayouter()
-
getGenerateIntermediateMainLayouterMode
GenerateIntermediateMainLayouter getGenerateIntermediateMainLayouterMode()
Returns the value of the 'Generate Intermediate Main Layouter Mode' attribute. The literals are from the enumerationGenerateIntermediateMainLayouter
.- Returns:
- the value of the 'Generate Intermediate Main Layouter Mode' attribute.
- See Also:
GenerateIntermediateMainLayouter
,setGenerateIntermediateMainLayouterMode(GenerateIntermediateMainLayouter)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_GenerateIntermediateMainLayouterMode()
-
setGenerateIntermediateMainLayouterMode
void setGenerateIntermediateMainLayouterMode(GenerateIntermediateMainLayouter value)
Sets the value of the 'Generate Intermediate Main Layouter Mode
' attribute.- Parameters:
value
- the new value of the 'Generate Intermediate Main Layouter Mode' attribute.- See Also:
GenerateIntermediateMainLayouter
,getGenerateIntermediateMainLayouterMode()
-
getTitle
String getTitle()
Returns the value of the 'Title' attribute. The default value is""
.- Returns:
- the value of the 'Title' attribute.
- See Also:
setTitle(String)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_Title()
-
setTitle
void setTitle(String value)
Sets the value of the 'Title
' attribute.- Parameters:
value
- the new value of the 'Title' attribute.- See Also:
getTitle()
-
getHorSpacing
FormItemSpacing getHorSpacing()
Returns the value of the 'Hor Spacing' attribute. The literals are from the enumerationFormItemSpacing
.- Returns:
- the value of the 'Hor Spacing' attribute.
- See Also:
FormItemSpacing
,setHorSpacing(FormItemSpacing)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_HorSpacing()
-
setHorSpacing
void setHorSpacing(FormItemSpacing value)
Sets the value of the 'Hor Spacing
' attribute.- Parameters:
value
- the new value of the 'Hor Spacing' attribute.- See Also:
FormItemSpacing
,getHorSpacing()
-
getVerSpacing
FormItemSpacing getVerSpacing()
Returns the value of the 'Ver Spacing' attribute. The literals are from the enumerationFormItemSpacing
.- Returns:
- the value of the 'Ver Spacing' attribute.
- See Also:
FormItemSpacing
,setVerSpacing(FormItemSpacing)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_VerSpacing()
-
setVerSpacing
void setVerSpacing(FormItemSpacing value)
Sets the value of the 'Ver Spacing
' attribute.- Parameters:
value
- the new value of the 'Ver Spacing' attribute.- See Also:
FormItemSpacing
,getVerSpacing()
-
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)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_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()
-
getHorAlgn
ItemHorizontalAlignment getHorAlgn()
Returns the value of the 'Hor Algn' attribute. The literals are from the enumerationItemHorizontalAlignment
.- Returns:
- the value of the 'Hor Algn' attribute.
- See Also:
ItemHorizontalAlignment
,setHorAlgn(ItemHorizontalAlignment)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_HorAlgn()
-
setHorAlgn
void setHorAlgn(ItemHorizontalAlignment value)
Sets the value of the 'Hor Algn
' attribute.- Parameters:
value
- the new value of the 'Hor Algn' attribute.- See Also:
ItemHorizontalAlignment
,getHorAlgn()
-
getVerAlgn
ItemVerticalAlignment getVerAlgn()
Returns the value of the 'Ver Algn' attribute. The literals are from the enumerationItemVerticalAlignment
.- Returns:
- the value of the 'Ver Algn' attribute.
- See Also:
ItemVerticalAlignment
,setVerAlgn(ItemVerticalAlignment)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_VerAlgn()
-
setVerAlgn
void setVerAlgn(ItemVerticalAlignment value)
Sets the value of the 'Ver Algn
' attribute.- Parameters:
value
- the new value of the 'Ver Algn' attribute.- See Also:
ItemVerticalAlignment
,getVerAlgn()
-
getPIntermediateMainLayouter
ElementBaseGeneratorContext getPIntermediateMainLayouter()
Returns the value of the 'PIntermediate Main Layouter' reference.- Returns:
- the value of the 'PIntermediate Main Layouter' reference.
- See Also:
setPIntermediateMainLayouter(ElementBaseGeneratorContext)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_PIntermediateMainLayouter()
-
setPIntermediateMainLayouter
void setPIntermediateMainLayouter(ElementBaseGeneratorContext value)
Sets the value of the 'PIntermediate Main Layouter
' reference.- Parameters:
value
- the new value of the 'PIntermediate Main Layouter' reference.- See Also:
getPIntermediateMainLayouter()
-
getPNavigator
ElementBaseGeneratorContext getPNavigator()
Returns the value of the 'PNavigator' reference.- Returns:
- the value of the 'PNavigator' reference.
- See Also:
setPNavigator(ElementBaseGeneratorContext)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_PNavigator()
-
setPNavigator
void setPNavigator(ElementBaseGeneratorContext value)
Sets the value of the 'PNavigator
' reference.- Parameters:
value
- the new value of the 'PNavigator' reference.- See Also:
getPNavigator()
-
isTopCB
boolean isTopCB()
Returns the value of the 'Top CB' attribute.- Returns:
- the value of the 'Top CB' attribute.
- See Also:
setTopCB(boolean)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_TopCB()
-
setTopCB
void setTopCB(boolean value)
Sets the value of the 'Top CB
' attribute.- Parameters:
value
- the new value of the 'Top CB' attribute.- See Also:
isTopCB()
-
isBottomCB
boolean isBottomCB()
Returns the value of the 'Bottom CB' attribute.- Returns:
- the value of the 'Bottom CB' attribute.
- See Also:
setBottomCB(boolean)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_BottomCB()
-
setBottomCB
void setBottomCB(boolean value)
Sets the value of the 'Bottom CB
' attribute.- Parameters:
value
- the new value of the 'Bottom CB' attribute.- See Also:
isBottomCB()
-
getPMobileTransformations
MobileTransformations getPMobileTransformations()
Returns the value of the 'PMobile Transformations' reference.- Returns:
- the value of the 'PMobile Transformations' reference.
- See Also:
setPMobileTransformations(MobileTransformations)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_PMobileTransformations()
-
setPMobileTransformations
void setPMobileTransformations(MobileTransformations value)
Sets the value of the 'PMobile Transformations
' reference.- Parameters:
value
- the new value of the 'PMobile Transformations' reference.- See Also:
getPMobileTransformations()
-
getLeftCaptionCommandText
String getLeftCaptionCommandText()
Returns the value of the 'Left Caption Command Text' attribute. The default value is""
.- Returns:
- the value of the 'Left Caption Command Text' attribute.
- See Also:
setLeftCaptionCommandText(String)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_LeftCaptionCommandText()
-
setLeftCaptionCommandText
void setLeftCaptionCommandText(String value)
Sets the value of the 'Left Caption Command Text
' attribute.- Parameters:
value
- the new value of the 'Left Caption Command Text' attribute.- See Also:
getLeftCaptionCommandText()
-
getLeftCaptionCommandTooltip
String getLeftCaptionCommandTooltip()
Returns the value of the 'Left Caption Command Tooltip' attribute. The default value is""
.- Returns:
- the value of the 'Left Caption Command Tooltip' attribute.
- See Also:
setLeftCaptionCommandTooltip(String)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_LeftCaptionCommandTooltip()
-
setLeftCaptionCommandTooltip
void setLeftCaptionCommandTooltip(String value)
Sets the value of the 'Left Caption Command Tooltip
' attribute.- Parameters:
value
- the new value of the 'Left Caption Command Tooltip' attribute.- See Also:
getLeftCaptionCommandTooltip()
-
getLeftCaptionCommandShortCut
String getLeftCaptionCommandShortCut()
Returns the value of the 'Left Caption Command Short Cut' attribute. The default value is""
.- Returns:
- the value of the 'Left Caption Command Short Cut' attribute.
- See Also:
setLeftCaptionCommandShortCut(String)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_LeftCaptionCommandShortCut()
-
setLeftCaptionCommandShortCut
void setLeftCaptionCommandShortCut(String value)
Sets the value of the 'Left Caption Command Short Cut
' attribute.- Parameters:
value
- the new value of the 'Left Caption Command Short Cut' attribute.- See Also:
getLeftCaptionCommandShortCut()
-
getDefButtonCommandText
String getDefButtonCommandText()
Returns the value of the 'Def Button Command Text' attribute. The default value is""
.- Returns:
- the value of the 'Def Button Command Text' attribute.
- See Also:
setDefButtonCommandText(String)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_DefButtonCommandText()
-
setDefButtonCommandText
void setDefButtonCommandText(String value)
Sets the value of the 'Def Button Command Text
' attribute.- Parameters:
value
- the new value of the 'Def Button Command Text' attribute.- See Also:
getDefButtonCommandText()
-
getDefButtonCommandTooltip
String getDefButtonCommandTooltip()
Returns the value of the 'Def Button Command Tooltip' attribute. The default value is""
.- Returns:
- the value of the 'Def Button Command Tooltip' attribute.
- See Also:
setDefButtonCommandTooltip(String)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_DefButtonCommandTooltip()
-
setDefButtonCommandTooltip
void setDefButtonCommandTooltip(String value)
Sets the value of the 'Def Button Command Tooltip
' attribute.- Parameters:
value
- the new value of the 'Def Button Command Tooltip' attribute.- See Also:
getDefButtonCommandTooltip()
-
getDefButtonCommandShortCut
String getDefButtonCommandShortCut()
Returns the value of the 'Def Button Command Short Cut' attribute. The default value is""
.- Returns:
- the value of the 'Def Button Command Short Cut' attribute.
- See Also:
setDefButtonCommandShortCut(String)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_DefButtonCommandShortCut()
-
setDefButtonCommandShortCut
void setDefButtonCommandShortCut(String value)
Sets the value of the 'Def Button Command Short Cut
' attribute.- Parameters:
value
- the new value of the 'Def Button Command Short Cut' attribute.- See Also:
getDefButtonCommandShortCut()
-
getPRightCaptionCommandBar
CommandBarGeneratorContext getPRightCaptionCommandBar()
Returns the value of the 'PRight Caption Command Bar' reference.- Returns:
- the value of the 'PRight Caption Command Bar' reference.
- See Also:
setPRightCaptionCommandBar(CommandBarGeneratorContext)
,LayoutGenerationContextPackage.getMainElementGeneratorContext_PRightCaptionCommandBar()
-
setPRightCaptionCommandBar
void setPRightCaptionCommandBar(CommandBarGeneratorContext value)
Sets the value of the 'PRight Caption Command Bar
' reference.- Parameters:
value
- the new value of the 'PRight Caption Command Bar' reference.- See Also:
getPRightCaptionCommandBar()
-
init
void init()
-
-