org.openide.windows 6.40.1

org.openide.windows
Annotation Type TopComponent.OpenActionRegistration


@Retention(value=SOURCE)
@Target(value={TYPE,METHOD})
public static @interface TopComponent.OpenActionRegistration

Creates an action that can open the component. The action is generated only if ActionID annotation is used on the same element, otherwise a compilation error is raised. Also the TopComponent.Description shall be present.

Since:
6.37

Required Element Summary
 String displayName
          Display name of the action, usually can refer to value from a Bundle.properties using #KEY.
 
Optional Element Summary
 String preferredID
          The identification of an existing component to seek for.
 

Element Detail

displayName

public abstract String displayName
Display name of the action, usually can refer to value from a Bundle.properties using #KEY.

preferredID

public abstract String preferredID
The identification of an existing component to seek for.

Default:
""

org.openide.windows 6.40.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.