Bug 110338 - Diagram links support for diagram based on a resource
Summary: Diagram links support for diagram based on a resource
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement
Target Milestone: 2.1   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 121073 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-22 11:54 EDT by Steven R. Shaw CLA
Modified: 2010-07-19 21:59 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven R. Shaw CLA 2005-09-22 11:54:51 EDT
Need infrastructure support for create a diagram links that link to a file 
resource.

Use case:
- drag and drop a logic diagram onto another logic diagram.

Result:
- a text diagram link is create then when double clicked will open the dragged 
diagram.
Comment 1 Steven R. Shaw CLA 2005-10-06 14:35:46 EDT
Changing component to "Runtime Diagram"
Comment 2 Maneesh CLA 2005-10-07 10:05:33 EDT
Diagram/File Link Features:
1. Ability to create Link to Diagram EObject, independent of its container
(EResource/EObject).
2. Diagram links should get renamed, when diagram is renamed.
3. Ability to create Link to files. Useful when diagrams are stored at root
level, and client uses files as means to navigate to diagrams.
4. Diagram Links should get renamed, when the file is renamed.
5. Ability to drag and drop a diagram EObject or file on the diagram, to get a
diagram link.
6. Ability to drag and drop a diagram EObject or file on the Note, to get a
diagram link.
7. Ability to double click on the diagram/file link, to open a diagram or file
with its default editor.
8. Ability to cut/copy/paste diagram links onto the same diagram or different
diagrams.
9. Ability to drag and drop another diagram onto an existing link to relink to
the dropped diagram.
Comment 3 Maneesh CLA 2005-10-07 15:10:11 EDT
More Features:
1. Deleting of the file should delete the file link to that file in all open and
close diagrams.
2. Deleting of the diagram should delete the diagram link to that diagram in all
open and close diagrams.
3. Deleting of the file containing the linked diagram EObject, should result in
changing the state of link to unresolved.
4. When the link target is missing, then the diagram link should show Unresolved
decoration (X sign).
5. Convert a file diagram link to regular Diagram EObject link and a Diagram
EObject link to a file link.
6. Delete from Model on a file link should delete the linked file.
7. Delete from Model on a diagram eobject link should delete the Diagram EObject.
Comment 4 Steven R. Shaw CLA 2005-12-07 11:20:14 EST
Need to add a generic diagram parser for the name at the GMF level.  It should be resilient to whether the diagram semantic reference is unresolved or not.  Utilizing something similar to EObject#getName...
Comment 5 Steven R. Shaw CLA 2005-12-07 11:23:38 EST
Use case for verification after enhancement:
-create two simple projects
    Proj1 and Proj2
-create a logic diagram in each
   -logic1, and logic2
-drag logic1 onto logic2
-close Proj 2.
-close environment
-open environment, open logic1
-notice you will have a diagramLink to logic2 with proper name even though it is unresolved. (proper behavior).
Comment 6 Steven R. Shaw CLA 2006-02-22 09:24:55 EST
Moving to M6.  Not enough time left in M5 to address this.
Comment 7 Steven R. Shaw CLA 2006-03-09 15:00:05 EST
Descoped from M6
Comment 8 Richard Gronback CLA 2006-07-24 09:44:01 EDT
Can we assign this to 2.0?
Comment 9 Frederic Plante CLA 2006-07-24 10:17:33 EDT
I agree that this one should probably go 2.0.

Anthony and I will go over the Runtime enhancements requests after our respective vacation; no need to sweep them :-)
Comment 10 Tom Macdougall CLA 2006-08-29 14:13:56 EDT
*** Bug 121073 has been marked as a duplicate of this bug. ***
Comment 11 Anthony Hunter CLA 2007-06-19 11:26:29 EDT
Not yet assigned to a release (assigned to a milestone with the Plan keyword).

Moving to the next release, GMF 2.1. 

Comment 12 Eclipse Webmaster CLA 2010-07-19 21:59:09 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug