use of org.netxms.ui.eclipse.serverconfig.widgets.helpers.LogParserModifyListener in project netxms by netxms.
the class LogParserPolicyEditor method createPartControl.
/* (non-Javadoc)
* @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
*/
@Override
public void createPartControl(Composite parent) {
super.createPartControl(parent);
editor = new LogParserEditor(parent, SWT.NONE, false);
editor.addModifyListener(new LogParserModifyListener() {
@Override
public void modifyParser() {
setModified();
}
});
}
use of org.netxms.ui.eclipse.serverconfig.widgets.helpers.LogParserModifyListener in project netxms by netxms.
the class SyslogParserConfigurator method createPartControl.
/* (non-Javadoc)
* @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
*/
@Override
public void createPartControl(Composite parent) {
editor = new LogParserEditor(parent, SWT.NONE, true);
editor.addModifyListener(new LogParserModifyListener() {
@Override
public void modifyParser() {
setModified(true);
}
});
createActions();
contributeToActionBars();
refresh();
}
Aggregations