|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Extension
Required Element Summary | |
---|---|
java.lang.String[] |
targets
A list of target extension points. |
Optional Element Summary | |
---|---|
int |
hint
The way extension is contributed. |
Element Detail |
---|
public abstract java.lang.String[] targets
public abstract int hint
Remember that hints are dependent on extension point capabilities. So before using them you must read the target extension point documentation. Also, implementors MUST use a coherent hint system. It is recommended to follow the system described below.
There are two type of extension points:
Also, note that when using indexes >= 0 to control the order the indexes may have any value. They are not representing the real index in the target container but a sort of 'weight' to be used to control ordering.
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |