_tbl.addAttribut("Min", AttrType.T_String, "Min", 60);
_tbl.addAttribut("Max", AttrType.T_String, "Max", 60);
_tbl.addAttribut("Step", AttrType.T_String, "Grad", 60);
HIDB2Toolkit toolkit = new HIDB2Toolkit(_dlg.getDisplay());
Composite containerBtn = toolkit.createComposite(panel, SWT.NONE);
containerBtn.setLayout(FormLayoutFactory.createClearGridLayout(true, 1));
/*Button btnAddAfter =*/toolkit.createGridButton(containerBtn, "Add", new SelectionAdapter()
{
@Override
public void widgetSelected(SelectionEvent e)
{
QueryAttr qa = new QueryAttr();
_query.lstQAttr.add(qa);
_tbl.refresh();
}
});
/*Button btnRem =*/toolkit.createGridButton(containerBtn, "Delete", new SelectionAdapter()
{
@Override
public void widgetSelected(SelectionEvent e)
{
ISelection selection = _tbl.getSelection();