Re-organize code.
This commit is contained in:
parent
29051be12b
commit
467253f9bb
@ -26,7 +26,7 @@ import org.insa.graph.Node;
|
||||
import org.insa.graph.Point;
|
||||
import org.insa.graphics.drawing.Drawing;
|
||||
import org.insa.graphics.drawing.DrawingClickListener;
|
||||
import org.insa.graphics.drawing.MarkerTracker;
|
||||
import org.insa.graphics.drawing.overlays.MarkerTracker;
|
||||
|
||||
public class NodesInputPanel extends JPanel implements DrawingClickListener {
|
||||
|
||||
|
@ -24,7 +24,9 @@ import org.insa.graph.Graph;
|
||||
import org.insa.graph.Node;
|
||||
import org.insa.graph.Path;
|
||||
import org.insa.graph.Point;
|
||||
import org.insa.graphics.drawing.utils.MarkerUtils;
|
||||
import org.insa.graphics.drawing.overlays.MarkerTracker;
|
||||
import org.insa.graphics.drawing.overlays.MarkerUtils;
|
||||
import org.insa.graphics.drawing.overlays.OverlayTracker;
|
||||
|
||||
/**
|
||||
* Cette implementation de la classe Dessin produit vraiment un affichage (au
|
||||
|
@ -5,6 +5,7 @@ import java.awt.Color;
|
||||
import org.insa.graph.Graph;
|
||||
import org.insa.graph.Path;
|
||||
import org.insa.graph.Point;
|
||||
import org.insa.graphics.drawing.overlays.MarkerTracker;
|
||||
|
||||
public interface Drawing {
|
||||
|
||||
|
@ -14,8 +14,10 @@ import org.insa.graph.Arc;
|
||||
import org.insa.graph.Graph;
|
||||
import org.insa.graph.Path;
|
||||
import org.insa.graph.Point;
|
||||
import org.insa.graphics.drawing.utils.MarkerUtils;
|
||||
import org.insa.graphics.drawing.utils.PolylineAutoScaling;
|
||||
import org.insa.graphics.drawing.overlays.MarkerTracker;
|
||||
import org.insa.graphics.drawing.overlays.MarkerUtils;
|
||||
import org.insa.graphics.drawing.overlays.OverlayTracker;
|
||||
import org.insa.graphics.drawing.overlays.PolylineAutoScaling;
|
||||
import org.mapsforge.core.graphics.Bitmap;
|
||||
import org.mapsforge.core.graphics.GraphicFactory;
|
||||
import org.mapsforge.core.model.BoundingBox;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.insa.graphics.drawing;
|
||||
package org.insa.graphics.drawing.overlays;
|
||||
|
||||
import org.insa.graph.Point;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.insa.graphics.drawing.utils;
|
||||
package org.insa.graphics.drawing.overlays;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.image.BufferedImage;
|
@ -1,4 +1,4 @@
|
||||
package org.insa.graphics.drawing;
|
||||
package org.insa.graphics.drawing.overlays;
|
||||
|
||||
public interface OverlayTracker {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.insa.graphics.drawing.utils;
|
||||
package org.insa.graphics.drawing.overlays;
|
||||
|
||||
import java.awt.Color;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.insa.graphics.drawing.utils;
|
||||
package org.insa.graphics.drawing.overlays;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.util.List;
|
Loading…
Reference in New Issue
Block a user