Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345929 - Invoking "Open associated diagram" opens another editor
Summary: Invoking "Open associated diagram" opens another editor
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.8.0   Edit
Assignee: Tim Kaiser CLA
QA Contact:
URL:
Whiteboard: Indigo RC2 theme_bugs
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-16 08:30 EDT by Juergen Pasch CLA
Modified: 2011-06-24 08:49 EDT (History)
1 user (show)

See Also:
michael.wenz: indigo+


Attachments
mylyn/context/zip (53.01 KB, application/octet-stream)
2011-05-23 10:27 EDT, Tim Kaiser CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Pasch CLA 2011-05-16 08:30:45 EDT
When testing with the tutorial plug-in "Associate diagram" and "Open associated diagram" the following error occured:
Having the editor to be opened by "Open associated diagram" already open, this editor does not become focus after invoking the operation. Instaed another editor is opended then, which should not happen.
Comment 1 Tim Kaiser CLA 2011-05-23 10:27:01 EDT
In several places in the framework it is necessary to map a diagram file URI to the URI of the diagram. This is currently done in EMFService in a very direct mode: append "/0".
Since EMF is quite flexibel regarding the computation of URIs (sometimes "/" sometimes "/0"
is appended) we now enforce homogenous URIS directly when DiagramEditorInputs are created (using the above mentioned method).
Comment 2 Tim Kaiser CLA 2011-05-23 10:27:04 EDT
Created attachment 196343 [details]
mylyn/context/zip
Comment 3 Michael Wenz CLA 2011-05-24 04:18:17 EDT
Bookkeeping...
Comment 4 Michael Wenz CLA 2011-06-24 08:49:36 EDT
Part of Graphiti Indigo 0.8.0