Package org.evolizer.daforjava.commands.additions

Examples of org.evolizer.daforjava.commands.additions.AddDescendantsAndDependencies


        pm.addSeparator();
        JMenu addMenu = new JMenu("Add");

        action = new GraphEditPopupMenuAction("Descendants and dependencies", fGraphPanel);
        action.setDescription("Add internal dependencies of the selected node(s) and their dependencies to other nodes in the graph");
        action.setCommand(new AddDescendantsAndDependencies(selectedNodes, fGraphPanel.getGraphLoader(), fGraphPanel.getEdgeGrouper()));
        addMenu.add(action);

        if (selectedNodes.size() > 1) {
            addMenu.add(getAddMenuDependenciesBetweenNodes(selectedNodes));
        }
View Full Code Here


        addMenu.add(getAddMenuForOutgoingDependencies(node));

        List<Node> listWithNode = new ArrayList<Node>();
        listWithNode.add(node);
        GraphEditPopupMenuAction action = new GraphEditPopupMenuAction("Descendants & Dependencies", fGraphPanel);
        action.setCommand(new AddDescendantsAndDependencies(listWithNode, getGraphLoader(), getHierarchicEdgeGrouper()));
        addMenu.add(action);

        return addMenu;
    }
View Full Code Here

TOP

Related Classes of org.evolizer.daforjava.commands.additions.AddDescendantsAndDependencies

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.