Replaced "provider" in identifiers with "supplier"
[Mograsim.git] / net.mograsim.logic.ui / src / net / mograsim / logic / ui / model / wires / WireCrossPoint.java
index 1a3f893..58e3a02 100644 (file)
@@ -23,7 +23,7 @@ import net.mograsim.preferences.ColorManager;
  * 
  * @author Daniel Kirschten
  */
-public class WireCrossPoint extends GUIComponent implements ConnectionPoint
+public class WireCrossPoint extends GUIComponent
 {
        private static final int CIRCLE_RADIUS = 1;
        private static final int CIRCLE_DIAM = CIRCLE_RADIUS * 2;
@@ -55,7 +55,6 @@ public class WireCrossPoint extends GUIComponent implements ConnectionPoint
 
        // pins
 
-       @Override
        public Pin getPin()
        {
                return pin;
@@ -118,7 +117,7 @@ public class WireCrossPoint extends GUIComponent implements ConnectionPoint
 
        static
        {
-               IndirectGUIComponentCreator.setComponentProvider(WireCrossPoint.class.getCanonicalName(),
+               IndirectGUIComponentCreator.setComponentSupplier(WireCrossPoint.class.getCanonicalName(),
                                (m, p) -> new WireCrossPoint(m, p.getAsInt()));
        }
 }
\ No newline at end of file