class AddNodeToGraph implements GeneralActionsManipulator {

    @Override
    public void execute() {<FILL_FUNCTION_BODY>}

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

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

    @Override
    public boolean canExecute() {
        return true;
    }

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

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

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

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

        String label = JOptionPane
            .showInputDialog(null, NbBundle.getMessage(AddNodeToGraph.class, "AddNodeToGraph.dialog.text"),
                NbBundle.getMessage(AddNodeToGraph.class, "AddNodeToGraph.name"), JOptionPane.QUESTION_MESSAGE);
        if (label != null) {
            Node node = Lookup.getDefault().lookup(GraphElementsController.class).createNode(label);
            Lookup.getDefault().lookup(DataTablesController.class).setNodeTableSelection(new Node[] {node});
        }
    
<no_super_class>