[Schmitzm-commits] r204 - trunk/src/schmitzm/geotools/gui
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jul 9 18:26:15 CEST 2009
Author: alfonx
Date: 2009-07-09 18:26:14 +0200 (Thu, 09 Jul 2009)
New Revision: 204
Modified:
trunk/src/schmitzm/geotools/gui/MapContextControlPane.java
Log:
* Replaces field protected THIS = this;
Modified: trunk/src/schmitzm/geotools/gui/MapContextControlPane.java
===================================================================
--- trunk/src/schmitzm/geotools/gui/MapContextControlPane.java 2009-07-08 08:19:49 UTC (rev 203)
+++ trunk/src/schmitzm/geotools/gui/MapContextControlPane.java 2009-07-09 16:26:14 UTC (rev 204)
@@ -120,7 +120,6 @@
/** Key, um den ÜBERNEHMEN-Button des FeatureCollection-Filter-Dialogs in der {@link CaptionsChangeable}-Map anzusprechen. */
public static final String FF_DIALOG_APPLY = FeatureLayerFilterDialog.APPLY_BUTTON;
- private JPanel THIS = this;
/** Karte, deren Layer kontrolliert werden. */
protected JMapPane mapPane = null;
/** Farbpaletten, die durch die Kontrolle zugewiesen werden koennen. */
@@ -589,7 +588,7 @@
// Save-Button > Neue vordefinierte Palette erzeugen
if ( e.getSource() == saveButton ) {
String name = JOptionPane.showInputDialog(
- SwingUtil.getParentWindow(THIS),
+ MapContextControlPane.this,
saveCMDialogQuestion,
saveCMDialogTitle,
JOptionPane.QUESTION_MESSAGE
More information about the Schmitzm-commits
mailing list