TableCell cell = new TableCell() {
@Override
public void updateItem(Object item, boolean empty) {
if (item != null && !empty && item instanceof EncryptedNode) {
EncryptedNode node = (EncryptedNode) item;
Label label_cell = new Label();
label_cell.setId("generic_label");
try {
/*
TableColumn title_priority = new TableColumn(RBLoader.ll("Priority"));
TableColumn title_name = new TableColumn(RBLoader.ll("Name"));
TableColumn title_fdir = new TableColumn(RBLoader.ll("File/Directory"));
TableColumn title_action = new TableColumn(RBLoader.ll("Action"));
TableColumn title_dest = new TableColumn(RBLoader.ll("Destination"));
TableColumn title_status = new TableColumn(RBLoader.ll("Status"));
* */
switch (column) {
case 0: {
if (node.getProperties().containsKey("priority")) {
label_cell.setText(node.getProperties().get("priority"));
}
break;
}
case 1: {
if (node.getProperties().containsKey("name")) {
label_cell.setText(node.getProperties().get("name"));
}
break;
}
case 2: {
if (node.getProperties().containsKey("source")) {
label_cell.setText(node.getProperties().get("source"));
}
break;
}
case 3: {
if (node.getProperties().containsKey("action")) {
label_cell.setText(node.getProperties().get("action"));
}
break;
}
case 4: {
if (node.getProperties().containsKey("destination")) {
label_cell.setText(node.getProperties().get("destination"));
}
break;
}
/*case 5: {
if (node.getProperties().containsKey("status")) {