public interface MenuAction extends ContextAction
To register a menu item for for the menu "File" in thermostat client window, register a service that implements this class with the property "parentMenu" set to "File".
Modifier and Type | Interface and Description |
---|---|
static class |
MenuAction.Type |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Invoked when the user selects this menu item
|
String[] |
getPath()
The path to the menu action.
|
MenuAction.Type |
getType() |
getDescription, getName
void execute()
MenuAction.Type getType()
String[] getPath()
Copyright © 2013. All Rights Reserved.