Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359227 - Link with editor does not work with project explorer
Summary: Link with editor does not work with project explorer
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: Juno M7 theme_round_offs
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 09:07 EDT by Tim Kaiser CLA
Modified: 2012-06-29 04:23 EDT (History)
3 users (show)

See Also:
matthias.gorning: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Kaiser CLA 2011-09-28 09:07:59 EDT
In the project explorer, the link with editor mode is not working with graphiti editors.
In contrast, with the package explorer it works.
Comment 1 Juergen Pasch CLA 2012-05-08 08:33:08 EDT
Linking between editors and corresponding diagram nodes is implemented with extension point "org.eclipse.ui.navigator.linkHelper" and class EditorLinkHelper. In method findSelection the file which represents the DiagramEditorInput is reconstructed and wrapped into a StructuredSelection. This should be found then by the CommonNavigator.

commit 276a1c43c014e15fbcc929853c56d7367ee480b6
Author: jpasch <juergen.pasch@sap.com> 2012-05-08 14:07:26
Committer: jpasch <juergen.pasch@sap.com> 2012-05-08 14:10:57
Parent: 9ffb7f00532ac08806fcfdd58cdfd66b0b9d600e (Updated News&Noteworthy for M7)
Branches: master

Bug: 359227: provide link helper for editor and corresponding digram
node in Project Explorer
Comment 2 Michael Wenz CLA 2012-06-29 04:23:04 EDT
Part of Graphiti 0.9.0 (Eclipse Juno)