/[schmitzm]/trunk/src/skrueger/geotools/AttributeTableJDialog.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/AttributeTableJDialog.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/src/skrueger/geotools/AttributeTableJDialog.java revision 111 by alfonx, Tue May 12 23:33:14 2009 UTC branches/1.0-gt2-2.6/src/skrueger/geotools/AttributeTableJDialog.java revision 315 by mojays, Wed Aug 26 11:03:27 2009 UTC
# Line 1  Line 1 
1    /*******************************************************************************
2     * Copyright (c) 2009 Martin O. J. Schmitz.
3     *
4     * This file is part of the SCHMITZM library - a collection of utility
5     * classes based on Java 1.6, focusing (not only) on Java Swing
6     * and the Geotools library.
7     *
8     * The SCHMITZM project is hosted at:
9     * http://wald.intevation.org/projects/schmitzm/
10     *
11     * This program is free software; you can redistribute it and/or
12     * modify it under the terms of the GNU Lesser General Public License
13     * as published by the Free Software Foundation; either version 3
14     * of the License, or (at your option) any later version.
15     *
16     * This program is distributed in the hope that it will be useful,
17     * but WITHOUT ANY WARRANTY; without even the implied warranty of
18     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19     * GNU General Public License for more details.
20     *
21     * You should have received a copy of the GNU Lesser General Public License (license.txt)
22     * along with this program; if not, write to the Free Software
23     * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
24     * or try this link: http://www.gnu.org/licenses/lgpl.html
25     *
26     * Contributors:
27     *     Martin O. J. Schmitz - initial API and implementation
28     *     Stefan A. Krüger - additional utility classes
29     ******************************************************************************/
30  //package skrueger.geotools;  //package skrueger.geotools;
31  //  //
32  //import java.awt.Component;  //import java.awt.Component;
# Line 25  Line 54 
54  //  //
55  ///**  ///**
56  // * A dialog to show the attribute table of a vector layer. This class implements  // * A dialog to show the attribute table of a vector layer. This class implements
57  // * a {@link PropertyChangeListener} which is connected to the {@link StyledMapInterface  // * a {@link PropertyChangeListener} which is connected to the {@link StyledLayerInterface
58  // * StyledMapInterface's} {@link StyledLayerSelectionModel} to keep the table selection  // * StyledLayerInterface's} {@link StyledLayerSelectionModel} to keep the table selection
59  // * synchronized to other component's selection (e.g. Map or chart).  // * synchronized to other component's selection (e.g. Map or chart).
60  // */  // */
61  //public class AttributeTableJDialog extends JDialog {  //public class AttributeTableJDialog extends JDialog {
# Line 43  Line 72 
72  //  //
73  //      protected final MapLayer mapLayer;  //      protected final MapLayer mapLayer;
74  //  //
75  //      private final StyledMapInterface styledObj;  //      private final StyledLayerInterface styledObj;
76  //  //
77  //      private AttributeTableJDialog(Window owner, MapLayer mapLayer,  //      private AttributeTableJDialog(Window owner, MapLayer mapLayer,
78  //                      final StyledMapInterface styledObj, LayerPanel layerPanel) {  //                      final StyledLayerInterface styledObj, LayerPanel layerPanel) {
79  //              super(owner);  //              super(owner);
80  //              this.styledObj = styledObj;  //              this.styledObj = styledObj;
81  ////            setTitle(RES("AttributeTable.dialog.title", styledObj  ////            setTitle(RES("AttributeTable.dialog.title", styledObj
# Line 132  Line 161 
161  //      }  //      }
162  //  //
163  //      /**  //      /**
164  //       * This class manages itself, that there is always only one instance for any {@link StyledMapInterface}  //       * This class manages itself, that there is always only one instance for any {@link StyledLayerInterface}
165  //       *  //       *
166  //       * @param dpLayer  //       * @param dpLayer
167  //       *            The source for the attribute table  //       *            The source for the attribute table
# Line 145  Line 174 
174  //       *            appear.  //       *            appear.
175  //       */  //       */
176  //      public static AttributeTableJDialog getInstanceFor(Component comp,  //      public static AttributeTableJDialog getInstanceFor(Component comp,
177  //                      MapLayer mapLayer, final StyledMapInterface<?> styledObj,  //                      MapLayer mapLayer, final StyledLayerInterface<?> styledObj,
178  //                      LayerPanel layerPanel) {  //                      LayerPanel layerPanel) {
179  //  //
180  //              AttributeTableJDialog atlasAttributeTableJDialog = dialogCache  //              AttributeTableJDialog atlasAttributeTableJDialog = dialogCache

Legend:
Removed from v.111  
changed lines
  Added in v.315

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26