public CutAction(final NetworkPanel networkPanel){
  super(networkPanel,"Cut",EnablingCondition.NEURONS);
  Toolkit toolkit=Toolkit.getDefaultToolkit();
  KeyStroke keyStroke=KeyStroke.getKeyStroke(KeyEvent.VK_X,toolkit.getMenuShortcutKeyMask());
  putValue(ACCELERATOR_KEY,keyStroke);
  putValue(SMALL_ICON,ResourceManager.getImageIcon("Cut.png"));
  putValue(SHORT_DESCRIPTION,"Cut selected neurons, (connected) synapses, and neuron groups");
}

public CutAction ( final NetworkPanel networkPanel ) { super ( networkPanel , "Cut" , EnablingCondition . NEURONS ) ; Toolkit toolkit = Toolkit . getDefaultToolkit ( ) ; KeyStroke keyStroke = KeyStroke . getKeyStroke ( KeyEvent . VK_X , toolkit . getMenuShortcutKeyMask ( ) ) ; putValue ( ACCELERATOR_KEY , keyStroke ) ; putValue ( SMALL_ICON , ResourceManager . getImageIcon ( "Cut.png" ) ) ; putValue ( SHORT_DESCRIPTION , "Cut selected neurons, (connected) synapses, and neuron groups" ) ; }
create a new cut action with the specified network panel .
