|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemind.extensions.HookInstanciationMethod
Field Summary | |
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. |
Method Summary | |
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,
java.util.Collection destinationNodes)
|
boolean |
isPermanent()
|
boolean |
isSingleton()
|
boolean |
isUndoable()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
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
Method Detail |
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)
focussed
- selecteds
-
public boolean isAlreadyPresent(ModeController controller, java.lang.String hookName, MindMapNode focussed, java.util.Collection destinationNodes)
controller
- hookName
- destinationNodes
-
public MindMapNode getCenterNode(ModeController controller, MindMapNode focussed, java.util.List selecteds)
controller
- focussed
- selecteds
-
public boolean isUndoable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |