Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337914 - [TMF] Implementation of filter model
Summary: [TMF] Implementation of filter model
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 17:25 EST by Patrick Tasse CLA
Modified: 2022-01-13 14:53 EST (History)
0 users

See Also:


Attachments
Proposed patch in org.eclipse.linuxtools.tmf package (61.29 KB, patch)
2011-02-22 17:26 EST, Patrick Tasse CLA
fchouinard: iplog+
Details | Diff
Proposed patch in org.eclipse.linuxtools.tmf.ui package (6.56 KB, patch)
2011-02-22 17:26 EST, Patrick Tasse CLA
no flags Details | Diff
Proposed patch in org.eclipse.linuxtools.tmf.ui package (7.62 KB, patch)
2011-02-22 17:30 EST, Patrick Tasse CLA
no flags Details | Diff
Proposed patch in org.eclipse.linuxtools.tmf.ui package (8.12 KB, patch)
2011-02-22 17:38 EST, Patrick Tasse CLA
no flags Details | Diff
Proposed patch in org.eclipse.linuxtools.tmf.ui package (10.85 KB, patch)
2011-02-22 18:02 EST, Patrick Tasse CLA
fchouinard: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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