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

Bug 356033

Summary: Link Widget for Cross References Links
Product: [Modeling] ECP Reporter: Kang-Hunn Lee <leek>
Component: EditorAssignee: Project Inbox <emfcp.editor-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: eneufeld, jhelming
Version: unspecified   
Target Milestone: backlog   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Attachments:
Description Flags
patch of the link widget for cross referenced links functionality none

Description Kang-Hunn Lee CLA 2011-08-28 17:05:07 EDT
Build Identifier: M20110210-1200

After applying the patch you can also link widgets from different projects.
If a widget of a different project in the workspace is linked and the project is removed from the workspace, there is a message instead of the linked widget in the editor stating that the widget has been removed.
But if the widget is removed in the workspace and then loaded into the workspace again, the message doesn't appear and the widget is not linked anymore.

If the project has been removed but the editor is still open and has not been updated yet it is possible to click on the widget link. In this case an Exception is caught to stop an error message to occur. This exception requires modifications outside of the ecp.editor. It should be checked if there is a better way.

Reproducible: Always

Steps to Reproduce:
1. apply the patch
2. create a project with a model element that can have linked widgets
3. create a new project and add a model element that can be linked to the element above.
4. link the widget from the second project to the element from the first project
5. save the second project to emfstore, then delete it
6. close the editor of the first model element and open it again.
7. load the second project again into the workspace.
8. after opening the editor with the first model element again, it still has the "widget has been removed" message instead of the linked element.
Comment 1 Kang-Hunn Lee CLA 2011-08-28 17:06:31 EDT
Created attachment 202286 [details]
patch of the link widget for cross referenced links functionality
Comment 2 Eclipse Genie CLA 2015-05-09 13:56:44 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Eclipse Genie CLA 2018-05-04 11:32:19 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.