Issue #3045 Change column label to "Data Set".
Change-Id: I4088fb29fd942ecc07c82e3da24d9561cb3b1b13 (cherry picked from commit 0b67be0d6ce4f75d97b1900c21edd34a69db88d4 [formerlycf6d1c8ca1
] [formerlydd679c7978
[formerly8eb4c91ab3
] [formerly3a2a6afaf1
] [formerlycf6d1c8ca1
[formerly3a2a6afaf1
[formerly f00ce42d8e79ef47d9b14125dc61129fc60fc0cf]]]]) Former-commit-id:c596179849
[formerly0d458f4e3e
] [formerlyf29852d5bc
] [formerly994adc2ad5
[formerlyf29852d5bc
[formerly c1537561419604b05ec17c0aa01f272b3d4ed9f3]]] Former-commit-id:994adc2ad5
Former-commit-id: 8368d54ed4bf6339c5bf6f4f8948a2e787caff23 [formerly339ab4258a
] Former-commit-id:3d50e30c4a
This commit is contained in:
parent
fa9d03e7b8
commit
fd8d560f7f
3 changed files with 13 additions and 6 deletions
|
@ -899,7 +899,7 @@ public class SizeJob extends Job {
|
|||
public LoadDisplayDataJob(
|
||||
ILoadDisplayDataListener loadDisplayDataListener,
|
||||
int loadDisplayDataCnt) {
|
||||
super("Loading Category labels");
|
||||
super("Loading Data Sets");
|
||||
this.loadDisplayDataListener = loadDisplayDataListener;
|
||||
this.loadDisplayDataCnt = loadDisplayDataCnt;
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ import com.raytheon.uf.viz.archive.data.SizeJob;
|
|||
* Aug 06, 2013 #2222 rferrel Changes to display all selected data.
|
||||
* Aug 14, 2013 #2220 rferrel Add refresh method.
|
||||
* Aug 26, 2013 #2225 rferrel Add missing updates.
|
||||
* Apr 23, 2014 #3045 rferrel Added clearTable method.
|
||||
* Apr 23, 2014 #3045 rferrel Added clearTable method and new column name.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -73,12 +73,19 @@ import com.raytheon.uf.viz.archive.data.SizeJob;
|
|||
*/
|
||||
public class ArchiveTableComp extends Composite {
|
||||
|
||||
/** Column label when table displaying category information. */
|
||||
private final String CATEGORY_COL_LABEL = "Data Set";
|
||||
|
||||
/** Column label when table displaying select all information. */
|
||||
private final String SEL_ALL_COL_LABEL = "Archive | Category | Data Set";
|
||||
|
||||
/** Column to display label information. */
|
||||
private final int LABEL_COL_INDEX = 0;
|
||||
|
||||
/** Column to display size information,. */
|
||||
private final int SIZE_COL_INDEX = 1;
|
||||
|
||||
/** Flag to indicate all selections are being displayed. */
|
||||
private boolean showSelectAll = false;
|
||||
|
||||
/** Name of table's archive. */
|
||||
|
@ -207,7 +214,7 @@ public class ArchiveTableComp extends Composite {
|
|||
});
|
||||
|
||||
TableColumn pathColumn = new TableColumn(table, SWT.LEFT);
|
||||
pathColumn.setText("Label");
|
||||
pathColumn.setText(CATEGORY_COL_LABEL);
|
||||
|
||||
TableColumn sizeColumn = new TableColumn(table, SWT.CENTER);
|
||||
if (type == Type.Retention) {
|
||||
|
@ -466,7 +473,7 @@ public class ArchiveTableComp extends Composite {
|
|||
protected void populateTable(String archiveName, String categoryName,
|
||||
List<DisplayData> displayDatas) {
|
||||
showSelectAll = false;
|
||||
table.getColumn(0).setText("Label");
|
||||
table.getColumn(0).setText(CATEGORY_COL_LABEL);
|
||||
populateTable(displayDatas);
|
||||
}
|
||||
|
||||
|
@ -484,7 +491,7 @@ public class ArchiveTableComp extends Composite {
|
|||
*/
|
||||
protected void populateSelectAll(List<DisplayData> displayDatas) {
|
||||
showSelectAll = true;
|
||||
table.getColumn(0).setText("Archive | Category | Label");
|
||||
table.getColumn(0).setText(SEL_ALL_COL_LABEL);
|
||||
populateTable(displayDatas);
|
||||
}
|
||||
|
||||
|
|
|
@ -496,7 +496,7 @@ public class CaseCreationDlg extends AbstractArchiveDlg {
|
|||
// }
|
||||
// });
|
||||
|
||||
String tooltip = "Waiting on loading of table labels.";
|
||||
String tooltip = "Waiting on loading of Data Sets.";
|
||||
Color color = shell.getDisplay().getSystemColor(SWT.COLOR_YELLOW);
|
||||
saveBtn = new Button(actionControlComp, SWT.PUSH);
|
||||
saveBtn.setText(" Save ");
|
||||
|
|
Loading…
Add table
Reference in a new issue