Examples of FilterSelectedEntities


Examples of org.evolizer.daforjava.commands.filters.FilterSelectedEntities

        listWithEdge.add((Edge) edge);

        GraphEditPopupMenuAction action;
        action = new GraphEditPopupMenuAction("Selected edge", fGraphPanel);
        action.setDescription("Filter selected edge");
        action.setCommand(new FilterSelectedEntities(listWithObject, getGraphLoader(), getHierarchicEdgeGrouper()));
        filterMenu.add(action);
        action = new GraphEditPopupMenuAction("Keep selected edge", fGraphPanel);
        action.setDescription("Keep selected edge and corresponding nodes");
        action.setCommand(new KeepSelectedDependencies(listWithEdge, getGraphLoader(), getHierarchicEdgeGrouper()));
        filterMenu.add(action);
View Full Code Here

Examples of org.evolizer.daforjava.commands.filters.FilterSelectedEntities

        filterMenu.setToolTipText("Varios filters that take the selection as input.");

        GraphEditPopupMenuAction action = null;
        action = new GraphEditPopupMenuAction("Selected elements", fGraphPanel);
        action.setDescription("Filter selected elements");
        action.setCommand(new FilterSelectedEntities(selectedElements, getGraphLoader(), getHierarchicEdgeGrouper()));
        filterMenu.add(action);

        if (selectedNodes.size() > 1) {
            filterMenu.add(getFilterMenuKeepDependenciesBetweenNodes(selectedNodes));
            filterMenu.add(getFilterMenuDependenciesBetweenNodes(selectedNodes));
View Full Code Here

Examples of org.evolizer.daforjava.commands.filters.FilterSelectedEntities

        final List<Object> listWithObject = new ArrayList<Object>();
        listWithObject.add(node);
        GraphEditPopupMenuAction action = null;
        action = new GraphEditPopupMenuAction("Selected node", fGraphPanel);
        action.setDescription("Hide the selected node");
        action.setCommand(new FilterSelectedEntities(listWithObject, getGraphLoader(), getHierarchicEdgeGrouper()));
        filterMenu.add(action);

        action = new GraphEditPopupMenuAction("Internal dependencies", fGraphPanel);
        action.setDescription("Filter internal edges and lonely nodes of the selected folder node");
        action.setCommand(new FilterInternalDependenciesOfNode(node, getGraphLoader(), getHierarchicEdgeGrouper()));
View Full Code Here

Examples of org.evolizer.daforjava.commands.filters.FilterSelectedEntities

        }
        for (EdgeCursor ec = fGraphPanel.getGraph()
                .selectedEdges(); ec.ok(); ec.next()) {
            selectedElements.add(ec.edge());
        }
        FilterSelectedEntities filter = new FilterSelectedEntities(selectedElements, fGraphPanel.getGraphLoader(), fGraphPanel
                .getEdgeGrouper());
        fGraphPanel.getCommandController().executeCommand(filter);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.