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 |
deregisterFilter() |
protected void |
executeTransaction(ActionPair pair) |
ActionPair |
filterAction(ActionPair pPair) |
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 |
onFocusNode(NodeView nodeView) |
void |
onLostFocusNode(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 |
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)
Fired after node is getting visible (is unfolded after having been folded).
|
void |
onViewRemovedHook(NodeView nodeView)
Fired after a node is getting invisible (folded).
|
void |
processUnfinishedLinks()
Can be used to adjust some things after a paste action.
|
void |
registerFilter() |
void |
save(XMLElement xml) |
void |
saveHtml(java.io.Writer pFileout)
Can be used to contribute to the standard html export.
|
protected void |
saveNameValuePairs(java.util.HashMap nameValuePairs,
XMLElement xml) |
protected void |
setToolTip(MindMapNode node,
java.lang.String key,
java.lang.String value) |
protected void |
setToolTip(java.lang.String key,
java.lang.String value) |
void |
shutdownMapHook()
This method is also called, if the node, this hook belongs to, is removed
from the map.
|
getMap, getNode, getNodeId, invoke, nodeChanged, setMap, setNodegetController, getName, getPluginBaseClass, getProperties, getResource, getResourceString, obtainFocusForSelected, 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 onFocusNode(NodeView nodeView)
onFocusNode in interface PermanentNodeHookpublic void onLostFocusNode(NodeView nodeView)
onLostFocusNode 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)
PermanentNodeHookonViewCreatedHook in interface PermanentNodeHookpublic void onViewRemovedHook(NodeView nodeView)
PermanentNodeHookonViewRemovedHook in interface PermanentNodeHookprotected void setToolTip(java.lang.String key,
java.lang.String value)
protected void setToolTip(MindMapNode node, java.lang.String key, java.lang.String value)
protected void executeTransaction(ActionPair pair) throws java.lang.InterruptedException, java.lang.reflect.InvocationTargetException
java.lang.InterruptedExceptionjava.lang.reflect.InvocationTargetExceptionpublic void registerFilter()
public void deregisterFilter()
public ActionPair filterAction(ActionPair pPair)
public void processUnfinishedLinks()
PermanentNodeHookprocessUnfinishedLinks in interface PermanentNodeHookpublic void saveHtml(java.io.Writer pFileout)
throws java.io.IOException
PermanentNodeHooksaveHtml in interface PermanentNodeHookjava.io.IOException