Rename rxshapes to newshapes

This commit is contained in:
Thibaud Gasser 2019-03-19 21:17:53 +01:00
parent e8840cfd8b
commit bb9f4fbf39
17 changed files with 54 additions and 56 deletions

View File

@ -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.*;

View File

@ -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;

View File

@ -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 {

View File

@ -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);

View File

@ -1,4 +1,4 @@
package ovh.gasser.rxshapes.attributes;
package ovh.gasser.newshapes.attributes;
public interface Attributes {
String getID();

View File

@ -1,4 +1,4 @@
package ovh.gasser.rxshapes.attributes;
package ovh.gasser.newshapes.attributes;
import java.awt.*;

View File

@ -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";

View File

@ -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;

View File

@ -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;

View File

@ -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.*;

View File

@ -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.*;

View File

@ -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;

View File

@ -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.*;

View File

@ -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.*;

View File

@ -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;

View File

@ -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) {

View File

@ -1,4 +1,4 @@
package ovh.gasser.rxshapes.util;
package ovh.gasser.newshapes.util;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;