Node identifier
From FreeMind
Revision as of 11:48, 12 February 2009 by Danielpolansky (talk | contribs) (→Implementation: +link to CVS)
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.* (CVS)
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; }