public class HookInstanciationMethod
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static HookInstanciationMethod |
ApplyToRoot
This is for MindMapHooks that wish to be applied to root, whereevery they are called from.
|
static HookInstanciationMethod |
Once |
static HookInstanciationMethod |
OnceForAllNodes
Each (or none) node should have the hook.
|
static HookInstanciationMethod |
OnceForRoot
The hook should only be added/removed to the root node.
|
static HookInstanciationMethod |
Other
This is for MindMapHooks in general.
|
Modifier and Type | Method and Description |
---|---|
static java.util.HashMap |
getAllInstanciationMethods() |
MindMapNode |
getCenterNode(ModeController controller,
MindMapNode focussed,
java.util.List selecteds) |
java.util.Collection |
getDestinationNodes(ModeController controller,
MindMapNode focussed,
java.util.List selecteds) |
boolean |
isAlreadyPresent(ModeController controller,
java.lang.String hookName,
MindMapNode focussed) |
boolean |
isPermanent() |
boolean |
isSingleton() |
boolean |
isUndoable() |
public static final HookInstanciationMethod Once
public static final HookInstanciationMethod OnceForRoot
public static final HookInstanciationMethod OnceForAllNodes
public static final HookInstanciationMethod Other
public static final HookInstanciationMethod ApplyToRoot
public boolean isSingleton()
public boolean isPermanent()
public static final java.util.HashMap getAllInstanciationMethods()
public java.util.Collection getDestinationNodes(ModeController controller, MindMapNode focussed, java.util.List selecteds)
public boolean isAlreadyPresent(ModeController controller, java.lang.String hookName, MindMapNode focussed)
public MindMapNode getCenterNode(ModeController controller, MindMapNode focussed, java.util.List selecteds)
public boolean isUndoable()