Re: [JPP-Devel] Added cut features tool to Editing toolbox

2015-12-03 Thread Michaël Michaud

Hi Peppe,

Seems like you forgot to commit the icon,

Michaël

Le 04/12/2015 08:29, Giuseppe Aruta a écrit :

Hi all,
I added a new cutting tool to editing toolbox, "Cut polygons and 
linestrings"
It partially derives from "SplitPolygonToo.class" from Kosmo SAIG and 
it has been modified to be used for both polygons (multipolygons) and 
linestrings (multilinestrins). Any modification is undoable.

See OpenJUMP Development Snapshots revision 4562
Best regards
Giuseppe Aruta


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Added cut features tool to Editing toolbox

2015-12-03 Thread Giuseppe Aruta
Hi all,
I added a new cutting tool to editing toolbox, "Cut polygons and
linestrings"
It partially derives from "SplitPolygonToo.class" from Kosmo SAIG and it
has been modified to be used for both polygons (multipolygons) and
linestrings (multilinestrins). Any modification is undoable.
See OpenJUMP Development Snapshots revision 4562
Best regards
Giuseppe Aruta
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] SVN: [4562] core/trunk

2015-12-03 Thread jump-pilot-svn
Revision: 4562
  http://sourceforge.net/p/jump-pilot/code/4562
Author:   ma15569
Date: 2015-12-04 07:22:31 + (Fri, 04 Dec 2015)
Log Message:
---


Modified Paths:
--
core/trunk/ChangeLog

Added Paths:
---

core/trunk/src/org/openjump/core/ui/plugin/edittoolbox/CutFeaturesPlugIn.java

core/trunk/src/org/openjump/core/ui/plugin/edittoolbox/cursortools/CutFeaturesTool.java

Modified: core/trunk/ChangeLog
===
--- core/trunk/ChangeLog2015-12-04 07:19:06 UTC (rev 4561)
+++ core/trunk/ChangeLog2015-12-04 07:22:31 UTC (rev 4562)
@@ -1,5 +1,10 @@
 # for display continuity sake please use 2 spaces instead of tabs
 
+2015-12-04 Giuseppe Aruta  
+   * Added CutFeatures tool into the editing toolbox
+   * This tool partially derives from SplitPolygonPlugIn.class from Kosmo SAIG
+   * It has been modified to be used both with selected Linestrings and 
Polygons.
+ 
 2015-12-03 ede
   * added Nicolas Ribot's Oracle Spatial Datastore Extension to CORE
 activates in PLUS as it needs DBQuery's *gt2-oracle-spatial-2.x.jar*
@@ -21,7 +26,7 @@
   * RasterImageLayer: fixed few bugs related to overall and single cell
   transparency
 
-2015-11-13 Giuseppe Arta  
+2015-11-13 Giuseppe Aruta  
   * Added Measure Toolbox Extension version 11 to OpenJUMP Plus
 Documentation is available here: http://sourceforge.net/projects/opensit
 /files/Openjump/PlugIn/MeasureExtension/Measure%20toolbox_11.pdf/download

Added: 
core/trunk/src/org/openjump/core/ui/plugin/edittoolbox/CutFeaturesPlugIn.java
===
--- 
core/trunk/src/org/openjump/core/ui/plugin/edittoolbox/CutFeaturesPlugIn.java   
(rev 0)
+++ 
core/trunk/src/org/openjump/core/ui/plugin/edittoolbox/CutFeaturesPlugIn.java   
2015-12-04 07:22:31 UTC (rev 4562)
@@ -0,0 +1,78 @@
+package org.openjump.core.ui.plugin.edittoolbox;
+
+import java.awt.event.ComponentAdapter;
+import java.awt.event.ComponentEvent;
+
+import javax.swing.ImageIcon;
+import javax.swing.JOptionPane;
+
+import org.openjump.core.apitools.LayerTools;
+import org.openjump.core.ui.plugin.edittoolbox.cursortools.CutFeaturesTool;
+import org.openjump.core.ui.plugin.edittoolbox.cursortools.CutPolygonTool;
+
+import com.vividsolutions.jump.I18N;
+import com.vividsolutions.jump.workbench.WorkbenchContext;
+import com.vividsolutions.jump.workbench.model.Layer;
+import com.vividsolutions.jump.workbench.plugin.AbstractPlugIn;
+import com.vividsolutions.jump.workbench.plugin.EnableCheckFactory;
+import com.vividsolutions.jump.workbench.plugin.MultiEnableCheck;
+import com.vividsolutions.jump.workbench.plugin.PlugInContext;
+import com.vividsolutions.jump.workbench.ui.cursortool.QuasimodeTool;
+import com.vividsolutions.jump.workbench.ui.cursortool.editing.EditingPlugIn;
+import com.vividsolutions.jump.workbench.ui.images.IconLoader;
+import com.vividsolutions.jump.workbench.ui.toolbox.ToolboxDialog;
+
+public class CutFeaturesPlugIn extends AbstractPlugIn {
+
+   private boolean CutPolygonButtonAdded = false;
+   
+   /* (non-Javadoc)
+* @see 
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn#initialize(com.vividsolutions.jump.workbench.plugin.PlugInContext)
+*/
+   public void initialize(final PlugInContext context) throws Exception
+   {
+   //add a listener so that when the toolbox dialog opens the 
constrained tools will be added
+   //we can't just add the tools directly at this point since the 
toolbox isn't ready yet
+   
+   
context.getWorkbenchContext().getWorkbench().getFrame().addComponentListener(
+   new ComponentAdapter()
+   { 
+   public void componentShown(ComponentEvent e)
+   {
+   final ToolboxDialog toolBox = ((EditingPlugIn) 
context.getWorkbenchContext().getBlackboard().get(EditingPlugIn.KEY)).getToolbox(context.getWorkbenchContext());
+   toolBox.addComponentListener(new ComponentAdapter()
+   {
+   public void componentShown(ComponentEvent e)
+   {
+   addButton(context);
+   }
+   
+   public void componentHidden(ComponentEvent e)
+   {
+   }
+   });
+   }
+   });
+   }
+   
+   public boolean execute(PlugInContext context) throws Exception
+   {
+   return true;
+   }
+   
+   public void addButton(final PlugInContext context)
+   {
+   if (!CutPolygonButtonAdded)
+   {
+   f

[JPP-Devel] SVN: [4561] core/trunk

2015-12-03 Thread jump-pilot-svn
Revision: 4561
  http://sourceforge.net/p/jump-pilot/code/4561
Author:   ma15569
Date: 2015-12-04 07:19:06 + (Fri, 04 Dec 2015)
Log Message:
---
 Giuseppe Aruta Dec 4 2015
 This tool partially derives from SplitPolygonPlugIn.class from Kosmo SAIG
It has been modified to be used both with selected Linestrings and Polygons.

Modified Paths:
--
core/trunk/scripts/default-plugins.xml
core/trunk/src/language/jump.properties
core/trunk/src/language/jump_cz.properties
core/trunk/src/language/jump_de.properties
core/trunk/src/language/jump_es.properties
core/trunk/src/language/jump_fi.properties
core/trunk/src/language/jump_fr.properties
core/trunk/src/language/jump_hu.properties
core/trunk/src/language/jump_it.properties
core/trunk/src/language/jump_ja_JP.properties
core/trunk/src/language/jump_ml.properties
core/trunk/src/language/jump_pt.properties
core/trunk/src/language/jump_pt_BR.properties
core/trunk/src/language/jump_ta_IN.properties
core/trunk/src/language/jump_te.properties
core/trunk/src/language/jump_zh_CN.properties
core/trunk/src/language/jump_zh_HK.properties

Modified: core/trunk/scripts/default-plugins.xml
===
--- core/trunk/scripts/default-plugins.xml  2015-12-03 22:33:08 UTC (rev 
4560)
+++ core/trunk/scripts/default-plugins.xml  2015-12-04 07:19:06 UTC (rev 
4561)
@@ -25,9 +25,6 @@


org.openjump.core.ui.plugin.datastore.postgis.SaveToPostGISPlugIn

-   
-   com.vividsolutions.jump.datastore.OracleDataStoreExtension
-   


org.openjump.core.ccordsys.srid.EnsureAllLayersHaveSRIDStylePlugIn

@@ -1665,23 +1662,24 @@

org.openjump.core.ui.plugin.edittoolbox.ConstrainedMoveVertexPlugIn


-   org.openjump.core.ui.plugin.edittoolbox.RotateSelectedItemPlugIn
-   
-   
org.openjump.core.ui.plugin.edittoolbox.SelectOneItemPlugIn



org.openjump.core.ui.plugin.edittoolbox.DrawCircleWithGivenRadiusPlugIn


+   org.openjump.core.ui.plugin.edittoolbox.NoteToolPlugIn
+   
+   
org.openjump.core.ui.plugin.edittoolbox.CutPolygonSIGLEPlugIn


-   
org.openjump.core.ui.plugin.edittoolbox.AutoCompletePolygonPlugIn
+   org.openjump.core.ui.plugin.edittoolbox.CutFeaturesPlugIn


-   org.openjump.core.ui.plugin.edittoolbox.NoteToolPlugIn
+   
org.openjump.core.ui.plugin.edittoolbox.AutoCompletePolygonPlugIn

+

org.openjump.core.ui.plugin.edittoolbox.FillPolygonPlugIn


Modified: core/trunk/src/language/jump.properties
===
--- core/trunk/src/language/jump.properties 2015-12-03 22:33:08 UTC (rev 
4560)
+++ core/trunk/src/language/jump.properties 2015-12-04 07:19:06 UTC (rev 
4561)
@@ -2574,3 +2574,4 @@
 org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.message=Error or no legend 
associated to selected layer
 
org.openjump.core.ui.plugin.mousemenu.MeasureSelectedFeaturePlugIn.name=Measure 
selected feature
 
org.openjump.core.ui.plugin.mousemenu.MeasureSelectedFeaturePlugIn.message1=not 
supported for this type of operation
+org.openjump.core.ui.plugin.tools.CutFeaturesTool = Cut polygons or linestrings
\ No newline at end of file

Modified: core/trunk/src/language/jump_cz.properties
===
--- core/trunk/src/language/jump_cz.properties  2015-12-03 22:33:08 UTC (rev 
4560)
+++ core/trunk/src/language/jump_cz.properties  2015-12-04 07:19:06 UTC (rev 
4561)
@@ -2554,3 +2554,4 @@
 org.openjump.core.ui.plugin.wms.WMSLegendPlugIn=\#T\:Show WMS Layer Legend
 org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.panel=\#T\:WMS Legend
 org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.message=\#T\:Error or no 
legend associated to selected layer
+org.openjump.core.ui.plugin.tools.CutFeaturesTool = \#T\:Cut polygons or 
linestrings
\ No newline at end of file

Modified: core/trunk/src/language/jump_de.properties
===
--- core/trunk/src/language/jump_de.properties  2015-12-03 22:33:08 UTC (rev 
4560)
+++ core/trunk/src/language/jump_de.properties  2015-12-04 07:19:06 UTC (rev 
4561)
@@ -2549,4 +2549,5 @@
 
org.openjump.core.ui.plugin.tools.AddGeometryAttributesPlugIn.compacity=\#T\:Compacity
 
org.openjump.core.ui.plugin.tools.AddGeometryAttributesPlugIn.add-compacity=\#T\:Add
 Compacity (Grav\xE9lius)
 org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.panel=\#T\:WMS Legend
-org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.message=\#T\:Error or no 
legend associated to selected layer
\ No newline at end of file
+org.openjump.c

[JPP-Devel] SVN: [4560] core/trunk/src

2015-12-03 Thread jump-pilot-svn
Revision: 4560
  http://sourceforge.net/p/jump-pilot/code/4560
Author:   michaudm
Date: 2015-12-03 22:33:08 + (Thu, 03 Dec 2015)
Log Message:
---
Fix bug and improve compatibility between SLD and ColorThemingStyle

Modified Paths:
--

core/trunk/src/com/vividsolutions/jump/workbench/ui/renderer/style/XBasicStyle.java
core/trunk/src/org/openjump/util/CustomTexturePaint.java
core/trunk/src/org/openjump/util/SLDImporter.java

Modified: 
core/trunk/src/com/vividsolutions/jump/workbench/ui/renderer/style/XBasicStyle.java
===
--- 
core/trunk/src/com/vividsolutions/jump/workbench/ui/renderer/style/XBasicStyle.java
 2015-12-03 17:56:51 UTC (rev 4559)
+++ 
core/trunk/src/com/vividsolutions/jump/workbench/ui/renderer/style/XBasicStyle.java
 2015-12-03 22:33:08 UTC (rev 4560)
@@ -13,7 +13,7 @@
  */
 public class XBasicStyle extends BasicStyle {
 
-VertexStyle vertexStyle;
+VertexStyle vertexStyle = new SquareVertexStyle();
 
 public XBasicStyle() {} // for java2xml
 

Modified: core/trunk/src/org/openjump/util/CustomTexturePaint.java
===
--- core/trunk/src/org/openjump/util/CustomTexturePaint.java2015-12-03 
17:56:51 UTC (rev 4559)
+++ core/trunk/src/org/openjump/util/CustomTexturePaint.java2015-12-03 
22:33:08 UTC (rev 4560)
@@ -38,6 +38,8 @@
 
 package org.openjump.util;
 
+import org.apache.log4j.Logger;
+
 import static com.vividsolutions.jump.I18N.get;
 import static com.vividsolutions.jump.I18N.getMessage;
 import static java.awt.Color.black;
@@ -70,6 +72,8 @@
  */
 public class CustomTexturePaint implements Paint {
 
+private static final Logger LOG = 
Logger.getLogger(CustomTexturePaint.class);
+
 private TexturePaint texturePaint;
 
 private URL url;
@@ -99,6 +103,13 @@
 setUrl(url.toExternalForm());
 } catch (IOException e) {
 // ignore IOs
+LOG.error("Could not load texture from URL '" + url + "'", e);
+BufferedImage img = new BufferedImage(300, 20, TYPE_INT_ARGB);
+Graphics g = img.getGraphics();
+g.setColor(black);
+
g.drawString(get("org.openjump.util.CustomTexturePaint.no-image-chosen"), 25, 
10);
+g.dispose();
+texturePaint = new TexturePaint(img, new Rectangle2D.Float(0, 0, 
img.getWidth(), img.getHeight()));
 }
 }
 

Modified: core/trunk/src/org/openjump/util/SLDImporter.java
===
--- core/trunk/src/org/openjump/util/SLDImporter.java   2015-12-03 17:56:51 UTC 
(rev 4559)
+++ core/trunk/src/org/openjump/util/SLDImporter.java   2015-12-03 22:33:08 UTC 
(rev 4560)
@@ -61,17 +61,12 @@
 import javax.xml.namespace.NamespaceContext;
 import javax.xml.xpath.XPathExpressionException;
 
+import com.vividsolutions.jump.workbench.ui.renderer.style.*;
 import org.apache.log4j.Logger;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 
 import com.vividsolutions.jump.util.Range;
-import com.vividsolutions.jump.workbench.ui.renderer.style.BasicStyle;
-import com.vividsolutions.jump.workbench.ui.renderer.style.ColorThemingStyle;
-import com.vividsolutions.jump.workbench.ui.renderer.style.LabelStyle;
-import com.vividsolutions.jump.workbench.ui.renderer.style.SquareVertexStyle;
-import com.vividsolutions.jump.workbench.ui.renderer.style.Style;
-import com.vividsolutions.jump.workbench.ui.renderer.style.VertexStyle;
 
 import de.latlon.deejump.plugin.style.BitmapVertexStyle;
 import de.latlon.deejump.plugin.style.CircleVertexStyle;
@@ -287,13 +282,13 @@
  * @param rule
  * @return a corresponding BasicStyle
  */
-public static BasicStyle getBasicStyle(Element rule) {
+public static XBasicStyle getBasicStyle(Element rule) {
 if (rule == null) {
 return null;
 }
 
 try {
-BasicStyle style = new BasicStyle();
+XBasicStyle style = new XBasicStyle();
 style.setRenderingFill(false);
 style.setRenderingFillPattern(false);
 style.setRenderingLine(false);


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Oracle Spatial Datastore WAS: Database Query Plugin - Oracle Spatial

2015-12-03 Thread edgar . soldin
Luis and all,

i just committed the following

  * added Nicolas Ribot's Oracle Spatial Datastore Extension to CORE
activates in PLUS as it needs DBQuery's *gt2-oracle-spatial-2.x.jar*
also *ojdbc6.jar* must be downloaded and installed manually because
of licensing restrictions

as i don't have an oracle spatial db server at hand, can someone please try 
how/if that works? a short step-by-step list

1. download latest PLUS snapshot

http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/OpenJUMP-Portable-20151203-r4559-PLUS.zip
2. extract
3. download ojdbc6.jar
http://www.oracle.com/technetwork/apps-tech/jdbc-112010-090769.html
4. place in OJ_FOLDER/lib/ext
5. start OJ
6. open File->Open, select 'Data Store Layer' on the left, click on the blue db 
icon on the top right of the Open dialog to open the connection manager
7. from here it should be self explanatory and similar how Postgis is handled

thanks ..ede

On 03.12.2015 12:16, edgar.sol...@web.de wrote:
> Nicolas released a plugin  early this year. Maybe that fit's your purpose? 
>  
> http://jump-pilot-devel-openjump-develop-and-use.1063199.n5.nabble.com/JPP-Devel-Oracle-Spatial-DataStore-plugin-td5711015.html
> 
> just send it again as the previous mail was miraculously considered SPAM.
> 
> ..ede
> 
> On 02.12.2015 18:12, Rahkonen Jukka (MML) wrote:
>> Hi,
>>
>>  
>>
>> The DB Query plugin is perhaps the most robust and fastest client for Oracle 
>> Spatial but it is definitely read only and knowing the current developer 
>> team I would say that read/write Oracle driver won’t come. For sure it will 
>> not be based on DB Query because it is skipping all the metadata stuff in 
>> Oracle. I would have a look at Kosmo GIS http://opengis.es/ instead which is 
>> much like OpenJUMP and which can also edit Oracle Spatial data.
>>
>>  
>>
>> -Jukka Rahkonen-
>>
>>  
>>
>>  
>>
>> Luis Paolini wrote:
>>
>>  
>>
>> Hi folks,
>>
>>  
>>
>>  I’d like to know if OpenJump, using Database 
>> Query Plugin, is able to edit geometries stored into Oracle Spatial tables.
>>
>>  
>>
>> TIA,
>>
>> Luis
>>
>>
>>
>> --
>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>> Give your users amazing mobile app experiences with Intel(R) XDK.
>> Use one codebase in this all-in-one HTML5 development environment.
>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
>>
>>
>>
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
> 
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] SVN: [4559] core/trunk/src/com/vividsolutions/jump/datastore/oracle

2015-12-03 Thread jump-pilot-svn
Revision: 4559
  http://sourceforge.net/p/jump-pilot/code/4559
Author:   edso
Date: 2015-12-03 17:56:51 + (Thu, 03 Dec 2015)
Log Message:
---
leftover from previous commit

Added Paths:
---

core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleDSConnection.java

core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleDSMetadata.java

core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleDataStoreDriver.java

core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleFeatureInputStream.java

core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleResultSetConverter.java

core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleSQLBuilder.java

core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleValueConverterFactory.java

Added: 
core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleDSConnection.java
===
--- 
core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleDSConnection.java 
(rev 0)
+++ 
core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleDSConnection.java 
2015-12-03 17:56:51 UTC (rev 4559)
@@ -0,0 +1,90 @@
+package com.vividsolutions.jump.datastore.oracle;
+
+import com.vividsolutions.jump.I18N;
+import com.vividsolutions.jump.datastore.*;
+import com.vividsolutions.jump.io.FeatureInputStream;
+
+import java.sql.Connection;
+import java.sql.SQLException;
+
+/**
+ */
+public class OracleDSConnection implements DataStoreConnection {
+
+private OracleDSMetadata dbMetadata;
+private Connection connection;
+
+public OracleDSConnection(Connection conn) {
+connection = conn;
+dbMetadata = new OracleDSMetadata(this);
+}
+
+public Connection getConnection() {
+return connection;
+}
+
+public DataStoreMetadata getMetadata() {
+return dbMetadata;
+}
+
+public FeatureInputStream execute(Query query) throws Exception {
+if (query instanceof FilterQuery) {
+try {
+return executeFilterQuery((FilterQuery) query);
+} catch (SQLException e) {
+throw new RuntimeException(e);
+}
+}
+if (query instanceof AdhocQuery) {
+return executeAdhocQuery((AdhocQuery) query);
+}
+throw new 
IllegalArgumentException(I18N.get(this.getClass().getName()+".unsupported-query-type"));
+}
+
+/**
+ * Executes a filter query.
+ *
+ * The SRID is optional for queries - it will be determined automatically
+ * from the table metadata if not supplied.
+ *
+ * @param query the query to execute
+ * @return the results of the query
+ * @throws SQLException
+ */
+public FeatureInputStream executeFilterQuery(FilterQuery query) throws 
SQLException {
+
+SpatialReferenceSystemID srid = 
dbMetadata.getSRID(query.getDatasetName(), query.getGeometryAttributeName());
+String[] colNames = dbMetadata.getColumnNames(query.getDatasetName());
+
+OracleSQLBuilder builder = new OracleSQLBuilder(srid, colNames, 
dbMetadata.getGeoIndexes());
+String queryString = builder.getSQL(query);
+
+return new OracleFeatureInputStream(connection, queryString, 
query.getPrimaryKey());
+}
+
+public FeatureInputStream executeAdhocQuery(AdhocQuery query) throws 
Exception {
+String queryString = query.getQuery();
+OracleFeatureInputStream ifs = new 
OracleFeatureInputStream(connection, queryString, query.getPrimaryKey());
+if (ifs.getFeatureSchema().getGeometryIndex() < 0) {
+throw new 
Exception(I18N.get(this.getClass().getName()+".resultset-must-have-a-geometry-column"));
+}
+return ifs;
+}
+
+
+public void close() throws DataStoreException {
+try {
+connection.close();
+}
+catch (Exception ex) { throw new DataStoreException(ex); }
+}
+
+public boolean isClosed() throws DataStoreException {
+try {
+return connection.isClosed();
+} catch (SQLException e) {
+throw new DataStoreException(e);
+}
+}
+
+}
\ No newline at end of file


Property changes on: 
core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleDSConnection.java
___
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: 
core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleDSMetadata.java
===
--- 
core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleDSMetadata.java   
(rev 0)
+++ 
core/trunk/src/com/vividsolutions/jump/datastore/oracle/OracleDSMetadata.java   
2015-12-03 17:56:51 UTC (rev 4559)
@@ -0,0 +1,353 @@
+package com.vividsolutions.jump.datas

[JPP-Devel] SVN: [4558] core/trunk

2015-12-03 Thread jump-pilot-svn
Revision: 4558
  http://sourceforge.net/p/jump-pilot/code/4558
Author:   edso
Date: 2015-12-03 17:26:12 + (Thu, 03 Dec 2015)
Log Message:
---
  * added Nicolas Ribot's Oracle Spatial Datastore Extension to CORE
activates in PLUS as it needs DBQuery's *gt2-oracle-spatial-2.x.jar*
also *ojdbc6.jar* must be downloaded and installed manually because
of licensing restrictions
  * extensions can hold messages now (eg. tell why they are not activated) 

Modified Paths:
--
core/trunk/ChangeLog
core/trunk/etc/readme.txt
core/trunk/scripts/default-plugins.xml
core/trunk/src/com/vividsolutions/jump/workbench/plugin/Extension.java
core/trunk/src/com/vividsolutions/jump/workbench/plugin/PlugInManager.java

core/trunk/src/com/vividsolutions/jump/workbench/ui/ExtensionsAboutPanel.java
core/trunk/src/de/latlon/deejump/wfs/WFSExtension.java

Added Paths:
---

core/trunk/src/com/vividsolutions/jump/datastore/OracleDataStoreExtension.java
core/trunk/src/com/vividsolutions/jump/datastore/oracle/

Modified: core/trunk/ChangeLog
===
--- core/trunk/ChangeLog2015-12-03 12:43:38 UTC (rev 4557)
+++ core/trunk/ChangeLog2015-12-03 17:26:12 UTC (rev 4558)
@@ -1,5 +1,12 @@
 # for display continuity sake please use 2 spaces instead of tabs
 
+2015-12-03 ede
+  * added Nicolas Ribot's Oracle Spatial Datastore Extension to CORE
+activates in PLUS as it needs DBQuery's *gt2-oracle-spatial-2.x.jar*
+also *ojdbc6.jar* must be downloaded and installed manually because
+of licensing restrictions
+  * extensions can hold messages now (eg. tell why they are not activated) 
+
 2015-11-23 mmichaud 
   * Fix bug #411 : plugins in attributeTable context menu was deactivated
 

Modified: core/trunk/etc/readme.txt
===
--- core/trunk/etc/readme.txt   2015-12-03 12:43:38 UTC (rev 4557)
+++ core/trunk/etc/readme.txt   2015-12-03 17:26:12 UTC (rev 4558)
@@ -61,10 +61,12 @@
 and the following plugins
 ( Component name - License name - License file in "licenses/" folder
list of files and dependencies with license if any )
+ Oracle Datastore (Nicolas Ribot) - GPL2 - gpl-2.txt
  SkyPrinter - GPL2 - gpl-2.txt
   SkyPrinterPlugIn-*.jar
   itext-*.jar - LGPL2.1 - lgpl-2.1.txt
 
+
 Additionally PLUS distribution contains
 ( Component name - License name - License file in "licenses/" folder
list of files and dependencies with license if any )
@@ -129,6 +131,11 @@
  Vertex Symbols (com.cadplan.jump) - GPL2 - gpl-2.txt
   VertexSymbols.jar
   itext-*.jar - LGPL2.1 - lgpl-2.1.txt
+ WFS Plugin
+  commons-httpclient-3.1.jar
+  deegree2-core-2.6-pre2-20140511.220246-596.jar
+  jaxen-1.1.1.jar
+  vecmath-1.5.2.jar
 
 
 2. Installation instructions

Modified: core/trunk/scripts/default-plugins.xml
===
--- core/trunk/scripts/default-plugins.xml  2015-12-03 12:43:38 UTC (rev 
4557)
+++ core/trunk/scripts/default-plugins.xml  2015-12-03 17:26:12 UTC (rev 
4558)
@@ -25,6 +25,9 @@


org.openjump.core.ui.plugin.datastore.postgis.SaveToPostGISPlugIn

+   
+   com.vividsolutions.jump.datastore.OracleDataStoreExtension
+   


org.openjump.core.ccordsys.srid.EnsureAllLayersHaveSRIDStylePlugIn


Added: 
core/trunk/src/com/vividsolutions/jump/datastore/OracleDataStoreExtension.java
===
--- 
core/trunk/src/com/vividsolutions/jump/datastore/OracleDataStoreExtension.java  
(rev 0)
+++ 
core/trunk/src/com/vividsolutions/jump/datastore/OracleDataStoreExtension.java  
2015-12-03 17:26:12 UTC (rev 4558)
@@ -0,0 +1,51 @@
+package com.vividsolutions.jump.datastore;
+
+import static 
com.vividsolutions.jump.datastore.oracle.OracleDataStoreDriver.JDBC_CLASS;
+
+import com.vividsolutions.jump.datastore.oracle.OracleDataStoreDriver;
+import com.vividsolutions.jump.workbench.WorkbenchContext;
+import com.vividsolutions.jump.workbench.plugin.Extension;
+import com.vividsolutions.jump.workbench.plugin.PlugInContext;
+
+public class OracleDataStoreExtension extends Extension {
+  private static boolean disabled = false;
+
+  public String getName() {
+return "Oracle Spatial Datastore Extension (Nicolas Ribot)";
+  }
+
+  public String getVersion() {
+return "0.2 (3.12.2015)";
+  }
+
+  public String getMessage() {
+return disabled ? "Disabled: Missing either ojdbc6.jar or 
gt2-oracle-spatial-2.x.jar"
+: "";
+  }
+
+  public void configure(PlugInContext context) throws Exception {
+WorkbenchContext wbc = context.getWorkbenchContext();
+
+// registers the OracleDataStore driver to the system:
+try {
+  ClassLoader pluginLoader = wbc.getWorkbench().getPlugInManager()
+ 

[JPP-Devel] SVN: [4557] plug-ins

2015-12-03 Thread jump-pilot-svn
Revision: 4557
  http://sourceforge.net/p/jump-pilot/code/4557
Author:   michaudm
Date: 2015-12-03 12:43:38 + (Thu, 03 Dec 2015)
Log Message:
---
Initial commit of a new extension "ViewSetManager"

Added Paths:
---
plug-ins/ViewManagerPlugin/
plug-ins/ViewManagerPlugin/trunk/
plug-ins/ViewManagerPlugin/trunk/build.xml
plug-ins/ViewManagerPlugin/trunk/resources/
plug-ins/ViewManagerPlugin/trunk/resources/view_manager/
plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/

plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties

plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties
plug-ins/ViewManagerPlugin/trunk/src/
plug-ins/ViewManagerPlugin/trunk/src/org/
plug-ins/ViewManagerPlugin/trunk/src/org/openjump/
plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/
plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/StyledLayer.java
plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/View.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewManagerExtension.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewManagerPlugIn.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSet.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSetPanel.java
plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/AbstractPStyle.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/ColorUtil.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/PBasicStyle.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/PBasicStyleFill.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/PBasicStyleLine.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/PColorThemingStyle.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/PDecorationStyle.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/PLabelStyle.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/PScale.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/PStyle.java

plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/style/PVertexStyle.java

Added: plug-ins/ViewManagerPlugin/trunk/build.xml
===
--- plug-ins/ViewManagerPlugin/trunk/build.xml  (rev 0)
+++ plug-ins/ViewManagerPlugin/trunk/build.xml  2015-12-03 12:43:38 UTC (rev 
4557)
@@ -0,0 +1,96 @@
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file

Added: 
plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties
===
--- 
plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties
(rev 0)
+++ 
plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties
2015-12-03 12:43:38 UTC (rev 4557)
@@ -0,0 +1,24 @@
+ViewManagerPlugIn = View Manager
+ViewManagerPlugIn.Menu.File = File
+ViewManagerPlugIn.Menu.File.New = Nouveau
+ViewManagerPlugIn.Menu.File.Open = Open
+ViewManagerPlugIn.Menu.File.Save = Save
+ViewManagerPlugIn.Menu.File.SaveAs = SaveAs
+ViewManagerPlugIn.Toolbar = Toolbar
+ViewManagerPlugIn.Toolbar.New.Tooltip = Create a New View Set
+ViewManagerPlugIn.Toolbar.Open.Tooltip = Open a View Set
+ViewManagerPlugIn.Toolbar.Save.Tooltip = Save current view Set
+ViewManagerPlugIn.Toolbar.SaveAs.Tooltip = Save current View Set in a New File
+ViewManagerPlugIn.ViewSetName = View Set Name
+ViewManagerPlugIn.add-view-from-project = Add View From Current Project
+ViewManagerPlugIn.add-view-from-selected-layers = Add View From Selected Layers
+ViewManagerPlugIn.add = Add
+ViewManagerPlugIn.-new-viewset = \ New ViewSet
+ViewManagerPlugIn.ChooseViewSet = Choose a View Set
+
+ViewSetPanel.apply = Apply
+ViewSetPanel.delete = Delete
+ViewSetPanel.move-to-top =

Re: [JPP-Devel] Add GeoJSON reader from JTS 1.14

2015-12-03 Thread Michaël Michaud

Hi Jukka,

Seems feasible, I'll try to have a look soon,

Would you like to write a Feature Request,

Michaël

Le 03/12/2015 08:17, Rahkonen Jukka (MML) a écrit :


Hi,

I noticed that in JTS trunk there is code for reading GeoJSON:

https://sourceforge.net/p/jts-topo-suite/code/HEAD/tree/trunk/jtsio/src/main/java/com/vividsolutions/jts/io/geojson/GeoJsonReader.java

It would be great if next OJ version could be made to read GeoJSON and 
perhaps with JTS reader it would not be extremely hard.


-Jukka Rahkonen-



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Error on applying styles

2015-12-03 Thread Michaël Michaud

Hi Peppe,

I introduced XBasicStyle when I added the capability to display vertices 
in ColorThemingStyle.
As ColorThemingStyle is mapping key values or ranges to BasicStyle, I 
wrapped vertex style in

BasicStyle and called it XBasicStyle as for eXtended BasicStyle.
Sorry it it has broken SLD compatibility. I'll try to figure out what is 
broken. If you have a dataset

and a sld to reproduce the problem, it may help,

Michaël

Le 03/12/2015 11:53, Giuseppe Aruta a écrit :
I had this error on Change Style plugin on a layer, on which I load a 
SLD style (previuosly saved using OpenJUMP SLD exporter).
 What does it mean? What is this XBaseStyle class? And how can I pass 
it by?

regards
Peppe

java.lang.ClassCastException: 
com.vividsolutions.jump.workbench.ui.renderer.style.BasicStyle cannot 
be cast to com.vividsolutions.jump.workbench.ui.renderer.style.XBasicStyle
at 
com.vividsolutions.jump.workbench.ui.renderer.style.ColorThemingStylePanel$19.stateChanged(ColorThemingStylePanel.java:901)

at javax.swing.JSlider.fireStateChanged(Unknown Source)
at javax.swing.JSlider$ModelListener.stateChanged(Unknown Source)
at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown 
Source)
at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown 
Source)

at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source)
at javax.swing.JSlider.setValue(Unknown Source)
at 
com.vividsolutions.jump.workbench.ui.GUIUtil.sync(GUIUtil.java:1221)
at 
de.latlon.deejump.plugin.style.DeeChangeStylesPlugIn.execute(DeeChangeStylesPlugIn.java:134)
at 
org.openjump.core.ui.plugin.layer.LayerableStylePlugIn.execute(LayerableStylePlugIn.java:38)
at 
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown 
Source)
at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown 
Source)

at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown 
Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)




--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your use

Re: [JPP-Devel] Database Query Plugin - Oracle Spatial

2015-12-03 Thread edgar . soldin
Nicolas released a plugin  early this year. Maybe that fit's your purpose? 
 
http://jump-pilot-devel-openjump-develop-and-use.1063199.n5.nabble.com/JPP-Devel-Oracle-Spatial-DataStore-plugin-td5711015.html

just send it again as the previous mail was miraculously considered SPAM.

..ede

On 02.12.2015 18:12, Rahkonen Jukka (MML) wrote:
> Hi,
> 
>  
> 
> The DB Query plugin is perhaps the most robust and fastest client for Oracle 
> Spatial but it is definitely read only and knowing the current developer team 
> I would say that read/write Oracle driver won’t come. For sure it will not be 
> based on DB Query because it is skipping all the metadata stuff in Oracle. I 
> would have a look at Kosmo GIS http://opengis.es/ instead which is much like 
> OpenJUMP and which can also edit Oracle Spatial data.
> 
>  
> 
> -Jukka Rahkonen-
> 
>  
> 
>  
> 
> Luis Paolini wrote:
> 
>  
> 
> Hi folks,
> 
>  
> 
>  I’d like to know if OpenJump, using Database 
> Query Plugin, is able to edit geometries stored into Oracle Spatial tables.
> 
>  
> 
> TIA,
> 
> Luis
> 
> 
> 
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> 
> 
> 
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Error on applying styles

2015-12-03 Thread Giuseppe Aruta
I had this error on Change Style plugin on a layer, on which I load a SLD
style (previuosly saved using OpenJUMP SLD exporter).
 What does it mean? What is this XBaseStyle class? And how can I pass it by?
regards
Peppe

java.lang.ClassCastException:
com.vividsolutions.jump.workbench.ui.renderer.style.BasicStyle cannot be
cast to com.vividsolutions.jump.workbench.ui.renderer.style.XBasicStyle
at
com.vividsolutions.jump.workbench.ui.renderer.style.ColorThemingStylePanel$19.stateChanged(ColorThemingStylePanel.java:901)
at javax.swing.JSlider.fireStateChanged(Unknown Source)
at javax.swing.JSlider$ModelListener.stateChanged(Unknown Source)
at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source)
at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown
Source)
at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source)
at javax.swing.JSlider.setValue(Unknown Source)
at com.vividsolutions.jump.workbench.ui.GUIUtil.sync(GUIUtil.java:1221)
at
de.latlon.deejump.plugin.style.DeeChangeStylesPlugIn.execute(DeeChangeStylesPlugIn.java:134)
at
org.openjump.core.ui.plugin.layer.LayerableStylePlugIn.execute(LayerableStylePlugIn.java:38)
at
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Add GeoJSON reader from JTS 1.14

2015-12-03 Thread edgar . soldin
Jukka, maybe you want to add a featreq for this? ..ede


On 03.12.2015 08:17, Rahkonen Jukka (MML) wrote:
> Hi,
> 
>  
> 
> I noticed that in JTS trunk there is code for reading GeoJSON:
> 
> https://sourceforge.net/p/jts-topo-suite/code/HEAD/tree/trunk/jtsio/src/main/java/com/vividsolutions/jts/io/geojson/GeoJsonReader.java
> 
>  
> 
> It would be great if next OJ version could be made to read GeoJSON and 
> perhaps with JTS reader it would not be extremely hard.
> 
>  
> 
> -Jukka Rahkonen-
> 
> 
>

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] [SPAM] Re: Database Query Plugin - Oracle Spatial

2015-12-03 Thread edgar . soldin
Nicolas released a plugin  early this year. Maybe that fit's your purpose? s.b. 
..ede

 Forwarded Message 
Subject: [JPP-Devel] Oracle Spatial DataStore plugin
Date: Tue, 3 Feb 2015 15:07:34 +0100
From: Nicolas Ribot 
Reply-To: OpenJump develop and use 
To: JUMP Developer 



Hi,

I packaged the Oracle Spatial Support in Data Store layer wizard into a plugin.
I needs a OJ Plus version and uses the existing gt2-oracle-spatial provided by 
the DB Query plugin.

If the ojdbc.jar Oracle JDBC driver is added in the ext directory (after 
downloading from Oracle site), the plugin will register a new 
OracleDataStoreDriver to OJ. If not, the plugin does nothing.

Tested on Mac and Windows with the latest snapshot and does not produce the 
SAXParser error anymore.

The plugin is hosted here:Â https://github.com/Nicolasribot/docs, in 
code/java/OracleDataStorePlugin/OracleDataStorePlugin-0.1.jar time to find a 
more convenient place.

Nicolas


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel