parameterModel.swimlaneVar = definition.getSwimlaneByName(parameterModel.varName) != null;
}
});
if (paramIndex != 0) {
Hyperlink hl0 = new Hyperlink(parent, SWT.NONE);
hl0.setText(Messages.getString("button.up"));
hl0.addHyperlinkListener(new HyperlinkAdapter() {
@Override
public void linkActivated(HyperlinkEvent e) {
model.getFirstTask().moveUpQueryParameter(queryIndex, parameterModel.result, paramIndex);
}
});
hyperlinkGroup.add(hl0);
} else {
new Label(parent, SWT.NONE);
}
Hyperlink hl1 = new Hyperlink(parent, SWT.NONE);
hl1.setText("[X]");
hl1.addHyperlinkListener(new HyperlinkAdapter() {
@Override
public void linkActivated(HyperlinkEvent e) {
model.getFirstTask().deleteQueryParameter(queryIndex, parameterModel.result, paramIndex);
}
});