Revision: 4819
http://sourceforge.net/p/jump-pilot/code/4819
Author: michaudm
Date: 2016-02-06 11:26:43 +0000 (Sat, 06 Feb 2016)
Log Message:
-----------
Cleaning
Modified Paths:
--------------
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java
core/trunk/src/com/vividsolutions/jump/workbench/ui/LayerTableModel.java
Modified:
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java
===================================================================
---
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java
2016-02-06 11:25:10 UTC (rev 4818)
+++
core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java
2016-02-06 11:26:43 UTC (rev 4819)
@@ -163,7 +163,6 @@
final JComponent renderer = (JComponent)
super.getCellRenderer(row,
column);
// Get the prefered date formatter from the
PersistentBlackboard
- Blackboard blackBoard =
PersistentBlackboardPlugIn.get(workbenchContext);
DateFormat _formatter;
try {
_formatter = blackboard.get(DATE_FORMAT_KEY) == null ?
Modified:
core/trunk/src/com/vividsolutions/jump/workbench/ui/LayerTableModel.java
===================================================================
--- core/trunk/src/com/vividsolutions/jump/workbench/ui/LayerTableModel.java
2016-02-06 11:25:10 UTC (rev 4818)
+++ core/trunk/src/com/vividsolutions/jump/workbench/ui/LayerTableModel.java
2016-02-06 11:26:43 UTC (rev 4819)
@@ -263,30 +263,7 @@
fireTableChanged(new TableModelEvent(this));
}
- //public void removeAll(Collection featuresToRemove) {
- // //if (featuresToRemove.size() > 100) {
- // // removeAllFast(featuresToRemove);
- // // return;
- // //}
- // for (Iterator i = featuresToRemove.iterator(); i.hasNext();) {
- // Feature feature = (Feature) i.next();
- // int row = features.indexOf(feature);
- // if (row == -1) {
- // //A LayerTableModel might not have all the features in a
layer
- // //i.e. a FeatureInfo window, as opposed to a complete
Attributes window. [Jon Aquino]
- // continue;
- // }
- // features.remove(row);
- // fireTableChanged(
- // new TableModelEvent(
- // this,
- // row,
- // row,
- // TableModelEvent.ALL_COLUMNS,
- // TableModelEvent.DELETE));
- // }
- //}
-
+
public void removeAll(Collection featuresToRemove) {
List<Integer> idsToRemove = new ArrayList<Integer>();
for (Iterator it = featuresToRemove.iterator() ; it.hasNext() ; ) {
@@ -402,9 +379,9 @@
return bool1 ? 1 : -1;
}
- public String getType(int column) {
- return null;
- }
+ //public String getType(int column) {
+ // return null;
+ //}
public static void main(String[] args) {
System.out.println(new JTable().getDefaultEditor(Date.class));
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel