class SelectNeighboursOnTable extends BasicNodesManipulator {
    private Node node;
    private Node[] neighbours;

    @Override
    public void setup(Node[] nodes, Node clickedNode) {<FILL_FUNCTION_BODY>}

    @Override
    public void execute() {
        Lookup.getDefault().lookup(DataTablesController.class).setNodeTableSelection(neighbours);
    }

    @Override
    public String getName() {
        return NbBundle.getMessage(SelectNeighboursOnTable.class, "SelectNeighboursOnTable.name");
    }

    @Override
    public String getDescription() {
        return "";
    }

    @Override
    public boolean canExecute() {
        return neighbours != null;//Do not enable if the node has no neighbours.
    }

    @Override
    public ManipulatorUI getUI() {
        return null;
    }

    @Override
    public int getType() {
        return 100;
    }

    @Override
    public int getPosition() {
        return 100;
    }

    @Override
    public Icon getIcon() {
        return ImageUtilities
            .loadImageIcon("DataLaboratoryPlugin/table-select-row.png", false);
    }
}

        this.node = clickedNode;
        if (Lookup.getDefault().lookup(GraphElementsController.class).isNodeInGraph(node)) {
            this.neighbours = Lookup.getDefault().lookup(GraphElementsController.class).getNodeNeighbours(node);
        }
    
<methods>public non-sealed void <init>() ,public java.lang.Integer getMnemonicKey() ,public org.gephi.datalab.spi.ContextMenuItemManipulator[] getSubItems() ,public boolean isAvailable() <variables>