class DeleteEdges extends BasicEdgesManipulator {

    private Edge[] edges;

    @Override
    public void setup(Edge[] edges, Edge clickedEdge) {
        this.edges = edges;
    }

    @Override
    public void execute() {
        if (JOptionPane
            .showConfirmDialog(null, NbBundle.getMessage(DeleteEdges.class, "DeleteEdges.confirmation.message"),
                getName(), JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION) {
            GraphElementsController gec = Lookup.getDefault().lookup(GraphElementsController.class);
            gec.deleteEdges(edges);
        }
    }

    @Override
    public String getName() {<FILL_FUNCTION_BODY>}

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

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

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

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

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

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

        if (edges.length > 1) {
            return NbBundle.getMessage(DeleteEdges.class, "DeleteEdges.name.multiple");
        } else {
            return NbBundle.getMessage(DeleteEdges.class, "DeleteEdges.name.single");
        }
    
<methods>public non-sealed void <init>() ,public java.lang.Integer getMnemonicKey() ,public org.gephi.datalab.spi.ContextMenuItemManipulator[] getSubItems() ,public boolean isAvailable() <variables>