[Schmitzm-commits] r567 - in branches/1.0-gt2-2.6/src: schmitzm/geotools/io skrueger/geotools/labelsearch
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Nov 24 16:56:22 CET 2009
Author: alfonx
Date: 2009-11-24 16:56:20 +0100 (Tue, 24 Nov 2009)
New Revision: 567
Modified:
branches/1.0-gt2-2.6/src/schmitzm/geotools/io/GeoImportUtil.java
branches/1.0-gt2-2.6/src/skrueger/geotools/labelsearch/SearchMapDialog.java
Log:
* Switched ExceptionMonitor to schmitzm ExceptionDialog
Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/io/GeoImportUtil.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/io/GeoImportUtil.java 2009-11-24 15:43:08 UTC (rev 566)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/io/GeoImportUtil.java 2009-11-24 15:56:20 UTC (rev 567)
@@ -609,7 +609,7 @@
return gc;
} catch (UnsupportedOperationException err) {
// erwartet, wenn keine Geo-Information im Tiff vorhanden ist
- // ExceptionMonitor.show(null, err,
+ // ExceptionDialog.show(null, err,
// "No geoinformation in TIFF, importing it as a normal file. Trying to read it as normal TIFF + Worldfile.");
} catch (NullPointerException err) {
// erwartet, wenn keine Geo-Information im Tiff vorhanden ist
Modified: branches/1.0-gt2-2.6/src/skrueger/geotools/labelsearch/SearchMapDialog.java
===================================================================
--- branches/1.0-gt2-2.6/src/skrueger/geotools/labelsearch/SearchMapDialog.java 2009-11-24 15:43:08 UTC (rev 566)
+++ branches/1.0-gt2-2.6/src/skrueger/geotools/labelsearch/SearchMapDialog.java 2009-11-24 15:56:20 UTC (rev 567)
@@ -57,9 +57,9 @@
import net.miginfocom.swing.MigLayout;
import org.apache.log4j.Logger;
-import org.geotools.swing.ExceptionMonitor;
import schmitzm.geotools.gui.SelectableXMapPane;
+import schmitzm.swing.ExceptionDialog;
import schmitzm.swing.SortableJTable;
import schmitzm.swing.SwingUtil;
@@ -185,10 +185,10 @@
showMultipleResults(get());
} catch (InterruptedException e) {
LOGGER.error(e);
- ExceptionMonitor.show(SearchMapDialog.this, e);
+ ExceptionDialog.show(SearchMapDialog.this, e);
} catch (ExecutionException e) {
LOGGER.error(e);
- ExceptionMonitor.show(SearchMapDialog.this, e);
+ ExceptionDialog.show(SearchMapDialog.this, e);
}
}
};
More information about the Schmitzm-commits
mailing list