@Override protected void execLoad() throws ProcessingException { OutlinesTableField.Table table = getOutlinesTableField().getTable(); for (IOutline outline : getDesktop().getAvailableOutlines()) { if (outline.isVisible() && outline.getRootNode() != null) { ITableRow row = table.createRow(new Object[] {outline, outline.getTitle()}); row.setEnabled(outline.isEnabled()); table.addRow(row); } } }
@Override protected void execFinally() throws ProcessingException { OutlinesTableField.Table table = getOutlinesTableField().getTable(); table.discardAllRows(); }