org.netbeans.core.ide/1 1.24.1

org.netbeans.api.core.ide
Annotation Type ServicesTabNodeRegistration


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

Annotation applicable to any class that extends Node or static method that returns Node. Its presence means that the node shall appear in the Services tab.

Since:
org.netbeans.core.ide/1 1.15

Required Element Summary
 String displayName
          Human readable name.
 String iconResource
          Icon to use for the node.
 String name
           
 
Optional Element Summary
 int position
          Ordering location of the Node.
 String shortDescription
          Description of the node.
 

Element Detail

name

public abstract String name
Returns:
programatic name of the node

displayName

public abstract String displayName
Human readable name. Use #KEY to reference a key in Bundle.properties file next to the node class or factory method.

Returns:
human readable name or reference to bundle

iconResource

public abstract String iconResource
Icon to use for the node. The icon can have additional variants see AbstractNode.setIconBaseWithExtension(java.lang.String) for more info.

shortDescription

public abstract String shortDescription
Description of the node. Use #KEY to reference a key in Bundle.properties file next to the node class or factory method.

Returns:
human readable short description or readable to bundle
Default:
""

position

public abstract int position
Ordering location of the Node.

Default:
2147483647

org.netbeans.core.ide/1 1.24.1

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