Klasse MainMenuItem
java.lang.Object
org.deidentifier.arx.gui.view.impl.MainMenuItem
- Bekannte direkte Unterklassen:
MainMenuGroup,MainMenuSeparator
This abstract class implements a generic menu item
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungMainMenuItem(String label, org.eclipse.swt.graphics.Image image, boolean isButton) Creates a new instance -
Methodenübersicht
-
Konstruktordetails
-
MainMenuItem
Creates a new instance- Parameter:
label-image-isButton-
-
-
Methodendetails
-
action
Override this to perform the action -
getImage
public org.eclipse.swt.graphics.Image getImage()- Gibt zurück:
- the image
-
getLabel
- Gibt zurück:
- the label
-
isButton
public boolean isButton()- Gibt zurück:
- the isButton
-
isEnabled
Override this to return whether the item is enabled- Parameter:
model-- Gibt zurück:
-