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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.swt.graphics.ImagegetImage()Returns the value of the 'Image' attribute.intgetStyle()Returns the value of the 'Style' attribute.StringgetTooltipText()Returns the value of the 'Tooltip Text' attribute.booleanisEnabled()Returns the value of the 'Enabled' attribute.booleanisSelected()Returns the value of the 'Selected' attribute.voidsetEnabled(boolean value)Sets the value of the 'Enabled' attribute.voidsetImage(org.eclipse.swt.graphics.Image value)Sets the value of the 'Image' attribute.voidsetSelected(boolean value)Sets the value of the 'Selected' attribute.voidsetStyle(int value)Sets the value of the 'Style' attribute.voidsetTooltipText(String value)Sets the value of the 'Tooltip Text' attribute.- 
Methods inherited from interface org.eclipse.emf.ecore.EObjecteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 - 
Methods inherited from interface com._1c.g5.aef2.viewModels.IViewModelgetEventChannel, getParent, setEventChannel, setParent
 
- 
 
- 
- 
- 
Method Detail- 
getImageorg.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()
 
 - 
setImagevoid 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()
 
 - 
getTooltipTextString 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()
 
 - 
setTooltipTextvoid setTooltipText(String value) Sets the value of the 'Tooltip Text' attribute.- Parameters:
- value- the new value of the 'Tooltip Text' attribute.
- See Also:
- getTooltipText()
 
 - 
isEnabledboolean 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()
 
 - 
setEnabledvoid setEnabled(boolean value) Sets the value of the 'Enabled' attribute.- Parameters:
- value- the new value of the 'Enabled' attribute.
- See Also:
- isEnabled()
 
 - 
isSelectedboolean 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()
 
 - 
setSelectedvoid setSelected(boolean value) Sets the value of the 'Selected' attribute.- Parameters:
- value- the new value of the 'Selected' attribute.
- See Also:
- isSelected()
 
 - 
getStyleint 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()
 
 - 
setStylevoid setStyle(int value) Sets the value of the 'Style' attribute.- Parameters:
- value- the new value of the 'Style' attribute.
- See Also:
- getStyle()
 
 
- 
 
-