Hi Michael
will these classes substitute all Layer/RederedImage/WMSLayer classes?
Peppe

2018-05-11 20:28 GMT+02:00 jump-pilot-svn--- via Jump-pilot-devel <
jump-pilot-devel@lists.sourceforge.net>:

> Revision: 5793
>           http://sourceforge.net/p/jump-pilot/code/5793
> Author:   michaudm
> Date:     2018-05-11 18:28:22 +0000 (Fri, 11 May 2018)
> Log Message:
> -----------
> New release 1.13
>
> Added Paths:
> -----------
>     core/tags/1.13/
>     core/tags/1.13/src/com/vividsolutions/jump/workbench/model/
> AbstractGeoreferencedLayerable.java
>     core/tags/1.13/src/com/vividsolutions/jump/workbench/
> model/GeoreferencedLayerable.java
>     core/tags/1.13/src/com/vividsolutions/jump/workbench/
> model/ImageLayerable.java
>     core/tags/1.13/src/com/vividsolutions/jump/workbench/
> model/VectorLayerable.java
>
> Added: core/tags/1.13/src/com/vividsolutions/jump/workbench/model/
> AbstractGeoreferencedLayerable.java
> ===================================================================
> --- core/tags/1.13/src/com/vividsolutions/jump/workbench/model/
> AbstractGeoreferencedLayerable.java                              (rev 0)
> +++ core/tags/1.13/src/com/vividsolutions/jump/workbench/model/
> AbstractGeoreferencedLayerable.java      2018-05-11 18:28:22 UTC (rev
> 5793)
> @@ -0,0 +1,9 @@
> +package com.vividsolutions.jump.workbench.model;
> +
> +import com.vividsolutions.jts.geom.Envelope;
> +
> +public abstract class AbstractGeoreferencedLayerable
> +        extends AbstractLayerable implements GeoreferencedLayerable{
> +
> +
> +}
>
> Added: core/tags/1.13/src/com/vividsolutions/jump/workbench/
> model/GeoreferencedLayerable.java
> ===================================================================
> --- core/tags/1.13/src/com/vividsolutions/jump/workbench/
> model/GeoreferencedLayerable.java                              (rev 0)
> +++ core/tags/1.13/src/com/vividsolutions/jump/workbench/
> model/GeoreferencedLayerable.java      2018-05-11 18:28:22 UTC (rev 5793)
> @@ -0,0 +1,22 @@
> +package com.vividsolutions.jump.workbench.model;
> +
> +import com.vividsolutions.jts.geom.Envelope;
> +import com.vividsolutions.jump.io.datasource.DataSourceQuery;
> +
> +import javax.xml.namespace.QName;
> +
> +/**
> + * A georeferenced Layerable is a Layerable wich is displayed according to
> + * its position relative to the earth (rather than relative to the
> screen).
> + * Most layers (Vector Layers, Referenced Image Layers and WMS Layers are
> + * GeoreferencedLayerables.
> + */
> +public interface GeoreferencedLayerable extends Layerable {
> +
> +  Envelope getEnvelope();
> +
> +  DataSourceQuery getDataSourceQuery();
> +
> +  QName getSRS();
> +
> +}
>
> Added: core/tags/1.13/src/com/vividsolutions/jump/workbench/
> model/ImageLayerable.java
> ===================================================================
> --- 
> core/tags/1.13/src/com/vividsolutions/jump/workbench/model/ImageLayerable.java
>                             (rev 0)
> +++ 
> core/tags/1.13/src/com/vividsolutions/jump/workbench/model/ImageLayerable.java
>     2018-05-11 18:28:22 UTC (rev 5793)
> @@ -0,0 +1,14 @@
> +package com.vividsolutions.jump.workbench.model;
> +
> +import com.vividsolutions.jump.workbench.ui.LayerViewPanel;
> +
> +import java.awt.*;
> +
> +public interface ImageLayerable {
> +
> +  Image createImage(LayerViewPanel viewPanel);
> +
> +  double getAlpha();
> +
> +  void setAlpha(double alpha);
> +}
>
> Added: core/tags/1.13/src/com/vividsolutions/jump/workbench/
> model/VectorLayerable.java
> ===================================================================
> --- 
> core/tags/1.13/src/com/vividsolutions/jump/workbench/model/VectorLayerable.java
>                            (rev 0)
> +++ 
> core/tags/1.13/src/com/vividsolutions/jump/workbench/model/VectorLayerable.java
>    2018-05-11 18:28:22 UTC (rev 5793)
> @@ -0,0 +1,24 @@
> +package com.vividsolutions.jump.workbench.model;
> +
> +import com.vividsolutions.jump.feature.FeatureCollection;
> +import com.vividsolutions.jump.feature.FeatureCollectionWrapper;
> +import com.vividsolutions.jump.workbench.ui.renderer.style.Style;
> +
> +import java.util.Collection;
> +import java.util.List;
> +
> +public interface VectorLayerable extends GeoreferencedLayerable {
> +
> +  List<Style> getStyles();
> +
> +  void addStyle(Style style);
> +
> +  void removeStyle(Style style);
> +
> +  void setStyles(Collection<Style> newStyles);
> +
> +  void setFeatureCollection(final FeatureCollection featureCollection);
> +
> +  FeatureCollectionWrapper getFeatureCollectionWrapper();
> +
> +}
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to