Package org.scijava.plugin
Annotation Type Menu
-
@Target({}) public @interface Menu
One item of aPlugin's menu path. It can be a top-level menu such as File, a nested menu such as Open Recent, or a leaf item such as Exit. A sequential list of Menus defines aPlugin's position in the menu structure.Using a list of Menus to define menu position is more verbose than using
Plugin.menuPath(), but more powerful in that it allows specification of various menu attributes (e.g.,weight(),mnemonic(),accelerator()andiconPath()).- Author:
- Curtis Rueden
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringacceleratorKeyboard shortcut to activate the menu item.StringiconPathPath to the menu's icon (shown in the menu structure).charmnemonicMnemonic identifying underlined shortcut character.doubleweightPosition within the menu structure.
-
-
-
Element Detail
-
label
String label
The human-readable label to use for the menu item.
-
-
-
accelerator
String accelerator
Keyboard shortcut to activate the menu item.- See Also:
for information on the syntax.
- Default:
- ""
-
-
-
iconPath
String iconPath
Path to the menu's icon (shown in the menu structure).- Default:
- ""
-
-