Bug 158617 - [DiagramEditor] DiagramDocumentEditorMatchingStrategy doesn't resolve editor
Summary: [DiagramEditor] DiagramDocumentEditorMatchingStrategy doesn't resolve editor
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 2.1   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-25 13:50 EDT by Pratik Shah CLA
Modified: 2010-07-19 21:59 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pratik Shah CLA 2006-09-25 13:50:40 EDT
DDEMS doesn't ask the EditorReference to resolve the editor when it asks for it.  As a result, it can't find uninstantiated editors.  You can reproduce this problem in the TaiPan editor.

Open a text editor and then a TaiPan editor.  Give the focus to the text editor and then exit the workbench.  Upon restart, the text editor will have focus and the TaiPan editor will be in the background.  Now, double-click on the TaiPan diagram file in the Navigator.  It will open a new TaiPan editor, and not activate the one that's already present in the background.

To prevent all uninstantiated TaiPan editors to be loaded when one editor is opened, you can compare the names of the input and the editorReference before loading the editor.
Comment 1 Anthony Hunter CLA 2007-06-19 11:44:27 EDT
Moving to the next release, GMF 2.1. 
Comment 2 Eclipse Webmaster CLA 2010-07-19 21:59:46 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug