}
});
table.setHeaderVisible(true);
table.setLayoutData(new org.eclipse.swt.layout.GridData(GridData.FILL, GridData.FILL, true, true, 1, 5));
table.setLinesVisible(true);
TableColumn tableColumn5 = new TableColumn(table, SWT.NONE);
tableColumn5.setWidth(60);
tableColumn5.setText("Disabled");
table.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {
if (Utils.isElementEnabled("job", dom, (Element) e.item.getData())) {
bRemoveJob.setEnabled(true);
} else {
bRemoveJob.setEnabled(false);
return;
}
if (e.detail == SWT.CHECK) {
TableItem item = (TableItem) e.item;
if (!listener.hasJobComment((Element) item.getData())) {
listener.setJobEnabled((Element)item.getData(), !item.getChecked());
} else {
MainWindow.message(Messages.getString("MainListener.cannotDisable"), SWT.ICON_INFORMATION
| SWT.OK);
item.setChecked(false);
}
}
}
});
TableColumn tableColumn = new TableColumn(table, SWT.NONE);
tableColumn.setWidth(100);
tableColumn.setText("Name");
TableColumn tableColumn1 = new TableColumn(table, SWT.NONE);
tableColumn1.setWidth(200);
tableColumn1.setText("Title");
TableColumn tableColumn2 = new TableColumn(table, SWT.NONE);
tableColumn2.setWidth(100);
tableColumn2.setText("Scheduler ID");
TableColumn tableColumn3 = new TableColumn(table, SWT.NONE);
tableColumn3.setWidth(100);
tableColumn3.setText("Process Class");
TableColumn tableColumn4 = new TableColumn(table, SWT.NONE);
tableColumn4.setWidth(40);
tableColumn4.setText("Order");
} catch (Exception e) {
try {
new sos.scheduler.editor.app.ErrorLog("error in " + sos.util.SOSClassUtil.getMethodName() , e);
} catch(Exception ee) {
//tu nichts