Cleaned up Editor: removed warnings; cleaned listener system
[Mograsim.git] / plugins / net.mograsim.logic.model.editor / src / net / mograsim / logic / model / editor / handles / Handle.java
index cbfe2a2..8baa1e6 100644 (file)
@@ -116,12 +116,13 @@ public abstract class Handle
                return false;
        }
 
+       // These methods are intended to be overridden
        //@formatter:off
-    public void reqMove(double x, double y) {}
-    public void reqDelete() {}
-    public Optional<ComponentInfo> reqCopy(Point refPoint) { return Optional.empty(); }
-    public void onSelect() {}
-    public void onDeselect() {}
+       @SuppressWarnings("unused") public void reqMove(double x, double y) {/**/}
+    public void reqDelete() {/**/}
+    @SuppressWarnings({ "unused", "static-method" }) public Optional<ComponentInfo> reqCopy(Point refPoint) {return Optional.empty();}
+    public void onSelect() {/**/}
+    public void onDeselect() {/**/}
     //@formatter:on
 
        public final int getPriority()