Search in sources :

Example 6 with WorkspacePopupMenu

use of org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu in project freeplane by freeplane.

the class FolderFileNode method initializePopup.

public void initializePopup() {
    if (popupMenu == null) {
        if (popupMenu == null) {
            popupMenu = new WorkspacePopupMenu();
            WorkspacePopupMenuBuilder.addActions(popupMenu, new String[] { WorkspacePopupMenuBuilder.createSubMenu(TextUtils.getRawText("workspace.action.new.label")), "workspace.action.node.new.folder", "workspace.action.file.new.mindmap", WorkspacePopupMenuBuilder.endSubMenu(), WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.open.location", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.cut", "workspace.action.node.copy", "workspace.action.node.paste", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.rename", "workspace.action.file.delete", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.refresh" });
        }
    }
}
Also used : WorkspacePopupMenu(org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu)

Example 7 with WorkspacePopupMenu

use of org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu in project freeplane by freeplane.

the class FolderTypeMyFilesNode method initializePopup.

public void initializePopup() {
    if (popupMenu == null) {
        popupMenu = new WorkspacePopupMenu();
        WorkspacePopupMenuBuilder.addActions(popupMenu, new String[] { WorkspacePopupMenuBuilder.createSubMenu(TextUtils.getRawText("workspace.action.new.label")), "workspace.action.node.new.folder", "workspace.action.file.new.mindmap", WorkspacePopupMenuBuilder.endSubMenu(), WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.open.location", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.cut", "workspace.action.node.copy", "workspace.action.node.paste", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.physical.sort", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.refresh" });
    }
}
Also used : WorkspacePopupMenu(org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu)

Example 8 with WorkspacePopupMenu

use of org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu in project freeplane by freeplane.

the class WorkspaceRootNode method initializePopup.

public void initializePopup() {
    if (popupMenu == null) {
        popupMenu = new WorkspacePopupMenu();
        WorkspacePopupMenuBuilder.addActions(popupMenu, new String[] { WorkspaceNewProjectAction.KEY, WorkspaceImportProjectAction.KEY, WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.all.expand", "workspace.action.all.collapse", WorkspacePopupMenuBuilder.SEPARATOR, NodeRefreshAction.KEY });
    }
}
Also used : WorkspacePopupMenu(org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu)

Example 9 with WorkspacePopupMenu

use of org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu in project freeplane by freeplane.

the class FolderLinkNode method initializePopup.

public void initializePopup() {
    if (popupMenu == null) {
        if (popupMenu == null) {
            popupMenu = new WorkspacePopupMenu();
            WorkspacePopupMenuBuilder.addActions(popupMenu, new String[] { WorkspacePopupMenuBuilder.createSubMenu(TextUtils.getRawText("workspace.action.new.label")), "workspace.action.node.new.folder", "workspace.action.file.new.mindmap", WorkspacePopupMenuBuilder.endSubMenu(), WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.open.location", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.cut", "workspace.action.node.copy", "workspace.action.node.paste", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.rename", "workspace.action.node.remove", "workspace.action.file.delete", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.physical.sort", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.refresh" });
        }
    }
}
Also used : WorkspacePopupMenu(org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu)

Example 10 with WorkspacePopupMenu

use of org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu in project freeplane by freeplane.

the class FolderVirtualNode method initializePopup.

public void initializePopup() {
    if (popupMenu == null) {
        popupMenu = new WorkspacePopupMenu();
        WorkspacePopupMenuBuilder.addActions(popupMenu, new String[] { WorkspacePopupMenuBuilder.createSubMenu(TextUtils.getRawText("workspace.action.new.label")), "workspace.action.node.new.folder", "workspace.action.node.new.link", WorkspacePopupMenuBuilder.endSubMenu(), WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.cut", "workspace.action.node.copy", "workspace.action.node.paste", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.rename", "workspace.action.node.remove", WorkspacePopupMenuBuilder.SEPARATOR, "workspace.action.node.refresh" });
    }
}
Also used : WorkspacePopupMenu(org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu)

Aggregations

WorkspacePopupMenu (org.freeplane.plugin.workspace.components.menu.WorkspacePopupMenu)12 JTree (javax.swing.JTree)3 TreePath (javax.swing.tree.TreePath)2 AWorkspaceTreeNode (org.freeplane.plugin.workspace.model.AWorkspaceTreeNode)2 Point (java.awt.Point)1