|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginIF
INTERNAL: The common interface for all navigator plugin objects. This interface can either be implemented by the plugin, or a default implementation (DefaultPlugin) can be used.
Field Summary | |
---|---|
static int |
ACTIVATED
|
static int |
DEACTIVATED
|
static int |
ERROR
|
Method Summary | |
---|---|
void |
addGroup(java.lang.String groupId)
INTERNAL: Add the specified group to groups this plugin belongs to. |
java.lang.String |
generateHTML(ContextTag context)
INTERNAL: Called by the framework to make the plugin produce the HTML that is going to represent it on a web page in the web application. |
java.lang.String |
getDescription()
INTERNAL: Gets the description of this plugin. |
java.util.List |
getGroups()
INTERNAL: Returns the groups this plugin belongs to. |
java.lang.String |
getId()
INTERNAL: Returns the ID of this plugin. |
java.lang.String |
getParameter(java.lang.String name)
INTERNAL: Returns the value of the parameter. |
java.lang.String |
getPluginDirectory()
INTERNAL: Returns the path to the plugin directory. |
int |
getState()
INTERNAL: Returns the state of this plugin. |
java.lang.String |
getTarget()
INTERNAL: Returns the URI frame target of this plugin. |
java.lang.String |
getTitle()
INTERNAL: Returns the title of this plugin. |
java.lang.String |
getURI()
INTERNAL: Returns the URI of this plugin. |
void |
init()
INTERNAL: Called by the framework to finalize initialization. |
void |
resetGroups()
INTERNAL: Reset all group settings for this plugin. |
void |
setDescription(java.lang.String description)
INTERNAL: Sets the description of this plugin. |
void |
setGroups(java.util.List groups)
INTERNAL: Sets the groups this plugin belongs to. |
void |
setId(java.lang.String id)
INTERNAL: Sets the ID of this plugin. |
void |
setParameter(java.lang.String name,
java.lang.String value)
INTERNAL: Called by the framework to give the plugin the value of a configuration parameter. |
void |
setPluginDirectory(java.lang.String path)
INTERNAL: Called by the framework to give the plugin the directory its plugin.xml file was found in. |
void |
setState(int state)
INTERNAL: Sets the state of this plugin. |
void |
setTarget(java.lang.String target)
INTERNAL: Sets the URI frame target of this plugin. |
void |
setTitle(java.lang.String title)
INTERNAL: Sets the title of this plugin. |
void |
setURI(java.lang.String uri)
INTERNAL: Sets the URI of this plugin. |
Field Detail |
---|
static final int ACTIVATED
static final int DEACTIVATED
static final int ERROR
Method Detail |
---|
java.lang.String generateHTML(ContextTag context)
void init()
java.lang.String getId()
void setId(java.lang.String id)
java.util.List getGroups()
void resetGroups()
void addGroup(java.lang.String groupId)
void setGroups(java.util.List groups)
java.lang.String getTitle()
void setTitle(java.lang.String title)
java.lang.String getDescription()
void setDescription(java.lang.String description)
java.lang.String getURI()
void setURI(java.lang.String uri)
Note: This has not to contain the web application context path.
Example: plugins/hello/hello.jsp
java.lang.String getTarget()
void setTarget(java.lang.String target)
int getState()
void setState(int state)
java.lang.String getParameter(java.lang.String name)
void setParameter(java.lang.String name, java.lang.String value)
java.lang.String getPluginDirectory()
void setPluginDirectory(java.lang.String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |