use of org.netxms.ui.eclipse.serverconfig.widgets.helpers.LogParserRuleEditor in project netxms by netxms.
the class LogParserEditor method addRule.
/**
* @param addColumnLink
*/
private void addRule() {
LogParserRule rule = new LogParserRule();
LogParserRuleEditor editor = createRuleEditor(rule);
editor.moveAbove(addColumnLink);
parser.getRules().add(rule);
form.reflow(true);
fireModifyListeners();
}
use of org.netxms.ui.eclipse.serverconfig.widgets.helpers.LogParserRuleEditor in project netxms by netxms.
the class LogParserEditor method createRuleEditor.
/**
* @param rule
*/
private LogParserRuleEditor createRuleEditor(LogParserRule rule) {
LogParserRuleEditor editor = new LogParserRuleEditor(rulesArea, toolkit, rule, this);
GridData gd = new GridData();
gd.horizontalAlignment = SWT.FILL;
gd.grabExcessHorizontalSpace = true;
editor.setLayoutData(gd);
rule.setEditor(editor);
return editor;
}
Aggregations