package pipe.actions.edit;

import pipe.actions.GuiAction;

import java.awt.event.ActionEvent;

public class CutAction extends GuiAction {

    public CutAction(final String name, final String tooltip,
                     final String keystroke) {
        super(name, tooltip, keystroke);
    }

    @Override
    public void actionPerformed(final ActionEvent actionEvent) {
        //To change body of implemented methods use File | Settings | File Templates.
    }
}
@@ -51,16 +51,111 @@
 iAction;
+%0Aimport pipe.controllers.PetriNetController;%0Aimport pipe.controllers.PipeApplicationController;
 %0A%0Aimport
@@ -226,16 +226,83 @@
 Action %7B
+%0A    private final PipeApplicationController applicationController;
 %0A%0A    pu
@@ -404,224 +404,438 @@
 roke
-) %7B%0A        super(name, tooltip, keystroke);%0A    %7D%0A%0A    @Override%0A    public void actionPerformed(final ActionEvent actionEvent) %7B%0A        //To change body of implemented methods use File %7C Settings %7C File Templates.
+, PipeApplicationController applicationController) %7B%0A        super(name, tooltip, keystroke);%0A        this.applicationController = applicationController;%0A    %7D%0A%0A    @Override%0A    public void actionPerformed(final ActionEvent actionEvent) %7B%0A        PetriNetController petriNetController = applicationController.getActivePetriNetController();%0A        petriNetController.copySelection();%0A        petriNetController.deleteSelection();
 %0A   

Add cut action