public class PermanentNodeHookAdapter extends NodeHookAdapter implements PermanentNodeHook
MindMapHook.PluginBaseClassSearcher| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PARAMETERS |
logger| Constructor and Description |
|---|
PermanentNodeHookAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
loadFrom(XMLElement child) |
protected java.util.HashMap |
loadNameValuePairs(XMLElement xml) |
void |
onAddChild(MindMapNode newChildNode)
Is called if the addedChildNode is inserted as a direct child of the node,
this hook is attached to.
|
void |
onAddChildren(MindMapNode addedChild)
This method is called, if a child is added to me or to any of my children.
|
void |
onDeselectHook(NodeView nodeView) |
void |
onNewChild(MindMapNode newChildNode)
Is only called, if a new nodes is inserted as a child.
|
void |
onRemoveChild(MindMapNode oldChildNode) |
void |
onRemoveChildren(MindMapNode oldChildNode,
MindMapNode oldDad)
This method is called, if a child is removed to me or to any of my children.
|
void |
onSelectHook(NodeView nodeView) |
void |
onUpdateChildrenHook(MindMapNode updatedNode)
If any of my children is updated, I get this notification.
|
void |
onUpdateNodeHook()
If the node I belong to is changed, I get this notification.
|
void |
onViewCreatedHook(NodeView nodeView) |
void |
onViewRemovedHook(NodeView nodeView) |
void |
save(XMLElement xml) |
protected void |
saveNameValuePairs(java.util.HashMap nameValuePairs,
XMLElement xml) |
void |
shutdownMapHook()
This method is also called, if the node, this hook belongs to, is removed from the map.
|
getMap, getNode, invoke, nodeChanged, setMap, setNodegetController, getName, getPluginBaseClass, getProperties, getResource, getResourceString, setController, setName, setPluginBaseClass, setProperties, startupMapHookclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getPluginBaseClass, getResourceString, setController, setName, setPluginBaseClass, setProperties, startupMapHookpublic static final java.lang.String PARAMETERS
public void shutdownMapHook()
MindMapHookshutdownMapHook in interface MindMapHookshutdownMapHook in class HookAdapterpublic void onUpdateNodeHook()
PermanentNodeHookonUpdateNodeHook in interface PermanentNodeHookpublic void onUpdateChildrenHook(MindMapNode updatedNode)
PermanentNodeHookonUpdateChildrenHook in interface PermanentNodeHookpublic void onAddChild(MindMapNode newChildNode)
PermanentNodeHookonAddChild in interface PermanentNodeHookpublic void onNewChild(MindMapNode newChildNode)
PermanentNodeHookonNewChild in interface PermanentNodeHookpublic void onRemoveChild(MindMapNode oldChildNode)
onRemoveChild in interface PermanentNodeHookpublic void save(XMLElement xml)
save in interface PermanentNodeHookpublic void loadFrom(XMLElement child)
loadFrom in interface PermanentNodeHookpublic void onSelectHook(NodeView nodeView)
onSelectHook in interface PermanentNodeHookpublic void onDeselectHook(NodeView nodeView)
onDeselectHook in interface PermanentNodeHookpublic void onAddChildren(MindMapNode addedChild)
PermanentNodeHookonAddChildren in interface PermanentNodeHookprotected java.util.HashMap loadNameValuePairs(XMLElement xml)
protected void saveNameValuePairs(java.util.HashMap nameValuePairs,
XMLElement xml)
public void onRemoveChildren(MindMapNode oldChildNode, MindMapNode oldDad)
PermanentNodeHookonRemoveChildren in interface PermanentNodeHookoldDad - TODOpublic void onViewCreatedHook(NodeView nodeView)
onViewCreatedHook in interface PermanentNodeHookpublic void onViewRemovedHook(NodeView nodeView)
onViewRemovedHook in interface PermanentNodeHook