Package org.freeplane.features.link

Examples of org.freeplane.features.link.MapLinks


      deletedNodeRoot = null;
    }

    private void onChange(final NodeModel model, final boolean delete) {
      final MapModel map = model.getMap();
      final MapLinks links = map.getExtension(MapLinks.class);
      if (links == null) {
        return;
      }
      if(delete)
        deleteMapLinks(links, model);
View Full Code Here


    this.node = nodeProxy.getDelegate();
    this.scriptContext = nodeProxy.getScriptContext();
  }

  List<NodeLinkModel> getConnectorSet() {
    final MapLinks allLinks = MapLinks.getLinks(node.getMap());
        final Set<NodeLinkModel> links = allLinks == null ? null : allLinks.get(node.getID());
    return links == null ? Collections.<NodeLinkModel> emptyList() : Collections
        .unmodifiableList(new ArrayList<NodeLinkModel>(links));
  }
View Full Code Here

TOP

Related Classes of org.freeplane.features.link.MapLinks

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.