Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366093 - [TMF] Set default editor when opening trace
Summary: [TMF] Set default editor when opening trace
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 14:26 EST by Patrick Tasse CLA
Modified: 2022-01-13 14:53 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Tasse CLA 2011-12-08 14:26:19 EST
In the Open Trace handler, if the trace type plugin extension element declares a default editor with an editor id, the specified editor is used to open the trace.

Since the IDE default editor is not set at this time, then later opening the trace (for example by clicking a saved bookmark) will open the trace in a different editor, for example the Eclipse Text Editor.

The solution is to set the IDE default editor when successfully opening a trace with the plugin-specified editor. This can only be done if the trace resource is a file.
Comment 1 Patrick Tasse CLA 2011-12-08 16:05:58 EST
Pushed to master branch.

commit 2dd82ee9a755be9a37fc2ab0dc7a938995ff8a81
Comment 2 Francois Chouinard CLA 2012-03-26 14:00:08 EDT
Delivered in 0.10.0