class Settle extends BasicItem {

    @Override
    public void execute() {
        GraphElementsController gec = Lookup.getDefault().lookup(GraphElementsController.class);
        gec.setNodesFixed(nodes, true);
    }

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

    @Override
    public boolean canExecute() {<FILL_FUNCTION_BODY>}

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

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

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

    @Override
    public Integer getMnemonicKey() {
        return KeyEvent.VK_B;
    }
}

        GraphElementsController gec = Lookup.getDefault().lookup(GraphElementsController.class);
        for (Node n : nodes) {
            if (!gec.isNodeFixed(n)) {
                return true;
            }
        }
        return false;
    
<methods>public non-sealed void <init>() ,public java.lang.String getDescription() ,public java.lang.Integer getMnemonicKey() ,public org.gephi.datalab.spi.ContextMenuItemManipulator[] getSubItems() ,public org.gephi.datalab.spi.ManipulatorUI getUI() ,public boolean isAvailable() ,public void setup(Node[], Node) ,public void setup(Graph, Node[]) <variables>protected Graph graph,protected Node[] nodes