public interface IDiagramCommand
Modifier and Type | Method and Description |
---|---|
org.eclipse.jface.resource.ImageDescriptor |
getBitmap()
Get the command's bitmap.
|
String |
getLabel()
Get the name of the command.
|
String |
getTooltip()
Gets the tooltip of this command.
|
void |
setBitmap(org.eclipse.jface.resource.ImageDescriptor image)
Set the command's bitmap.
|
void |
setLabel(String label)
Set the name of the command.
|
void |
setTooltip(String tooltip)
Set the tooltip of this command.
|
String getLabel()
String getTooltip()
org.eclipse.jface.resource.ImageDescriptor getBitmap()
void setLabel(String label)
label
- the name of the command.void setBitmap(org.eclipse.jface.resource.ImageDescriptor image)
image
- the bitmap ImageDescriptor.void setTooltip(String tooltip)
tooltip
- the text that will be displayed in the command's tooltip.