Package org.freeplane.features.link.mindmapmode

Examples of org.freeplane.features.link.mindmapmode.MLinkController$CreateArrowLinkActor


      super(mSet, mProperty);
    }

    @Override
    void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) {
      final MLinkController styleController = (MLinkController) Controller
      .getCurrentModeController().getExtension(
        LinkController.class);
      styleController.setFormatNodeAsHyperlink(node, enabled ? mNodeFontHyperlink.getBooleanValue() : null);
    }
View Full Code Here


    IconController.install(new MIconController(modeController));
    NodeStyleController.install(new MNodeStyleController(modeController));
    EdgeController.install(new MEdgeController(modeController));
    CloudController.install(new MCloudController(modeController));
    NoteController.install(new MNoteController(modeController));
    LinkController.install(new MLinkController());
    MFileManager.install(new MFileManager());
    MMapIO.install(modeController);
    final MLogicalStyleController logicalStyleController = new MLogicalStyleController(modeController);
    logicalStyleController.initS();
    LogicalStyleController.install(logicalStyleController);
View Full Code Here

    EdgeController.install(new MEdgeController(modeController));
    CloudController.install(new MCloudController(modeController));
    NoteController.install(new MNoteController(modeController));
    final MTextController textController = new MTextController(modeController);
    TextController.install(textController);
    LinkController.install(new MLinkController());
    NodeStyleController.install(new MNodeStyleController(modeController));
    ClipboardController.install(new MClipboardController());
    LocationController.install(new MLocationController());
    final MLogicalStyleController logicalStyleController = new MLogicalStyleController(modeController);
    LogicalStyleController.install(logicalStyleController);
View Full Code Here

    CloudController.install(new MCloudController(modeController));
    NoteController.install(new MNoteController(modeController));
    userInputListenerFactory.setMapMouseListener(new MMapMouseListener());
    final MTextController textController = new MTextController(modeController);
    TextController.install(textController);
    LinkController.install(new MLinkController());
    NodeStyleController.install(new MNodeStyleController(modeController));
    ClipboardController.install(new MClipboardController());
    userInputListenerFactory.setNodeDragListener(new MNodeDragListener());
    userInputListenerFactory.setNodeDropTargetListener(new MNodeDropListener());
    LocationController.install(new MLocationController());
View Full Code Here

    return addConnectorTo(target.getId());
  }

  // Node: R/W
  public Proxy.Connector addConnectorTo(final String targetNodeID) {
    final MLinkController linkController = (MLinkController) LinkController.getController();
    final ConnectorModel connectorModel = linkController.addConnector(getDelegate(), targetNodeID);
    return new ConnectorProxy(connectorModel, getScriptContext());
  }
View Full Code Here

  // Node: R/W
  public void removeConnector(final Proxy.Connector connectorToBeRemoved) {
    final ConnectorProxy connectorProxy = (ConnectorProxy) connectorToBeRemoved;
    final ConnectorModel link = connectorProxy.getConnector();
    final MLinkController linkController = (MLinkController) LinkController.getController();
    linkController.removeArrowLink(link);
  }
View Full Code Here

        public void actionPerformed(final ActionEvent e) {
          final AttributeTable table = AttributePopupMenu.this.table;
          final Object oldValue = table.getValueAt(row, col);
          final LinkController linkController = LinkController.getController();
          if(linkController instanceof MLinkController) {
                      final MLinkController mLinkController = (MLinkController)linkController;
            if (mLinkController.isAnchored()) {
                            try {
                              final String anchorIDforNode = mLinkController.getAnchorIDforNode(((IAttributeTableModel) table.getModel()).getNode());
                              if(anchorIDforNode != null){
                                URI link = LinkController.createURI(anchorIDforNode);
                                if(! oldValue.equals(link))
                                  table.setValueAt(link, row, col);
                              }
View Full Code Here

TOP

Related Classes of org.freeplane.features.link.mindmapmode.MLinkController$CreateArrowLinkActor

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.