Node identifier

From FreeMind

Revision as of 11:43, 12 February 2009 by Danielpolansky (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Since FreeMind 0.8.0, nodes are equipped with identifiers that serve as targets of intramap links, targets of arrow links (AKA connectors), and further purposes.

The format of the identifier: "Freemind_Link_<number>". Is this format guaranteed?

Functions of node identifiers:

  • Target of arrow links (AKA connectors)
  • Target of intramap links, that is, links from one node to another node of the same mind map
  • TODO: Complete

Implementation

  • NodeAdapter.getObjectId
  • ControllerAdapter.getNodeID
  • MindMapMapModel.getLinkRegistry
  • MindMapLinkRegistry.*
  • LinkRegistryAdapter.*
 public String getObjectId(ModeController controller) {
   return controller.getNodeID(this);
 }
 public String getNodeID(MindMapNode selected) {
   getMap().getLinkRegistry().registerLinkTarget(selected);
   return getMap().getLinkRegistry().getLabel(selected);
 }
 public MindMapLinkRegistry getLinkRegistry() {
   return linkRegistry;
 }

Tracker items

Personal tools