this.nodes = nodes;
}
public void execute() {
GraphElementsController gec = Lookup.getDefault().lookup(GraphElementsController.class);
gec.ungroupNodesRecursively(nodes);//At least 1 node is a group. And we don't have to check now every node because the ungroupNodesRecursively method does it for us.
}
public String getName() {
if (nodes.length > 1) {
return NbBundle.getMessage(Ungroup.class, "UngroupRecursively.name.multiple");