@Documented @Retention(value=SOURCE) @Target(value=TYPE) public @interface Action
Modifier and Type | Required Element and Description |
---|---|
String |
category
The category is used to group actions (currently this has not effect, but might be used in future).
|
String |
displayName
The text to be displayed, e.g. as the text for menu items or the tooltip for toolbar buttons.
|
String |
id
The id of this action.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
accelerator
The accelerator to be used for this action.
|
String |
icon
The icon name pattern to resolve the icons to be used for this action.
|
public abstract String id
MenuEntry
and ToolBarEntry
by its id.public abstract String category
public abstract String displayName
public abstract String accelerator
public abstract String icon
Copyright © 2012–2016 Drombler. All rights reserved.