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

Bug 345929

Summary: Invoking "Open associated diagram" opens another editor
Product: [Modeling] Graphiti Reporter: Juergen Pasch <juergen.pasch>
Component: CoreAssignee: Tim Kaiser <tim.kaiser>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: michael.wenz
Version: 0.8.0Flags: michael.wenz: indigo+
Target Milestone: 0.8.0   
Hardware: All   
OS: All   
Whiteboard: Indigo RC2 theme_bugs
Attachments:
Description Flags
mylyn/context/zip none

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