org.openide.awt 7.39.1

org.openide.awt
Annotation Type ActionID


@Retention(value=SOURCE)
@Target(value={TYPE,FIELD,METHOD})
public @interface ActionID

Identifies one registered action. The action ought to be placed into a category folder and use additional id identification. In terms of layer based definition, the action ought to be placed in "Actions/" + category() + "/" + id().replace('.','-') + ".instance" path.

Since:
7.26
See Also:
ActionRegistration

Required Element Summary
 String category
          Identifies category of an action.
 String id
          The unique ID (inside a category) of the action.
 

Element Detail

category

public abstract String category
Identifies category of an action.

Returns:
string representing programmatic name of the category

id

public abstract String id
The unique ID (inside a category) of the action. Should follow Java naming conventions and somehow include package name prefix. Like org.myproject.myproduct.MyAction.

Returns:
java identifiers separated with '.'

org.openide.awt 7.39.1

Built on December 7 2011.  |  Portions Copyright 1997-2011 Oracle. All rights reserved.