Interface ToolBarItemViewModel
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ToolBarItemViewModelImpl
public interface ToolBarItemViewModel extends IViewModel
A representation of the model object 'Tool Bar Item View Model'. The view model for ToolBarItemThe following features are supported:
- See Also:
DtAefPackage.getToolBarItemViewModel()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.swt.graphics.Image
getImage()
Returns the value of the 'Image' attribute.int
getStyle()
Returns the value of the 'Style' attribute.String
getTooltipText()
Returns the value of the 'Tooltip Text' attribute.boolean
isEnabled()
Returns the value of the 'Enabled' attribute.boolean
isSelected()
Returns the value of the 'Selected' attribute.void
setEnabled(boolean value)
Sets the value of the 'Enabled
' attribute.void
setImage(org.eclipse.swt.graphics.Image value)
Sets the value of the 'Image
' attribute.void
setSelected(boolean value)
Sets the value of the 'Selected
' attribute.void
setStyle(int value)
Sets the value of the 'Style
' attribute.void
setTooltipText(String value)
Sets the value of the 'Tooltip Text
' attribute.-
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.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
-
-
-
-
Method Detail
-
getImage
org.eclipse.swt.graphics.Image getImage()
Returns the value of the 'Image' attribute. The image of the item- Returns:
- the value of the 'Image' attribute.
- See Also:
setImage(Image)
,DtAefPackage.getToolBarItemViewModel_Image()
-
setImage
void setImage(org.eclipse.swt.graphics.Image value)
Sets the value of the 'Image
' attribute.- Parameters:
value
- the new value of the 'Image' attribute.- See Also:
getImage()
-
getTooltipText
String getTooltipText()
Returns the value of the 'Tooltip Text' attribute. The default value is""
. The tooltip text of the item- Returns:
- the value of the 'Tooltip Text' attribute.
- See Also:
setTooltipText(String)
,DtAefPackage.getToolBarItemViewModel_TooltipText()
-
setTooltipText
void setTooltipText(String value)
Sets the value of the 'Tooltip Text
' attribute.- Parameters:
value
- the new value of the 'Tooltip Text' attribute.- See Also:
getTooltipText()
-
isEnabled
boolean isEnabled()
Returns the value of the 'Enabled' attribute. The default value is"true"
. The enabled state of the item- Returns:
- the value of the 'Enabled' attribute.
- See Also:
setEnabled(boolean)
,DtAefPackage.getToolBarItemViewModel_Enabled()
-
setEnabled
void setEnabled(boolean value)
Sets the value of the 'Enabled
' attribute.- Parameters:
value
- the new value of the 'Enabled' attribute.- See Also:
isEnabled()
-
isSelected
boolean isSelected()
Returns the value of the 'Selected' attribute. The selected state of the item- Returns:
- the value of the 'Selected' attribute.
- See Also:
setSelected(boolean)
,DtAefPackage.getToolBarItemViewModel_Selected()
-
setSelected
void setSelected(boolean value)
Sets the value of the 'Selected
' attribute.- Parameters:
value
- the new value of the 'Selected' attribute.- See Also:
isSelected()
-
getStyle
int getStyle()
Returns the value of the 'Style' attribute. The default value is"8"
. The toolbar item style- Returns:
- the value of the 'Style' attribute.
- See Also:
setStyle(int)
,DtAefPackage.getToolBarItemViewModel_Style()
-
setStyle
void setStyle(int value)
Sets the value of the 'Style
' attribute.- Parameters:
value
- the new value of the 'Style' attribute.- See Also:
getStyle()
-
-