org.netbeans.spi.debugger.ui/1 2.27.1

org.netbeans.spi.debugger.ui
Annotation Type AttachType.Registration


@Retention(value=SOURCE)
@Target(value=TYPE)
public static @interface AttachType.Registration

Declarative registration of an AttachType implementation. By marking the implementation class with this annotation, you automatically register that implementation for use by debugger. The class must be public and have a public constructor which takes no arguments or takes ContextProvider as an argument.

The implementation is always registered in the empty default path.

Since:
2.16

Required Element Summary
 String displayName
          The display name, in the form of either a general string to take as is, or a resource bundle reference such as "my.module.Bundle#some_key", or just "#some_key" to load from a "Bundle" in the same package as the registered implementation.
 
Optional Element Summary
 int position
          An optional position in which to register this service relative to others.
 

Element Detail

displayName

public abstract String displayName
The display name, in the form of either a general string to take as is, or a resource bundle reference such as "my.module.Bundle#some_key", or just "#some_key" to load from a "Bundle" in the same package as the registered implementation.

Returns:
The display name or resource bundle reference

position

public abstract int position
An optional position in which to register this service relative to others. Lower-numbered services are returned in the lookup result first. Services with no specified position are returned last.

Default:
2147483647

org.netbeans.spi.debugger.ui/1 2.27.1

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