[Schmitzm-commits] r385 - in branches/1.0-gt2-2.6/src: org/geotools/swing schmitzm/geotools/feature schmitzm/geotools/gui
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Sep 11 18:45:43 CEST 2009
Author: alfonx
Date: 2009-09-11 18:45:41 +0200 (Fri, 11 Sep 2009)
New Revision: 385
Modified:
branches/1.0-gt2-2.6/src/org/geotools/swing/JMapPane.java
branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/FeatureTypeBuilderTableModel.java
branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/FeatureCollectionTableModel.java
branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/FeatureTablePane.java
branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/JMapPane.java
branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/MouseSelectionTracker.java
Log:
* Hunting a problem, where the application ONLY WHEN STARTING VIA JWS, crashes with "ClassNotFound: org.geotools.GUI.swing.JMapPane"... but we only reference
org.geotools.swing.JMapPane ?!?!?!
So I changed all references to org.geotools.gui.swing, even in the comments .. paranoia
Modified: branches/1.0-gt2-2.6/src/org/geotools/swing/JMapPane.java
===================================================================
--- branches/1.0-gt2-2.6/src/org/geotools/swing/JMapPane.java 2009-09-11 16:16:38 UTC (rev 384)
+++ branches/1.0-gt2-2.6/src/org/geotools/swing/JMapPane.java 2009-09-11 16:45:41 UTC (rev 385)
@@ -109,15 +109,11 @@
*/
GTRenderer renderer;
- private GTRenderer highlightRenderer, selectionRenderer;
-
/**
* the map context to render
*/
MapContext context;
- private MapContext selectionContext;
-
/**
* the area of the map to draw
*/
Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/FeatureTypeBuilderTableModel.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/FeatureTypeBuilderTableModel.java 2009-09-11 16:16:38 UTC (rev 384)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/FeatureTypeBuilderTableModel.java 2009-09-11 16:45:41 UTC (rev 385)
@@ -79,7 +79,7 @@
*/
public class FeatureTypeBuilderTableModel extends AbstractMutableTableModel {
/** Zur Verfuegung stehende Attribut-Typen. */
- public static final Class[] ATTR_TYPES = new Class[] {
+ public static final Class<?>[] ATTR_TYPES = new Class[] {
String.class,
Integer.class,
Long.class,
Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/FeatureCollectionTableModel.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/FeatureCollectionTableModel.java 2009-09-11 16:16:38 UTC (rev 384)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/FeatureCollectionTableModel.java 2009-09-11 16:45:41 UTC (rev 385)
@@ -53,7 +53,7 @@
* ein expliziter Aufruf von {@link #reorganize()} notwendig.<br>
* Bis zu diesem Punkt arbeitet diese Tabellen-Modell identisch zum
* {@code FeatureTableModel} von Geotools. Im Gegensatz zu
- * {@link org.geotools.gui.swing.table.FeatureTableModel org.geotools.gui.swing.table.FeatureTableModel}.
+ * {@link org.geotools.swing.table.FeatureTableModel org.geotools.swing.table.FeatureTableModel}.
* werden die Tabellennamen und die Anzahl an Spalten jedoch nicht bei jedem Zugriff
* neu aus dem ersten SimpleFeature ermittelt, sondern global gespeichert. Dies ist
* erffizienter, da das haeufige Oeffnen eines {@link FeatureIterator FeatureIterators}
Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/FeatureTablePane.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/FeatureTablePane.java 2009-09-11 16:16:38 UTC (rev 384)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/FeatureTablePane.java 2009-09-11 16:45:41 UTC (rev 385)
@@ -69,8 +69,8 @@
* <b>Bemerkung:</b><br>
* Als {@code TableModel} fuer die SimpleFeature-Tabelle verwendet diese Klasse ein
* eigenes internes {@link TableModel}, welches effizienter arbeitet, als
- * {@link org.geotools.gui.swing.table.FeatureTableModel
- * org.geotools.gui.swing.table.FeatureTableModel}.
+ * {@link org.geotools.swing.table.FeatureTableModel
+ * org.geotools.swing.table.FeatureTableModel}.
*
* @author <a href="mailto:martin.schmitz at koeln.de">Martin Schmitz</a>
* (University of Bonn/Germany)
Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/JMapPane.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/JMapPane.java 2009-09-11 16:16:38 UTC (rev 384)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/JMapPane.java 2009-09-11 16:45:41 UTC (rev 385)
@@ -123,7 +123,7 @@
/**
* Diese Klasse erweitert die Geotools-Klasse
- * {@link org.geotools.gui.swing.JMapPane} um folgende Features:
+ * {@link org.geotools.swing.JMapPane} um folgende Features:
* <ul>
* <li>zusaetzliche Maus-Steuerungen:
* <ul>
@@ -455,7 +455,7 @@
* {@link BorderLayout})
* @param isDoubleBuffered
* siehe Konstruktor der
- * {@linkplain org.geotools.gui.swing.JMapPane#JMapPane(LayoutManager,boolean,GTRenderer,MapContext)
+ * {@linkplain org.geotools.swing.JMapPane#JMapPane(LayoutManager,boolean,GTRenderer,MapContext)
* Oberklasse}
* @param renderer
* Renderer fuer die graphische Darestellung (z.B.
@@ -477,7 +477,7 @@
* {@link BorderLayout})
* @param isDoubleBuffered
* siehe Konstruktor der
- * {@linkplain org.geotools.gui.swing.JMapPane#JMapPane(LayoutManager,boolean,GTRenderer,MapContext)
+ * {@linkplain org.geotools.swing.JMapPane#JMapPane(LayoutManager,boolean,GTRenderer,MapContext)
* Oberklasse}. Bei <code>null</code> wird <code>true</code>
* andgenommen.
* @param renderer
@@ -1457,7 +1457,7 @@
* angepasst wird, muss diese Methode ueberschrieben werden.
* <p>
* Neu von SK: Ich habe in der Geotools
- * {@link org.geotools.gui.swing.JMapPane} die noetigen variablen protected
+ * {@link org.geotools.swing.JMapPane} die noetigen variablen protected
* gemacht, um hier schon festzustellen, ob der aufruf von
* super.paintComponent das eigentliche aussehen der Karte veraendern wird.
* Die Methode paintComponent wird naemlich bei jeder Bewegung der Maus
Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/MouseSelectionTracker.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/MouseSelectionTracker.java 2009-09-11 16:16:38 UTC (rev 384)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/MouseSelectionTracker.java 2009-09-11 16:45:41 UTC (rev 385)
@@ -60,7 +60,7 @@
/**
* Creates a new tracker, which reacts only on window
* selection events (default geotools behavior for
- * {@link org.geotools.gui.swing.MouseSelectionTracker}).
+ * {@link org.geotools.swing.MouseSelectionTracker}).
*/
public MouseSelectionTracker() {
this(SelectionMode.ONLY_WINDOW_SELECTION);
More information about the Schmitzm-commits
mailing list