|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Target(value=TYPE) @Retention(value=RUNTIME) public @interface CreoleResource
Annotates a CREOLE resource type. This annotation should only be used
on classes or interfaces that implement the Resource interface
(directly or indirectly).
| Optional Element Summary | |
|---|---|
String |
annotationTypeDisplayed
The annotation type that this resource displays. |
AutoInstance[] |
autoinstances
Defines any instances of this resource that should be created automatically when the plugin is loaded. |
String |
comment
A descriptive comment about this resource, which appears in the tooltip in the GUI. |
GuiType |
guiType
The GUI type of this resource. |
String |
helpURL
A help URL about this resource, which is used to display the help page in the GATE help browser. |
String |
icon
The path (in the Class.getResource(java.lang.String) sense) to the icon used
to represent this resource in the GUI. |
String |
interfaceName
The interface implemented by this resource. |
boolean |
isPrivate
Is the resource private? |
boolean |
mainViewer
Is this resource the "main" viewer for its target resource type? |
String |
name
The name of the resource, as it will appear in the GATE GUI. |
String |
resourceDisplayed
The name of the resource class that this resource is responsible for displaying in the GUI. |
boolean |
tool
Is this resource a 'tool' (i.e. should its published actions be added to the Tools menu)? |
public abstract String name
public abstract boolean isPrivate
Factory.createResource(java.lang.String).
public abstract String comment
public abstract String helpURL
public abstract AutoInstance[] autoinstances
public abstract String interfaceName
public abstract String icon
Class.getResource(java.lang.String) sense) to the icon used
to represent this resource in the GUI. A path starting with a
forward slash is treated as an absolute path, a relative path
(without the leading slash) is interpreted relative to
gate/resources/img.
public abstract String resourceDisplayed
public abstract String annotationTypeDisplayed
public abstract GuiType guiType
public abstract boolean mainViewer
public abstract boolean tool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||