[Schmitzm-commits] r46 - in trunk/src: schmitzm/geotools/gui skrueger/geotools

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Apr 17 13:44:05 CEST 2009


Author: mojays
Date: 2009-04-17 13:44:05 +0200 (Fri, 17 Apr 2009)
New Revision: 46

Added:
   trunk/src/schmitzm/geotools/gui/FeatureCollectionTableModel.java
   trunk/src/schmitzm/geotools/gui/FeatureTablePane.java
   trunk/src/skrueger/geotools/StyledFeatureCollectionTableModel.java
Log:
new classes (CURRENTLY ONLY DUMMIES!!):
- FeatureTablePane.java
- FeatureCollectionTableModel.java
- StyledFeatureCollectionTableModel.java

Added: trunk/src/schmitzm/geotools/gui/FeatureCollectionTableModel.java
===================================================================
--- trunk/src/schmitzm/geotools/gui/FeatureCollectionTableModel.java	2009-04-16 11:09:58 UTC (rev 45)
+++ trunk/src/schmitzm/geotools/gui/FeatureCollectionTableModel.java	2009-04-17 11:44:05 UTC (rev 46)
@@ -0,0 +1,31 @@
+package schmitzm.geotools.gui;
+
+import org.geotools.data.FeatureSource;
+
+import schmitzm.swing.table.AbstractTableModel;
+
+public class FeatureCollectionTableModel extends AbstractTableModel {
+
+  public FeatureCollectionTableModel(FeatureSource source) {
+    
+  }
+  
+  @Override
+  public String[] createColumnNames() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  @Override
+  public int getRowCount() {
+    // TODO Auto-generated method stub
+    return 0;
+  }
+
+  @Override
+  public Object getValueAt(int arg0, int arg1) {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+}

Added: trunk/src/schmitzm/geotools/gui/FeatureTablePane.java
===================================================================
--- trunk/src/schmitzm/geotools/gui/FeatureTablePane.java	2009-04-16 11:09:58 UTC (rev 45)
+++ trunk/src/schmitzm/geotools/gui/FeatureTablePane.java	2009-04-17 11:44:05 UTC (rev 46)
@@ -0,0 +1,9 @@
+package schmitzm.geotools.gui;
+
+import schmitzm.swing.JPanel;
+
+public class FeatureTablePane extends JPanel {
+  public FeatureTablePane(FeatureCollectionTableModel model) {
+    
+  }
+}

Added: trunk/src/skrueger/geotools/StyledFeatureCollectionTableModel.java
===================================================================
--- trunk/src/skrueger/geotools/StyledFeatureCollectionTableModel.java	2009-04-16 11:09:58 UTC (rev 45)
+++ trunk/src/skrueger/geotools/StyledFeatureCollectionTableModel.java	2009-04-17 11:44:05 UTC (rev 46)
@@ -0,0 +1,26 @@
+package skrueger.geotools;
+
+import schmitzm.geotools.gui.FeatureCollectionTableModel;
+
+public class StyledFeatureCollectionTableModel extends FeatureCollectionTableModel {
+  
+  public StyledFeatureCollectionTableModel(StyledFeatureCollectionInterface map) {
+    super(null);
+  }
+  
+  public StyledFeatureCollectionTableModel(StyledFeatureSourceInterface map) {
+    super(null);
+  }
+
+  public String[] createColumnNames() {
+    return new String[0];
+  }
+  
+  public int getRowCount() {
+    return 0;
+  }
+  
+  public Object getValueAt(int row, int col) {
+    return "";
+  }
+}



More information about the Schmitzm-commits mailing list