Community
Participate
Working Groups
Build Identifier: Submitting a patch to generalize the Project View from LTTng to TMF, with a few improvements and bug fixes. A parser provider extension point is created. The events table is factored out of the events view to be used in any view, editor or control. An events editor is created to show the events table for a specific trace. Drag and drop support of traces is added. Detailed changes: Project view: - Trace resource can be a file or a folder - Deleting a trace will delete it from all experiments where it appears - Creating a new project sets it as the active project - Open trace implemented; finds the appropriate parser and opens the events table in an editor - Refresh command now detects file system changes - Select parser for a trace; opens submenu with available registered parsers, updates trace editor if opened, updates the current experiment if it contains the trace - Different icon used for the active project and for trace with unknown parser in project view tree - Remove project node children when the project is closed by another view (e.g. package explorer) - Opened project that do not have the TMF project nature are filtered out - Trace node under an experiment can return its project correctly - Drag & Drop support of trace from file system or any view with resources; trace is added to active project as a link - Double-clicking on a project node sets it as the active project - Double-clicking on a trace node opens it in an editor - Selecting an experiment sets it as current experiment and also opens every trace it contains in its own editor Events table widget: - Extracted from Events view; can be included in any view or editor Events view: - Made available to open by user; shows the events from the current experiment Events editor: - Shows the events from a single trace - Can be open with File > Open File, Open with, or drag-and-drop to editor region - Creates a link in the active project's trace folder if the input is not already a project resource - Updates itself when the trace parser is changed - Brings itself to front when the trace it contains is selected in another view MultiPage editor: - Created multi page editor which registers to the TMF signal manager Parser Provider Manager: - Extension point defined for plugins to register their own parser provider - Gathers list of registered parser providers at initialization - Stores the parser as a persistent property of the trace resource - Returns a trace using the appropriate parser for the specified resource - Content type of the resource can be used to find parser when it is undefined - Parser provider can define its own events editor for a specific parser - Parser provider can define its own events table for a specific parser Reproducible: Always
Created attachment 173913 [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.
Created attachment 173914 [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 on attachment 173913 [details] Proposed patch in org.eclipse.linuxtools.tmf package Patch committed with minor changes.
Done.
Delivered with 0.7