tmf: Make TmfEventFieldAspect independent of event content
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / filter / model / TmfFilterMatchesNode.java
index 023fc32029a412354c2bb5cd684e2c692bd71c6b..0d45f812f59a356d623a37f93d160d3612ecb962 100644 (file)
@@ -141,8 +141,7 @@ public class TmfFilterMatchesNode extends TmfFilterAspectNode {
 
     @Override
     public String toString() {
-        String aspectName = fEventAspect != null ? fEventAspect.getName() : ""; //$NON-NLS-1$
-        return aspectName + (isNot() ? " not" : "") + " matches \"" + getRegex() + "\""; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+        return getAspectLabel() + (isNot() ? " not" : "") + " matches \"" + getRegex() + "\""; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
     }
 
     @Override
This page took 0.023873 seconds and 5 git commands to generate.