Package org.freeplane.features.note.mindmapmode

Examples of org.freeplane.features.note.mindmapmode.MNoteController$NoteDocumentListener


    super("ShowNotesInMapAction");
  }

  public void actionPerformed(ActionEvent e) {
    final MapModel map = Controller.getCurrentController().getMap();
    final MNoteController noteController = (MNoteController) NoteController.getController();
    noteController.setShowNotesInMap(map, ! NoteController.getController().showNotesInMap(map));
    final IMapSelection selection = Controller.getCurrentController().getSelection();
    selection.keepNodePosition(selection.getSelected(), 0.0f, 0.0f);
    setSelected();
  }
View Full Code Here


    IconController.install(new MIconController(modeController));
    new ProgressFactory().installActions(modeController);
    final MapController mapController = modeController.getMapController();
    EdgeController.install(new MEdgeController(modeController));
    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));
View Full Code Here

    textController.setIsMinimized(getDelegate(), shortened);
  }

  // Node: R/W
  public void setNote(Object value) {
    final MNoteController noteController = (MNoteController) NoteController.getController();
    noteController.setNoteText(getDelegate(), convertConvertibleToHtml(value));
  }
View Full Code Here

    return HtmlUtils.isHtmlNode(text) ? text : HtmlUtils.plainToHTML(text);
  }

  // Node: R/W
  public void setNoteText(final String html) {
    final MNoteController noteController = (MNoteController) NoteController.getController();
    noteController.setNoteText(getDelegate(), html);
  }
View Full Code Here

    SpellCheckerController.install(modeController);
    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();
View Full Code Here

            if(detailTextText != null)
                textController.setDetails(target, detailTextText);
            final String noteText = NoteModel.getNoteText(styleNode);
            if(noteText != null)
            {
              MNoteController noteController = (MNoteController) NoteController.getController();
              noteController.setNoteText(target, noteText);
            }
        }
    }
View Full Code Here

    controller.getMapViewManager().addMapViewChangeListener(fileManager);
    IconController.install(new MIconController(modeController));
    new ProgressFactory().installActions(modeController);
    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());
View Full Code Here

  }

  @Override
  public void shutdown() {
    super.shutdown();
    final MNoteController noteController = (MNoteController) NoteController.getController();
    if (noteController != null) {
      noteController.shutdownController();
    }
  }
View Full Code Here

TOP

Related Classes of org.freeplane.features.note.mindmapmode.MNoteController$NoteDocumentListener

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.