Rename rxshapes to newshapes
This commit is contained in:
parent
e8840cfd8b
commit
bb9f4fbf39
@ -1,9 +1,9 @@
|
||||
package ovh.gasser.rxshapes;
|
||||
package ovh.gasser.newshapes;
|
||||
|
||||
import ovh.gasser.rxshapes.shapes.SCollection;
|
||||
import ovh.gasser.rxshapes.shapes.SRectangle;
|
||||
import ovh.gasser.rxshapes.shapes.Shape;
|
||||
import ovh.gasser.rxshapes.ui.ShapesView;
|
||||
import ovh.gasser.newshapes.shapes.SCollection;
|
||||
import ovh.gasser.newshapes.shapes.SRectangle;
|
||||
import ovh.gasser.newshapes.shapes.Shape;
|
||||
import ovh.gasser.newshapes.ui.ShapesView;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
@ -1,8 +1,8 @@
|
||||
package ovh.gasser.rxshapes;
|
||||
package ovh.gasser.newshapes;
|
||||
|
||||
import ovh.gasser.rxshapes.shapes.SCollection;
|
||||
import ovh.gasser.rxshapes.shapes.SRectangle;
|
||||
import ovh.gasser.rxshapes.ui.html.*;
|
||||
import ovh.gasser.newshapes.shapes.SCollection;
|
||||
import ovh.gasser.newshapes.shapes.SRectangle;
|
||||
import ovh.gasser.newshapes.ui.html.*;
|
||||
|
||||
import java.awt.*;
|
||||
import java.io.FileNotFoundException;
|
@ -1,7 +1,7 @@
|
||||
package ovh.gasser.rxshapes;
|
||||
package ovh.gasser.newshapes;
|
||||
|
||||
import ovh.gasser.rxshapes.attributes.SelectionAttributes;
|
||||
import ovh.gasser.rxshapes.shapes.Shape;
|
||||
import ovh.gasser.newshapes.attributes.SelectionAttributes;
|
||||
import ovh.gasser.newshapes.shapes.Shape;
|
||||
|
||||
public class Selection {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package ovh.gasser.rxshapes;
|
||||
package ovh.gasser.newshapes;
|
||||
|
||||
import ovh.gasser.rxshapes.shapes.SCollection;
|
||||
import ovh.gasser.rxshapes.shapes.SRectangle;
|
||||
import ovh.gasser.newshapes.shapes.SCollection;
|
||||
import ovh.gasser.newshapes.shapes.SRectangle;
|
||||
|
||||
public interface ShapeVisitor {
|
||||
void visitRectangle(SRectangle sRectangle);
|
@ -1,4 +1,4 @@
|
||||
package ovh.gasser.rxshapes.attributes;
|
||||
package ovh.gasser.newshapes.attributes;
|
||||
|
||||
public interface Attributes {
|
||||
String getID();
|
@ -1,4 +1,4 @@
|
||||
package ovh.gasser.rxshapes.attributes;
|
||||
package ovh.gasser.newshapes.attributes;
|
||||
|
||||
import java.awt.*;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package ovh.gasser.rxshapes.attributes;
|
||||
package ovh.gasser.newshapes.attributes;
|
||||
|
||||
public class SelectionAttributes implements Attributes {
|
||||
public static final String ID = "SELECTION_ATTRS";
|
@ -1,6 +1,6 @@
|
||||
package ovh.gasser.rxshapes.shapes;
|
||||
package ovh.gasser.newshapes.shapes;
|
||||
|
||||
import ovh.gasser.rxshapes.attributes.Attributes;
|
||||
import ovh.gasser.newshapes.attributes.Attributes;
|
||||
|
||||
import java.awt.*;
|
||||
import java.util.Map;
|
@ -1,9 +1,9 @@
|
||||
package ovh.gasser.rxshapes.shapes;
|
||||
package ovh.gasser.newshapes.shapes;
|
||||
|
||||
import ovh.gasser.rxshapes.App;
|
||||
import ovh.gasser.rxshapes.attributes.SelectionAttributes;
|
||||
import ovh.gasser.rxshapes.ShapeVisitor;
|
||||
import ovh.gasser.rxshapes.util.Streamable;
|
||||
import ovh.gasser.newshapes.App;
|
||||
import ovh.gasser.newshapes.attributes.SelectionAttributes;
|
||||
import ovh.gasser.newshapes.ShapeVisitor;
|
||||
import ovh.gasser.newshapes.util.Streamable;
|
||||
|
||||
import java.awt.*;
|
||||
import java.util.Iterator;
|
@ -1,8 +1,8 @@
|
||||
package ovh.gasser.rxshapes.shapes;
|
||||
package ovh.gasser.newshapes.shapes;
|
||||
|
||||
import ovh.gasser.rxshapes.attributes.ColorAttributes;
|
||||
import ovh.gasser.rxshapes.attributes.SelectionAttributes;
|
||||
import ovh.gasser.rxshapes.ShapeVisitor;
|
||||
import ovh.gasser.newshapes.attributes.ColorAttributes;
|
||||
import ovh.gasser.newshapes.attributes.SelectionAttributes;
|
||||
import ovh.gasser.newshapes.ShapeVisitor;
|
||||
|
||||
import java.awt.*;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package ovh.gasser.rxshapes.shapes;
|
||||
package ovh.gasser.newshapes.shapes;
|
||||
|
||||
import ovh.gasser.rxshapes.ShapeVisitor;
|
||||
import ovh.gasser.rxshapes.attributes.Attributes;
|
||||
import ovh.gasser.newshapes.ShapeVisitor;
|
||||
import ovh.gasser.newshapes.attributes.Attributes;
|
||||
|
||||
import java.awt.*;
|
||||
|
@ -1,13 +1,12 @@
|
||||
package ovh.gasser.rxshapes.ui;
|
||||
package ovh.gasser.newshapes.ui;
|
||||
|
||||
import io.reactivex.Observable;
|
||||
import io.reactivex.disposables.Disposable;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import ovh.gasser.rxshapes.Selection;
|
||||
import ovh.gasser.rxshapes.util.EventSource;
|
||||
import ovh.gasser.rxshapes.shapes.Shape;
|
||||
import ovh.gasser.rxshapes.shapes.SCollection;
|
||||
import ovh.gasser.newshapes.Selection;
|
||||
import ovh.gasser.newshapes.util.EventSource;
|
||||
import ovh.gasser.newshapes.shapes.Shape;
|
||||
import ovh.gasser.newshapes.shapes.SCollection;
|
||||
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.util.Optional;
|
@ -1,11 +1,11 @@
|
||||
package ovh.gasser.rxshapes.ui;
|
||||
package ovh.gasser.newshapes.ui;
|
||||
|
||||
import ovh.gasser.rxshapes.ShapeVisitor;
|
||||
import ovh.gasser.rxshapes.shapes.Shape;
|
||||
import ovh.gasser.rxshapes.attributes.ColorAttributes;
|
||||
import ovh.gasser.rxshapes.attributes.SelectionAttributes;
|
||||
import ovh.gasser.rxshapes.shapes.SCollection;
|
||||
import ovh.gasser.rxshapes.shapes.SRectangle;
|
||||
import ovh.gasser.newshapes.ShapeVisitor;
|
||||
import ovh.gasser.newshapes.shapes.Shape;
|
||||
import ovh.gasser.newshapes.attributes.ColorAttributes;
|
||||
import ovh.gasser.newshapes.attributes.SelectionAttributes;
|
||||
import ovh.gasser.newshapes.shapes.SCollection;
|
||||
import ovh.gasser.newshapes.shapes.SRectangle;
|
||||
|
||||
import java.awt.*;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package ovh.gasser.rxshapes.ui;
|
||||
package ovh.gasser.newshapes.ui;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import ovh.gasser.rxshapes.ShapeVisitor;
|
||||
import ovh.gasser.rxshapes.shapes.Shape;
|
||||
import ovh.gasser.newshapes.ShapeVisitor;
|
||||
import ovh.gasser.newshapes.shapes.Shape;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
@ -1,9 +1,9 @@
|
||||
package ovh.gasser.rxshapes.ui.html;
|
||||
package ovh.gasser.newshapes.ui.html;
|
||||
|
||||
import ovh.gasser.rxshapes.ShapeVisitor;
|
||||
import ovh.gasser.rxshapes.attributes.ColorAttributes;
|
||||
import ovh.gasser.rxshapes.shapes.SCollection;
|
||||
import ovh.gasser.rxshapes.shapes.SRectangle;
|
||||
import ovh.gasser.newshapes.ShapeVisitor;
|
||||
import ovh.gasser.newshapes.attributes.ColorAttributes;
|
||||
import ovh.gasser.newshapes.shapes.SCollection;
|
||||
import ovh.gasser.newshapes.shapes.SRectangle;
|
||||
|
||||
import java.awt.*;
|
||||
import java.io.PrintWriter;
|
@ -1,11 +1,10 @@
|
||||
package ovh.gasser.rxshapes.util;
|
||||
package ovh.gasser.newshapes.util;
|
||||
|
||||
import io.reactivex.Observable;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.event.MouseAdapter;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.util.concurrent.Future;
|
||||
|
||||
public class EventSource {
|
||||
public static Observable<MouseEvent> fromMouseEventsOf(final Component component) {
|
@ -1,4 +1,4 @@
|
||||
package ovh.gasser.rxshapes.util;
|
||||
package ovh.gasser.newshapes.util;
|
||||
|
||||
import java.util.stream.Stream;
|
||||
import java.util.stream.StreamSupport;
|
Loading…
Reference in New Issue
Block a user