Implement copy action
This commit is contained in:
@@ -3,6 +3,7 @@ package ovh.gasser.newshapes.ui;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import ovh.gasser.newshapes.ShapeVisitor;
|
||||
import ovh.gasser.newshapes.shapes.SCollection;
|
||||
import ovh.gasser.newshapes.shapes.Shape;
|
||||
|
||||
import javax.swing.*;
|
||||
@@ -15,7 +16,7 @@ public class ShapesView extends JPanel {
|
||||
private final Controller controller;
|
||||
private ShapeVisitor draftman;
|
||||
|
||||
public ShapesView(Shape model) {
|
||||
public ShapesView(SCollection model) {
|
||||
this.model = model;
|
||||
this.controller = new Controller(this, model);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user