|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemind.extensions.HookAdapter
Implments MindMapHook as an Adapter class. Implementation is straight forward.
Field Summary | |
protected java.util.logging.Logger |
logger
|
Constructor Summary | |
HookAdapter()
|
Method Summary | |
protected ModeController |
getController()
|
java.lang.String |
getName()
|
java.lang.Object |
getPluginBaseClass()
If a base class is specified in the plugin declaration via a plugin_registration entry with isPluginBase==true, this object is returned here. |
protected java.util.Properties |
getProperties()
|
java.net.URL |
getResource(java.lang.String resourceName)
|
java.lang.String |
getResourceString(java.lang.String property)
looks for a property in the plugin properties file. |
void |
setController(ModeController controller)
|
void |
setName(java.lang.String name)
|
void |
setPluginBaseClass(java.lang.Object baseClass)
|
void |
setProperties(java.util.Properties properties)
|
void |
shutdownMapHook()
This method is also called, if the node, this hook belongs to, is removed from the map. |
void |
startupMapHook()
This method is also called, if the hook is created in the map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.logging.Logger logger
Constructor Detail |
public HookAdapter()
Method Detail |
public java.lang.String getName()
getName
in interface MindMapHook
public void setName(java.lang.String name)
setName
in interface MindMapHook
public void startupMapHook()
MindMapHook
startupMapHook
in interface MindMapHook
public void shutdownMapHook()
MindMapHook
shutdownMapHook
in interface MindMapHook
protected ModeController getController()
protected java.util.Properties getProperties()
public void setProperties(java.util.Properties properties)
setProperties
in interface MindMapHook
properties
- public void setController(ModeController controller)
setController
in interface MindMapHook
controller
- public java.lang.String getResourceString(java.lang.String property)
MindMapHook
getResourceString
in interface MindMapHook
public java.net.URL getResource(java.lang.String resourceName)
public java.lang.Object getPluginBaseClass()
MindMapHook
getPluginBaseClass
in interface MindMapHook
public void setPluginBaseClass(java.lang.Object baseClass)
setPluginBaseClass
in interface MindMapHook
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |