Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368561 - Model Fragment support for appending a copy of other model elements
Summary: Model Fragment support for appending a copy of other model elements
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-13 11:06 EST by Cedric Brun CLA
Modified: 2012-01-13 11:06 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Brun CLA 2012-01-13 11:06:23 EST
It would be usefull to have the hability to specify, in a document, copies of model elements.

Let's say I describe a model element 'standard_model_element' in my documentation/chapter1.

in chapter 2, I could write a fragment like
  
  aContainmentReference += copy(standard_model_element)

(and may be specify whether it is a simple or a deep copy

  aContainmentReference += deep_copy(standard_model_element)


A copy should probably be referençable in some way with a specific user name.

That would open vast new possibilities for Intent, capitalizing "common model parts" and describing, within the document, specialized version of these model elements next to the paragraph explaining why the customization is useful.

(The syntax is not a real proposition... may be reusing the 'new' keyword would be better...

2 minutes impact analysis  : it would mean adding specific keywords and concepts in the model fragments. Change the way those fragments are getting compiled into the model itself and the way traceability information is kept.
Comment 1 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn