Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337914

Summary: [TMF] Implementation of filter model
Product: z_Archived Reporter: Patrick Tasse <patrick.tasse>
Component: LinuxToolsAssignee: Francois Chouinard <fchouinard>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch in org.eclipse.linuxtools.tmf package
fchouinard: iplog+
Proposed patch in org.eclipse.linuxtools.tmf.ui package
none
Proposed patch in org.eclipse.linuxtools.tmf.ui package
none
Proposed patch in org.eclipse.linuxtools.tmf.ui package
none
Proposed patch in org.eclipse.linuxtools.tmf.ui package fchouinard: iplog+

Description Patrick Tasse CLA 2011-02-22 17:25:00 EST
Build Identifier: 

A filter model is implemented. The filter model is a tree structure of filter nodes. The provided node types are: ROOT, FILTER, AND, OR, EQUALS, CONTAINS, MATCHES and COMPARE. The ITmfFilter interface is used to test the matching of a TmfEvent against any filter node.

An XML parser and an XML writer are provided.

The signals TmfTraceOpenedSignal, TmfTraceClosedSignal and TmfParserUpdatedSignal are moved from org.eclipse.linuxtools.tmf to org.eclipse.linuxtools.tmf.ui package.

Interfaces ITmfEventsFilterProvider and ITmfEventsFilterListener are defined.

Reproducible: Always
Comment 1 Patrick Tasse CLA 2011-02-22 17:26:08 EST
Created attachment 189552 [details]
Proposed patch in org.eclipse.linuxtools.tmf package

Legal Message: I, Patrick Tasse, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL. I am authorized by my employer to make this contribution under
the EPL.
Comment 2 Patrick Tasse CLA 2011-02-22 17:26:41 EST
Created attachment 189553 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui package

Legal Message: I, Patrick Tasse, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL. I am authorized by my employer to make this contribution under
the EPL.
Comment 3 Patrick Tasse CLA 2011-02-22 17:30:16 EST
Created attachment 189554 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui package

Updated for copyright notice.
Comment 4 Patrick Tasse CLA 2011-02-22 17:38:07 EST
Created attachment 189556 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui package

Updated with change to MANIFEST.MF.
Comment 5 Patrick Tasse CLA 2011-02-22 18:02:02 EST
Created attachment 189558 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui package

Updated with changes to TmfEventsEditor and SelectParserHandler.
Comment 6 Francois Chouinard CLA 2011-03-10 18:28:21 EST
Compilation errors in TmfEventsEditor when applying those patches: there are calls to non-existing TmfTraceOpenedSignal constructors in 3 places.
Comment 7 Francois Chouinard CLA 2011-03-10 18:30:51 EST
(cont) Methods with faulty calls:
- propertyChanged()
- createPartControl()
- traceParserUpdated()
Comment 8 Francois Chouinard CLA 2011-03-29 18:26:55 EDT
Patch committed. Thanks Patrick.
Comment 9 Francois Chouinard CLA 2011-07-22 15:02:38 EDT
Delivered with 0.8