Question about copy/paste on ICompartmentEditPart [message #172508] |
Thu, 14 February 2008 05:20  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------010704090600080107040401
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Hi,
I am using GMF 1.0.3 and trying to use copy/paste in my diagrams.
For now, i can copy/paste top nodes without problems, following
instruction from this list.
but i would like also copy/paste some labels inside compartment to the
same compartment. It seems not possible at all because these edit parts
are not Shapes nor Nodes, but compartments.
Why copy/paste in gmf only available for Nodes ?
How can i do copy/paste labels inside compartements ?
Thanks,
St
|
|
|
Re: Question about copy/paste on ICompartmentEditPart [message #180947 is a reply to message #172508] |
Fri, 04 April 2008 10:14  |
Eclipse User |
|
|
|
Hi Stéphane,
Could you explain how you have managed to implement copy/paste
functionality ? I tried this tutorial : http://serdom.szn.pl/ser/?p=6,
but it fails. When I paste a top node, a figure is displayed with a
description of the copied object between []. Do I have add some
properties to my Ecore model ?
It seems that Logic example implements copy/paste, but domain model and
diagram are same file.
If you can describe step by step how you have managed to do this, it
would be very helpful for me.
Thank you very much !
Best regards,
Philippe
Stéphane Bouchet a écrit :
> Hi,
>
> I am using GMF 1.0.3 and trying to use copy/paste in my diagrams.
> For now, i can copy/paste top nodes without problems, following
> instruction from this list.
>
> but i would like also copy/paste some labels inside compartment to the
> same compartment. It seems not possible at all because these edit parts
> are not Shapes nor Nodes, but compartments.
>
>
> Why copy/paste in gmf only available for Nodes ?
> How can i do copy/paste labels inside compartements ?
>
> Thanks,
>
> Stéphane
|
|
|
Powered by
FUDForum. Page generated in 0.03255 seconds