Package org.freeplane.features.attribute.mindmapmode

Examples of org.freeplane.features.attribute.mindmapmode.MAttributeController$InsertAttributeActor


    public void copyStyleExtensions(final IStyle style, final NodeModel target) {
        final MTextController textController = MTextController.getController();
        final MapStyleModel extension = MapStyleModel.getExtension(target.getMap());
        final NodeModel styleNode = extension.getStyleNode(style);
        if(styleNode != null){
            final MAttributeController attributeController = MAttributeController.getController();
            attributeController.copyAttributesToNode(styleNode, target);
            final String detailTextText = DetailTextModel.getDetailTextText(styleNode);
            if(detailTextText != null)
                textController.setDetails(target, detailTextText);
            final String noteText = NoteModel.getNoteText(styleNode);
            if(noteText != null)
View Full Code Here


    MFileManager.install(new MFileManager());
    MMapIO.install(modeController);
    final MLogicalStyleController logicalStyleController = new MLogicalStyleController(modeController);
    logicalStyleController.initS();
    LogicalStyleController.install(logicalStyleController);
    AttributeController.install(new MAttributeController(modeController));
    FormatController.install(new FormatController());
    final ScannerController scannerController = new ScannerController();
        ScannerController.install(scannerController);
        scannerController.addParsersForStandardFormats();
    modeController.addAction(new EditAttributesAction());
View Full Code Here

    ClipboardController.install(new MClipboardController());
    LocationController.install(new MLocationController());
    final MLogicalStyleController logicalStyleController = new MLogicalStyleController(modeController);
    LogicalStyleController.install(logicalStyleController);
    logicalStyleController.initM();
    AttributeController.install(new MAttributeController(modeController));
    modeController.addAction(new EditAttributesAction());
    SpellCheckerController.install(modeController);
    ExportController.install(new ExportController("/xml/ExportWithXSLT.xml"));
    MapStyle.install(true);
    new RevisionPlugin();
View Full Code Here

    userInputListenerFactory.setNodeDropTargetListener(new MNodeDropListener());
    LocationController.install(new MLocationController());
    final MLogicalStyleController logicalStyleController = new MLogicalStyleController(modeController);
    LogicalStyleController.install(logicalStyleController);
    logicalStyleController.initM();
    AttributeController.install(new MAttributeController(modeController));
    userInputListenerFactory.setNodeKeyListener(new DefaultNodeKeyListener(new IEditHandler() {
      public void edit(final KeyEvent e, final FirstAction action, final boolean editLong) {
        ((MTextController) MTextController.getController(modeController)).getEventQueue().activate(e);
        textController.edit(action, editLong);
      }
View Full Code Here

      if (!pIsCanceled) {
        final int attributeTableLength = NodeAttributeTableModel.getModel(mNode).getAttributeTableLength();
        for (final AttributeHolder holder : mScripts) {
          final Attribute attribute = holder.mAttribute;
          final int position = holder.mPosition;
          final MAttributeController attributeController = (MAttributeController) AttributeController
              .getController();
          if (attributeTableLength <= position) {
            attributeController.addAttribute(mNode, attribute);
          }
          else if (NodeAttributeTableModel.getModel(mNode).getAttribute(position).getValue() != attribute
              .getValue()) {
            attributeController.setAttribute(mNode, position, attribute);
          }
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.freeplane.features.attribute.mindmapmode.MAttributeController$InsertAttributeActor

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.