Re: Copy, paste, import ?

"Anders W. Tell" <[email protected]> Tue, 22 Jul 2003 14:03:25 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Organization Financial Toolsmiths AB
Message-ID <[email protected]>
I saw it comming ....Ill have to finish of the GUI stuff first and then 
I may have a go at it.

/anders

Martin Matula wrote:

> Well, I would be very happy to do that. But we do not have resources 
> to implement it. If you are willing to do it yourself, I will be happy 
> to grant you a developer role in MDR project. :)
> Martin
>
> Anders W. Tell wrote:
>
>> What do you think about making copy,paste,import and undo part of 
>> core MDR distribution ?
>>
>> /anders
>>
>> Martin Matula wrote:
>>
>>> If you want this to work independently of the metamodel, you will 
>>> need to use reflective API and explore metaobjects of the objects 
>>> that are copied, read values of all the attributes, references and 
>>> recreate them in the target model. Eventually you could use XMI 
>>> reader and XMI writer if you want to copy whole models (reader can 
>>> be passed to writer as ContentHandler, which will cause that writer 
>>> will read data from one extent and send events to reader, which will 
>>> create those data in another extent).
>>> Martin
>>>
>>> Anders W. Tell wrote:
>>>
>>>> Hi all,
>>>>
>>>> Before I go on holiday Im trowing away yet another question.
>>>>
>>>> How simple is it to create functionality to support copy, paste and 
>>>> import of JMI/MOF artifact  from one MDR model to another MDR based 
>>>> model?
>>>>
>>>>
>>>> cheers
>>>> /anders
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>
>