org.netbeans.api.editor
@Retention(value=SOURCE) @Target(value={TYPE,METHOD}) public @interface EditorActionRegistration
BaseKit.createActions()
.
Modifier and Type | Required Element and Description |
---|---|
String |
name
Name of the action that will appear as
Action.NAME attribute's value. |
Modifier and Type | Optional Element and Description |
---|---|
String |
iconResource
Resource specification for small icon.
|
String |
menuPath
Path of this action in main menu e.g.
|
int |
menuPosition
Integer position of the main menu item among the other menu items.
|
String |
menuText
Menu text bundle key of the registered action.
|
String |
mimeType
Mime type for which the action will be registered.
|
String |
popupPath
Path of this action in popup menu e.g.
|
int |
popupPosition
Integer position of the popup menu item among the other popup menu (or submenu) items.
|
String |
popupText
Popup menu text bundle key of the registered action.
|
String |
preferencesKey
Boolean key in preferences that corresponds to action's selected state.
|
String |
shortDescription
Short description bundle key of the action being registered.
|
int |
toolBarPosition
Integer position of this action in editor toolbar.
|
public abstract String name
Action.NAME
attribute's value.
DefaultEditorKit
.public abstract String mimeType
public abstract String iconResource
public abstract String shortDescription
public abstract String menuText
public abstract String popupText
public abstract String menuPath
public abstract int menuPosition
public abstract String popupPath
public abstract int popupPosition
public abstract int toolBarPosition
public abstract String preferencesKey
MimeLookup.getLookup(MimePath.EMPTY)
.Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.