Revision: 14691
http://gate.svn.sourceforge.net/gate/?rev=14691&view=rev
Author: markagreenwood
Date: 2011-12-07 19:11:08 +0000 (Wed, 07 Dec 2011)
Log Message:
-----------
hacked the new table header renderer to allow you to unload all, but not load
all. this works but the code could do with cleaning up a bit to remove the
extra functionality that is no longer required
Modified Paths:
--------------
gate/trunk/src/gate/gui/creole/manager/AvailablePlugins.java
Modified: gate/trunk/src/gate/gui/creole/manager/AvailablePlugins.java
===================================================================
--- gate/trunk/src/gate/gui/creole/manager/AvailablePlugins.java
2011-12-07 18:32:46 UTC (rev 14690)
+++ gate/trunk/src/gate/gui/creole/manager/AvailablePlugins.java
2011-12-07 19:11:08 UTC (rev 14691)
@@ -808,6 +808,8 @@
public void update() {
+ //TODO return if we are already in the process of updating
+
TableColumn col =
table.getColumnModel().getColumn(table.convertColumnIndexToView((column)));
int selected = 0, deselected = 0;
@@ -854,10 +856,12 @@
TableColumn column = columnModel.getColumn(vci);
Object v = column.getHeaderValue();
boolean b = Status.DESELECTED.equals(v) ? true : false;
+ if (!b) {
TableModel m = table.getModel();
for(int i = 0; i < m.getRowCount(); i++)
m.setValueAt(b, i, mci);
column.setHeaderValue(b ? Status.SELECTED : Status.DESELECTED);
+ }
header.repaint();
}
}
@@ -912,7 +916,7 @@
break;
case INDETERMINATE:
checkBox.setSelected(true);
- checkBox.setEnabled(false);
+ checkBox.setEnabled(true);
break;
}
} else {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs