Revision 24628

View differences:

branches/v2_0_0_prep/libraries/libFMap_mapcontrol/src/org/gvsig/fmap/data/feature/swing/table/FeatureTableConfigurationPanel.java
70 70
    }
71 71

  
72 72
    private void createGUI() {
73
        setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
73
        // TODO: set a fixed column width for the first column with the
74
        // checkboxes
74 75
        JTable table = new JTable(tableModel);
75 76
        JScrollPane scrollPane = new JScrollPane(table);
77
        setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
76 78
        add(scrollPane);
77 79
    }
78 80
}
branches/v2_0_0_prep/libraries/libFMap_mapcontrol/src/org/gvsig/fmap/data/feature/swing/FeatureTablePanel.java
114 114
        // Ignore
115 115
    }
116 116
    
117
    /**
118
     * Returns the internal Table Model for the Features of the FeatureStore.
119
     * 
120
     * @return the internal Table Model
121
     */
122
    protected ConfigurableFeatureTableModel getTableModel() {
123
        return tableModel;
124
    }
125
    
117 126
    private void createModel() throws DataException {
118 127
        tableModel = new ConfigurableFeatureTableModel(featureStore,
119 128
                featureQuery);
120 129
    }
121 130

  
122 131
    private void createGUI() {
123
        // TODO: set a fixed column width for the first column with the
124
        // checkboxes
125 132
        JTable table = new FeatureTable(tableModel);
126 133
        JScrollPane scrollPane = new JScrollPane(table);
127 134
        super.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));

Also available in: Unified diff