Package com._1c.g5.v8.dt.form.model.impl
Class ButtonImpl
- 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.MinimalEStoreEObjectImpl
-
- com._1c.g5.v8.bm.core.BmObject
-
- com._1c.g5.v8.dt.mcore.impl.NamedElementImpl
-
- com._1c.g5.v8.dt.form.model.impl.FormItemImpl
-
- com._1c.g5.v8.dt.form.model.impl.DataItemImpl
-
- com._1c.g5.v8.dt.form.model.impl.ButtonImpl
-
- All Implemented Interfaces:
IBmObject
,Button
,DataItem
,ExtendedTooltipHolder
,ExtensionAdoptedProperty
,FormItem
,FormVisualEntity
,Titled
,TitleStyle
,Visible
,NamedElement
,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 ButtonImpl extends DataItemImpl implements Button
An implementation of the model object 'Button'.The following features are implemented:
Extended Tooltip
Type
Command Name
Parameter
Representation
Default Button
Only In All Actions
Width
Auto Max Width
Max Width
Min Width
Height
Auto Max Height
Max Height
Horizontal Stretch
Vertical Stretch
Group Horizontal Align
Group Vertical Align
Placement Area
Check
Text Color
Back Color
Border Color
Font
Picture
Tool Tip Representation
Representation In Context Menu
Shape
Shape Representation
Picture Location
Location In Command Bar
Command Uniqueness
On Main Server Unavalable Behavior
-
-
Nested Class Summary
-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ButtonImpl()
-
Method Summary
-
Methods inherited from class com._1c.g5.v8.dt.form.model.impl.DataItemImpl
getAdopted, getDataPath, getShortcut, getSkipOnInput, getTitle, getTitleBackColor, getTitleFont, getTitleHeight, getTitleLocation, getTitleTextColor, getUnchanged, getUserVisible, isDefaultItem, isEnabled, isVisible, setAdopted, setDataPath, setDefaultItem, setEnabled, setShortcut, setSkipOnInput, setTitleBackColor, setTitleFont, setTitleHeight, setTitleLocation, setTitleTextColor, setUnchanged, setUserVisible, setVisible
-
Methods inherited from class com._1c.g5.v8.dt.form.model.impl.FormItemImpl
getDisplayImportance, getId, getUserChangedProperties, setDisplayImportance, setId
-
Methods inherited from class com._1c.g5.v8.dt.mcore.impl.NamedElementImpl
eStaticFeatureCount, getName, setName
-
Methods inherited from class com._1c.g5.v8.bm.core.BmObject
bmGetEngine, bmGetFqn, bmGetId, bmGetProperties, bmGetProperty, bmGetReferences, bmGetResourceId, bmGetTopObject, bmGetTransaction, bmGetUri, bmGetUriAsString, bmIsTop, bmIsTransient, bmListBinaryData, bmReadBinaryData, bmRemoveBinaryData, bmSetProperty, bmWriteBinaryData, createFeatureMap, createList, dynamicGet, dynamicSet, dynamicUnset, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDirectResource, eGet, eHasSettings, eInternalContainer, eInternalResource, eInverseAdd, eNotificationRequired, eNotify, equals, eResolveProxy, eSetDirectResource, eSetStore, eSettings, eStore, hashCode
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID, eDynamicIsSet, eIsCaching
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eDynamicClass, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResource, eSet, eSet, eSetResource, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.DataItem
getDataPath, getShortcut, getSkipOnInput, getTitleBackColor, getTitleHeight, getTitleLocation, isDefaultItem, setDataPath, setDefaultItem, setShortcut, setSkipOnInput, setTitleBackColor, setTitleHeight, setTitleLocation
-
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.model.ExtensionAdoptedProperty
getAdopted, getUnchanged, setAdopted, setUnchanged
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.FormItem
getDisplayImportance, getId, setDisplayImportance, setId
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.FormVisualEntity
getUserChangedProperties
-
Methods inherited from interface com._1c.g5.v8.bm.core.IBmObject
bmGetEngine, bmGetFqn, bmGetId, bmGetProperties, bmGetProperty, bmGetReferences, bmGetResourceId, bmGetTopObject, bmGetTransaction, bmGetUri, bmGetUriAsString, bmIsTop, bmIsTransient, bmListBinaryData, bmReadBinaryData, bmRemoveBinaryData, bmSetProperty, bmWriteBinaryData
-
Methods inherited from interface com._1c.g5.v8.dt.mcore.NamedElement
getName, setName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.TitleStyle
getTitleFont, getTitleTextColor, setTitleFont, setTitleTextColor
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.Visible
getUserVisible, isEnabled, isVisible, setEnabled, setUserVisible, setVisible
-
-
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classDataItemImpl
-
getExtendedTooltip
public ExtendedTooltip getExtendedTooltip()
- Specified by:
getExtendedTooltip
in interfaceExtendedTooltipHolder
- Returns:
- the value of the 'Extended Tooltip' containment reference.
- See Also:
ExtendedTooltipHolder.setExtendedTooltip(ExtendedTooltip)
,FormPackage.getExtendedTooltipHolder_ExtendedTooltip()
-
setExtendedTooltip
public void setExtendedTooltip(ExtendedTooltip newExtendedTooltip)
- Specified by:
setExtendedTooltip
in interfaceExtendedTooltipHolder
- Parameters:
newExtendedTooltip
- the new value of the 'Extended Tooltip' containment reference.- See Also:
ExtendedTooltipHolder.getExtendedTooltip()
-
getType
public ManagedFormButtonType getType()
- Specified by:
getType
in interfaceButton
- Returns:
- the value of the 'Type' attribute.
- See Also:
ManagedFormButtonType
,Button.setType(ManagedFormButtonType)
,FormPackage.getButton_Type()
-
setType
public void setType(ManagedFormButtonType newType)
- Specified by:
setType
in interfaceButton
- Parameters:
newType
- the new value of the 'Type' attribute.- See Also:
ManagedFormButtonType
,Button.getType()
-
getCommandName
public Command getCommandName()
- Specified by:
getCommandName
in interfaceButton
- Returns:
- the value of the 'Command Name' reference.
- See Also:
Button.setCommandName(Command)
,FormPackage.getButton_CommandName()
-
setCommandName
public void setCommandName(Command newCommandName)
- Specified by:
setCommandName
in interfaceButton
- Parameters:
newCommandName
- the new value of the 'Command Name' reference.- See Also:
Button.getCommandName()
-
getParameter
public Value getParameter()
- Specified by:
getParameter
in interfaceButton
- Returns:
- the value of the 'Parameter' containment reference.
- See Also:
Button.setParameter(Value)
,FormPackage.getButton_Parameter()
-
setParameter
public void setParameter(Value newParameter)
- Specified by:
setParameter
in interfaceButton
- Parameters:
newParameter
- the new value of the 'Parameter' containment reference.- See Also:
Button.getParameter()
-
getRepresentation
public ButtonRepresentation getRepresentation()
- Specified by:
getRepresentation
in interfaceButton
- Returns:
- the value of the 'Representation' attribute.
- See Also:
ButtonRepresentation
,Button.setRepresentation(ButtonRepresentation)
,FormPackage.getButton_Representation()
-
setRepresentation
public void setRepresentation(ButtonRepresentation newRepresentation)
- Specified by:
setRepresentation
in interfaceButton
- Parameters:
newRepresentation
- the new value of the 'Representation' attribute.- See Also:
ButtonRepresentation
,Button.getRepresentation()
-
isDefaultButton
public boolean isDefaultButton()
- Specified by:
isDefaultButton
in interfaceButton
- Returns:
- the value of the 'Default Button' attribute.
- See Also:
Button.setDefaultButton(boolean)
,FormPackage.getButton_DefaultButton()
-
setDefaultButton
public void setDefaultButton(boolean newDefaultButton)
- Specified by:
setDefaultButton
in interfaceButton
- Parameters:
newDefaultButton
- the new value of the 'Default Button' attribute.- See Also:
Button.isDefaultButton()
-
getOnlyInAllActions
public Boolean getOnlyInAllActions()
- Specified by:
getOnlyInAllActions
in interfaceButton
- Returns:
- the value of the 'Only In All Actions' attribute.
- See Also:
Button.setOnlyInAllActions(Boolean)
,FormPackage.getButton_OnlyInAllActions()
-
setOnlyInAllActions
public void setOnlyInAllActions(Boolean newOnlyInAllActions)
- Specified by:
setOnlyInAllActions
in interfaceButton
- Parameters:
newOnlyInAllActions
- the new value of the 'Only In All Actions' attribute.- See Also:
Button.getOnlyInAllActions()
-
getWidth
public int getWidth()
- Specified by:
getWidth
in interfaceButton
- Returns:
- the value of the 'Width' attribute.
- See Also:
Button.setWidth(int)
,FormPackage.getButton_Width()
-
setWidth
public void setWidth(int newWidth)
- Specified by:
setWidth
in interfaceButton
- Parameters:
newWidth
- the new value of the 'Width' attribute.- See Also:
Button.getWidth()
-
isAutoMaxWidth
public boolean isAutoMaxWidth()
- Specified by:
isAutoMaxWidth
in interfaceButton
- Returns:
- the value of the 'Auto Max Width' attribute.
- See Also:
Button.setAutoMaxWidth(boolean)
,FormPackage.getButton_AutoMaxWidth()
-
setAutoMaxWidth
public void setAutoMaxWidth(boolean newAutoMaxWidth)
- Specified by:
setAutoMaxWidth
in interfaceButton
- Parameters:
newAutoMaxWidth
- the new value of the 'Auto Max Width' attribute.- See Also:
Button.isAutoMaxWidth()
-
getMaxWidth
public int getMaxWidth()
- Specified by:
getMaxWidth
in interfaceButton
- Returns:
- the value of the 'Max Width' attribute.
- See Also:
Button.setMaxWidth(int)
,FormPackage.getButton_MaxWidth()
-
setMaxWidth
public void setMaxWidth(int newMaxWidth)
- Specified by:
setMaxWidth
in interfaceButton
- Parameters:
newMaxWidth
- the new value of the 'Max Width' attribute.- See Also:
Button.getMaxWidth()
-
getMinWidth
public int getMinWidth()
- Specified by:
getMinWidth
in interfaceButton
- Returns:
- the value of the 'Min Width' attribute.
- See Also:
Button.setMinWidth(int)
,FormPackage.getButton_MinWidth()
-
setMinWidth
public void setMinWidth(int newMinWidth)
- Specified by:
setMinWidth
in interfaceButton
- Parameters:
newMinWidth
- the new value of the 'Min Width' attribute.- See Also:
Button.getMinWidth()
-
getHeight
public int getHeight()
- Specified by:
getHeight
in interfaceButton
- Returns:
- the value of the 'Height' attribute.
- See Also:
Button.setHeight(int)
,FormPackage.getButton_Height()
-
setHeight
public void setHeight(int newHeight)
- Specified by:
setHeight
in interfaceButton
- Parameters:
newHeight
- the new value of the 'Height' attribute.- See Also:
Button.getHeight()
-
isAutoMaxHeight
public boolean isAutoMaxHeight()
- Specified by:
isAutoMaxHeight
in interfaceButton
- Returns:
- the value of the 'Auto Max Height' attribute.
- See Also:
Button.setAutoMaxHeight(boolean)
,FormPackage.getButton_AutoMaxHeight()
-
setAutoMaxHeight
public void setAutoMaxHeight(boolean newAutoMaxHeight)
- Specified by:
setAutoMaxHeight
in interfaceButton
- Parameters:
newAutoMaxHeight
- the new value of the 'Auto Max Height' attribute.- See Also:
Button.isAutoMaxHeight()
-
getMaxHeight
public int getMaxHeight()
- Specified by:
getMaxHeight
in interfaceButton
- Returns:
- the value of the 'Max Height' attribute.
- See Also:
Button.setMaxHeight(int)
,FormPackage.getButton_MaxHeight()
-
setMaxHeight
public void setMaxHeight(int newMaxHeight)
- Specified by:
setMaxHeight
in interfaceButton
- Parameters:
newMaxHeight
- the new value of the 'Max Height' attribute.- See Also:
Button.getMaxHeight()
-
isHorizontalStretch
public boolean isHorizontalStretch()
- Specified by:
isHorizontalStretch
in interfaceButton
- Returns:
- the value of the 'Horizontal Stretch' attribute.
- See Also:
Button.setHorizontalStretch(boolean)
,FormPackage.getButton_HorizontalStretch()
-
setHorizontalStretch
public void setHorizontalStretch(boolean newHorizontalStretch)
- Specified by:
setHorizontalStretch
in interfaceButton
- Parameters:
newHorizontalStretch
- the new value of the 'Horizontal Stretch' attribute.- See Also:
Button.isHorizontalStretch()
-
isVerticalStretch
public boolean isVerticalStretch()
- Specified by:
isVerticalStretch
in interfaceButton
- Returns:
- the value of the 'Vertical Stretch' attribute.
- See Also:
Button.setVerticalStretch(boolean)
,FormPackage.getButton_VerticalStretch()
-
setVerticalStretch
public void setVerticalStretch(boolean newVerticalStretch)
- Specified by:
setVerticalStretch
in interfaceButton
- Parameters:
newVerticalStretch
- the new value of the 'Vertical Stretch' attribute.- See Also:
Button.isVerticalStretch()
-
getGroupHorizontalAlign
public ItemHorizontalAlignment getGroupHorizontalAlign()
- Specified by:
getGroupHorizontalAlign
in interfaceButton
- Returns:
- the value of the 'Group Horizontal Align' attribute.
- See Also:
ItemHorizontalAlignment
,Button.setGroupHorizontalAlign(ItemHorizontalAlignment)
,FormPackage.getButton_GroupHorizontalAlign()
-
setGroupHorizontalAlign
public void setGroupHorizontalAlign(ItemHorizontalAlignment newGroupHorizontalAlign)
- Specified by:
setGroupHorizontalAlign
in interfaceButton
- Parameters:
newGroupHorizontalAlign
- the new value of the 'Group Horizontal Align' attribute.- See Also:
ItemHorizontalAlignment
,Button.getGroupHorizontalAlign()
-
getGroupVerticalAlign
public ItemVerticalAlignment getGroupVerticalAlign()
- Specified by:
getGroupVerticalAlign
in interfaceButton
- Returns:
- the value of the 'Group Vertical Align' attribute.
- See Also:
ItemVerticalAlignment
,Button.setGroupVerticalAlign(ItemVerticalAlignment)
,FormPackage.getButton_GroupVerticalAlign()
-
setGroupVerticalAlign
public void setGroupVerticalAlign(ItemVerticalAlignment newGroupVerticalAlign)
- Specified by:
setGroupVerticalAlign
in interfaceButton
- Parameters:
newGroupVerticalAlign
- the new value of the 'Group Vertical Align' attribute.- See Also:
ItemVerticalAlignment
,Button.getGroupVerticalAlign()
-
getPlacementArea
public MenuElementPlacementArea getPlacementArea()
- Specified by:
getPlacementArea
in interfaceButton
- Returns:
- the value of the 'Placement Area' attribute.
- See Also:
MenuElementPlacementArea
,Button.setPlacementArea(MenuElementPlacementArea)
,FormPackage.getButton_PlacementArea()
-
setPlacementArea
public void setPlacementArea(MenuElementPlacementArea newPlacementArea)
- Specified by:
setPlacementArea
in interfaceButton
- Parameters:
newPlacementArea
- the new value of the 'Placement Area' attribute.- See Also:
MenuElementPlacementArea
,Button.getPlacementArea()
-
isCheck
public boolean isCheck()
- Specified by:
isCheck
in interfaceButton
- Returns:
- the value of the 'Check' attribute.
- See Also:
Button.setCheck(boolean)
,FormPackage.getButton_Check()
-
setCheck
public void setCheck(boolean newCheck)
- Specified by:
setCheck
in interfaceButton
- Parameters:
newCheck
- the new value of the 'Check' attribute.- See Also:
Button.isCheck()
-
getTextColor
public Color getTextColor()
- Specified by:
getTextColor
in interfaceButton
- Returns:
- the value of the 'Text Color' containment reference.
- See Also:
Button.setTextColor(Color)
,FormPackage.getButton_TextColor()
-
setTextColor
public void setTextColor(Color newTextColor)
- Specified by:
setTextColor
in interfaceButton
- Parameters:
newTextColor
- the new value of the 'Text Color' containment reference.- See Also:
Button.getTextColor()
-
getBackColor
public Color getBackColor()
- Specified by:
getBackColor
in interfaceButton
- Returns:
- the value of the 'Back Color' containment reference.
- See Also:
Button.setBackColor(Color)
,FormPackage.getButton_BackColor()
-
setBackColor
public void setBackColor(Color newBackColor)
- Specified by:
setBackColor
in interfaceButton
- Parameters:
newBackColor
- the new value of the 'Back Color' containment reference.- See Also:
Button.getBackColor()
-
getBorderColor
public Color getBorderColor()
- Specified by:
getBorderColor
in interfaceButton
- Returns:
- the value of the 'Border Color' containment reference.
- See Also:
Button.setBorderColor(Color)
,FormPackage.getButton_BorderColor()
-
setBorderColor
public void setBorderColor(Color newBorderColor)
- Specified by:
setBorderColor
in interfaceButton
- Parameters:
newBorderColor
- the new value of the 'Border Color' containment reference.- See Also:
Button.getBorderColor()
-
getFont
public Font getFont()
- Specified by:
getFont
in interfaceButton
- Returns:
- the value of the 'Font' containment reference.
- See Also:
Button.setFont(Font)
,FormPackage.getButton_Font()
-
setFont
public void setFont(Font newFont)
- Specified by:
setFont
in interfaceButton
- Parameters:
newFont
- the new value of the 'Font' containment reference.- See Also:
Button.getFont()
-
getPicture
public Picture getPicture()
- Specified by:
getPicture
in interfaceButton
- Returns:
- the value of the 'Picture' containment reference.
- See Also:
Button.setPicture(Picture)
,FormPackage.getButton_Picture()
-
setPicture
public void setPicture(Picture newPicture)
- Specified by:
setPicture
in interfaceButton
- Parameters:
newPicture
- the new value of the 'Picture' containment reference.- See Also:
Button.getPicture()
-
getToolTipRepresentation
public TooltipRepresentation getToolTipRepresentation()
- Specified by:
getToolTipRepresentation
in interfaceButton
- Returns:
- the value of the 'Tool Tip Representation' attribute.
- See Also:
TooltipRepresentation
,Button.isSetToolTipRepresentation()
,Button.unsetToolTipRepresentation()
,Button.setToolTipRepresentation(TooltipRepresentation)
,FormPackage.getButton_ToolTipRepresentation()
-
setToolTipRepresentation
public void setToolTipRepresentation(TooltipRepresentation newToolTipRepresentation)
- Specified by:
setToolTipRepresentation
in interfaceButton
- Parameters:
newToolTipRepresentation
- the new value of the 'Tool Tip Representation' attribute.- See Also:
TooltipRepresentation
,Button.isSetToolTipRepresentation()
,Button.unsetToolTipRepresentation()
,Button.getToolTipRepresentation()
-
unsetToolTipRepresentation
public void unsetToolTipRepresentation()
- Specified by:
unsetToolTipRepresentation
in interfaceButton
- See Also:
Button.isSetToolTipRepresentation()
,Button.getToolTipRepresentation()
,Button.setToolTipRepresentation(TooltipRepresentation)
-
isSetToolTipRepresentation
public boolean isSetToolTipRepresentation()
- Specified by:
isSetToolTipRepresentation
in interfaceButton
- Returns:
- whether the value of the 'Tool Tip Representation' attribute is set.
- See Also:
Button.unsetToolTipRepresentation()
,Button.getToolTipRepresentation()
,Button.setToolTipRepresentation(TooltipRepresentation)
-
getRepresentationInContextMenu
public RepresentationInContextMenu getRepresentationInContextMenu()
- Specified by:
getRepresentationInContextMenu
in interfaceButton
- Returns:
- the value of the 'Representation In Context Menu' attribute.
- See Also:
RepresentationInContextMenu
,Button.setRepresentationInContextMenu(RepresentationInContextMenu)
,FormPackage.getButton_RepresentationInContextMenu()
-
setRepresentationInContextMenu
public void setRepresentationInContextMenu(RepresentationInContextMenu newRepresentationInContextMenu)
- Specified by:
setRepresentationInContextMenu
in interfaceButton
- Parameters:
newRepresentationInContextMenu
- the new value of the 'Representation In Context Menu' attribute.- See Also:
RepresentationInContextMenu
,Button.getRepresentationInContextMenu()
-
getShape
public ButtonShape getShape()
- Specified by:
getShape
in interfaceButton
- Returns:
- the value of the 'Shape' attribute.
- See Also:
ButtonShape
,Button.setShape(ButtonShape)
,FormPackage.getButton_Shape()
-
setShape
public void setShape(ButtonShape newShape)
- Specified by:
setShape
in interfaceButton
- Parameters:
newShape
- the new value of the 'Shape' attribute.- See Also:
ButtonShape
,Button.getShape()
-
getShapeRepresentation
public ButtonShapeRepresentation getShapeRepresentation()
- Specified by:
getShapeRepresentation
in interfaceButton
- Returns:
- the value of the 'Shape Representation' attribute.
- See Also:
ButtonShapeRepresentation
,Button.setShapeRepresentation(ButtonShapeRepresentation)
,FormPackage.getButton_ShapeRepresentation()
-
setShapeRepresentation
public void setShapeRepresentation(ButtonShapeRepresentation newShapeRepresentation)
- Specified by:
setShapeRepresentation
in interfaceButton
- Parameters:
newShapeRepresentation
- the new value of the 'Shape Representation' attribute.- See Also:
ButtonShapeRepresentation
,Button.getShapeRepresentation()
-
getPictureLocation
public FormButtonPictureLocation getPictureLocation()
- Specified by:
getPictureLocation
in interfaceButton
- Returns:
- the value of the 'Picture Location' attribute.
- See Also:
FormButtonPictureLocation
,Button.setPictureLocation(FormButtonPictureLocation)
,FormPackage.getButton_PictureLocation()
-
setPictureLocation
public void setPictureLocation(FormButtonPictureLocation newPictureLocation)
- Specified by:
setPictureLocation
in interfaceButton
- Parameters:
newPictureLocation
- the new value of the 'Picture Location' attribute.- See Also:
FormButtonPictureLocation
,Button.getPictureLocation()
-
getLocationInCommandBar
public ButtonLocationInCommandBar getLocationInCommandBar()
- Specified by:
getLocationInCommandBar
in interfaceButton
- Returns:
- the value of the 'Location In Command Bar' attribute.
- See Also:
ButtonLocationInCommandBar
,Button.setLocationInCommandBar(ButtonLocationInCommandBar)
,FormPackage.getButton_LocationInCommandBar()
-
setLocationInCommandBar
public void setLocationInCommandBar(ButtonLocationInCommandBar newLocationInCommandBar)
- Specified by:
setLocationInCommandBar
in interfaceButton
- Parameters:
newLocationInCommandBar
- the new value of the 'Location In Command Bar' attribute.- See Also:
ButtonLocationInCommandBar
,Button.getLocationInCommandBar()
-
isCommandUniqueness
public boolean isCommandUniqueness()
- Specified by:
isCommandUniqueness
in interfaceButton
- Returns:
- the value of the 'Command Uniqueness' attribute.
- See Also:
Button.setCommandUniqueness(boolean)
,FormPackage.getButton_CommandUniqueness()
-
setCommandUniqueness
public void setCommandUniqueness(boolean newCommandUniqueness)
- Specified by:
setCommandUniqueness
in interfaceButton
- Parameters:
newCommandUniqueness
- the new value of the 'Command Uniqueness' attribute.- See Also:
Button.isCommandUniqueness()
-
getOnMainServerUnavalableBehavior
public OnMainServerUnavalableBehavior getOnMainServerUnavalableBehavior()
- Specified by:
getOnMainServerUnavalableBehavior
in interfaceButton
- Returns:
- the value of the 'On Main Server Unavalable Behavior' attribute.
- See Also:
OnMainServerUnavalableBehavior
,Button.setOnMainServerUnavalableBehavior(OnMainServerUnavalableBehavior)
,FormPackage.getButton_OnMainServerUnavalableBehavior()
-
setOnMainServerUnavalableBehavior
public void setOnMainServerUnavalableBehavior(OnMainServerUnavalableBehavior newOnMainServerUnavalableBehavior)
- Specified by:
setOnMainServerUnavalableBehavior
in interfaceButton
- Parameters:
newOnMainServerUnavalableBehavior
- the new value of the 'On Main Server Unavalable Behavior' attribute.- See Also:
OnMainServerUnavalableBehavior
,Button.getOnMainServerUnavalableBehavior()
-
validate
public boolean validate(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eBaseStructuralFeatureID
in classDataItemImpl
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classDataItemImpl
-
eInvoke
public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException
- Specified by:
eInvoke
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eInvoke
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Throws:
InvocationTargetException
-
-