Revision: 4555
          http://sourceforge.net/p/jump-pilot/code/4555
Author:   michaudm
Date:     2015-11-22 19:59:06 +0000 (Sun, 22 Nov 2015)
Log Message:
-----------
Small cleaning

Modified Paths:
--------------
    core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributePanel.java
    core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java
    
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanelListener.java

Modified: 
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributePanel.java
===================================================================
--- core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributePanel.java     
2015-11-19 16:24:28 UTC (rev 4554)
+++ core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributePanel.java     
2015-11-22 19:59:06 UTC (rev 4555)
@@ -39,8 +39,6 @@
 import java.util.HashMap;
 import java.util.Iterator;
 import javax.swing.JPanel;
-import javax.swing.event.ListSelectionEvent;
-import javax.swing.event.ListSelectionListener;
 import com.vividsolutions.jts.util.Assert;
 import com.vividsolutions.jump.feature.Feature;
 import com.vividsolutions.jump.feature.FeatureUtil;
@@ -54,11 +52,9 @@
  *  Implements an Attribute Panel.
  */
 
-public class AttributePanel
-    extends JPanel
-    implements InfoModelListener/*, AttributeTablePanelListener*/ {
+public class AttributePanel extends JPanel implements InfoModelListener {
+
     private SelectionManager selectionManager;
-    private BorderLayout borderLayout1 = new BorderLayout();
     private GridBagLayout gridBagLayout1 = new GridBagLayout();
     private HashMap layerToTablePanelMap = new HashMap();
     private InfoModel model;
@@ -334,15 +330,17 @@
         }
     }
     */
-    public static interface Row {
-        public boolean isFirstRow();
-        public boolean isLastRow();
-        public AttributeTablePanel getPanel();
-        public int getIndex();
-        public Row nextRow();
-        public Row previousRow();
-        public Feature getFeature();
+
+    public interface Row {
+        boolean isFirstRow();
+        boolean isLastRow();
+        AttributeTablePanel getPanel();
+        int getIndex();
+        Row nextRow();
+        Row previousRow();
+        Feature getFeature();
     }
+
     private class BasicRow implements Row {
         private AttributeTablePanel panel = null;
         private int index;

Modified: 
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java
===================================================================
--- 
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java    
    2015-11-19 16:24:28 UTC (rev 4554)
+++ 
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java    
    2015-11-22 19:59:06 UTC (rev 4555)
@@ -43,7 +43,6 @@
 import javax.swing.table.TableCellRenderer;
 import javax.swing.table.TableColumnModel;
 
-import com.vividsolutions.jump.workbench.ui.plugin.ViewAttributesPlugIn;
 import org.openjump.core.ui.plugin.view.ViewOptionsPlugIn;
 
 import com.vividsolutions.jts.geom.Geometry;
@@ -84,7 +83,7 @@
     ImageIcon nullObject = IconLoader.icon("null1.png");
     ImageIcon nullString = IconLoader.icon("null1.png");
 
-    public static interface FeatureEditor {
+    public interface FeatureEditor {
 
         void edit(PlugInContext context, Feature feature, Layer layer)
                 throws Exception;

Modified: 
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanelListener.java
===================================================================
--- 
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanelListener.java
        2015-11-19 16:24:28 UTC (rev 4554)
+++ 
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanelListener.java
        2015-11-22 19:59:06 UTC (rev 4555)
@@ -38,5 +38,5 @@
      * Called when the user creates a new selection, rather than adding to the
      * existing selection
      */
-    public void selectionReplaced(AttributeTablePanel panel);
+    void selectionReplaced(AttributeTablePanel panel);
 }


------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to