|
org.netbeans.modules.project.ant/1 1.37.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=SOURCE)
@Target(value={TYPE,METHOD})
public @interface AntBasedProjectRegistration
Registers a Project implementation as an
AntBasedProjectType extension.
Just write a project with constructor that takes one
AntProjectHelper argument and annotate the class with this annotation.
As an alternative you can annotate a factory method with the same parameter.
| Required Element Summary | |
|---|---|
String |
iconResource
icon of the project type represented by the given implementation of the interface. |
String |
privateNamespace
Get the namespace of the XML element that should be used to store the project's specific configuration data in nbproject/private/private.xml
(inside <project-private>). |
String |
sharedNamespace
Get the namespace of the XML element that should be used to store the project's specific configuration data in nbproject/project.xml
(inside <configuration>). |
String |
type
Get a unique type identifier for this kind of project. |
| Optional Element Summary | |
|---|---|
String |
privateName
Get the simple name of the XML element that should be used to store the project's specific configuration data in nbproject/private/private.xml
(inside <project-private>). |
String |
sharedName
Get the simple name of the XML element that should be used to store the project's specific configuration data in nbproject/project.xml
(inside <configuration>). |
| Element Detail |
|---|
public abstract String iconResource
ClassLoader.getResource(java.lang.String) path to the iconpublic abstract String type
AntBasedProjectType instances may share the same type.
The type is stored in nbproject/project.xml in the type element.
It is forbidden for the result of this method to change from call to call.
public abstract String sharedNamespace
nbproject/project.xml
(inside <configuration>).
public abstract String privateNamespace
nbproject/private/private.xml
(inside <project-private>).
public abstract String sharedName
nbproject/project.xml
(inside <configuration>).
public abstract String privateName
nbproject/private/private.xml
(inside <project-private>).
|
org.netbeans.modules.project.ant/1 1.37.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||