|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anwrt.anycontent.plugin.ExtensionPoint
com.anwrt.anycontent.extensions.page.AbstractPageExtensionPoint
This class is an abstract ancestor for extension points the handle pages with configurable icons.
| Constructor Summary | |
AbstractPageExtensionPoint()
|
|
| Method Summary | |
void |
configureExtension(java.lang.String pluginName,
java.lang.String pluginId,
Configuration configuration)
Add an extension to this point. |
protected abstract StaticEntry |
createEntry()
Create an empty static entry |
StaticEntry |
getItem(java.lang.String id)
Get the page entry with given if |
protected abstract Logger |
getLogger()
Get the logger for current implementation |
protected abstract AbstractPageManager |
getManager()
Get the page manager for current implementation |
void |
initialize()
Method called at the end of the initialization process. |
boolean |
isSingle()
Returns wether this extension point is single |
| Methods inherited from class com.anwrt.anycontent.plugin.ExtensionPoint |
configure, getId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractPageExtensionPoint()
| Method Detail |
public boolean isSingle()
ExtensionPoint
isSingle in class ExtensionPointprotected abstract Logger getLogger()
protected abstract AbstractPageManager getManager()
public void configureExtension(java.lang.String pluginName,
java.lang.String pluginId,
Configuration configuration)
throws ConfigurationException
ExtensionPoint
configureExtension in class ExtensionPointconfiguration - the information about the extension to be addedpluginName - Unique identifier for the plugin hosting the extension
(equals to the directory name)pluginId - Unique plugin identifier (unique for a given pluginName)
ConfigurationExceptionpublic StaticEntry getItem(java.lang.String id)
id - Id of the looked item
public void initialize()
ExtensionPoint
initialize in class ExtensionPointprotected abstract StaticEntry createEntry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||