Package org.gephi.datalab.api

Examples of org.gephi.datalab.api.GraphElementsController.ungroupNodes()


        this.nodes = nodes;
    }

    public void execute() {
        GraphElementsController gec = Lookup.getDefault().lookup(GraphElementsController.class);
        gec.ungroupNodes(nodes);//At least 1 node is a group. And we don't have to check now every node because the ungroupNodes method does it for us.
    }

    public String getName() {
        if (nodes.length > 1) {
            return NbBundle.getMessage(Ungroup.class, "Ungroup.name.multiple");
View Full Code Here


@ServiceProvider(service = GraphContextMenuItem.class)
public class Ungroup extends BasicItem {

    public void execute() {
        GraphElementsController gec = Lookup.getDefault().lookup(GraphElementsController.class);
        gec.ungroupNodes(nodes);
    }

    public String getName() {
        return NbBundle.getMessage(Ungroup.class, "GraphContextMenu_Ungroup");
    }
View Full Code Here

        this.nodes = nodes;
    }

    public void execute() {
        GraphElementsController gec = Lookup.getDefault().lookup(GraphElementsController.class);
        gec.ungroupNodes(nodes);//At least 1 node is a group. And we don't have to check now every node because the ungroupNodes method does it for us.
    }

    public String getName() {
        if (nodes.length > 1) {
            return NbBundle.getMessage(Ungroup.class, "Ungroup.name.multiple");
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.