The MI for filter element contains true if a filter has been configured
and false if not.
Change-Id: I146c7b1da4ecdd8aa3df66f443bd7fe9d9772813
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/63870
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
public static String TraceControl_DeleteProfileTitle;
public static String TraceControl_DeleteQuery;
+ public static String TraceControl_DefaultEventFilterString;
+
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
TraceControl_DeleteProfileTitle=Delete LTTng Profiles
TraceControl_DeleteQuery=Do you want to delete the following profiles?
+TraceControl_DefaultEventFilterString=with filter
\ No newline at end of file
// LTTng
// For now we emulate the non-mi behavior and simply put
// "with filter"
- eventInfo.setFilterExpression("with filter"); //$NON-NLS-1$
+ if (Boolean.TRUE.toString().equals(infoNode.getTextContent())) {
+ eventInfo.setFilterExpression(Messages.TraceControl_DefaultEventFilterString);
+ }
break;
case MIStrings.EXCLUSION:
// TODO: Currently not supported by tmf