With double click on element... [message #141865] |
Mon, 09 July 2007 16:44  |
Eclipse User |
|
|
|
Hi all,
With double click on diagram element I open the new diagram. Is it possible
to make so, that child elements in the old diagram were not displayed in
new?
Thanks in advance,
Irina
|
|
|
|
Re: With double click on element... [message #141922 is a reply to message #141865] |
Tue, 10 July 2007 09:08  |
Eclipse User |
|
|
|
Hi Irina,
By default, the new diagram is initialized with the same underlying
element as the one the notational element being double-clicked has (and
therefore it will have the same child elements).
This is however controlled by the method getDiagramDomainElement() in
the generated OpenDiagramCommand. You may fine-tune this method manually
(or generate it differently with custom templates) to associate the
diagram you are creating with an arbitrary element.
Best regards,
Boris
Irina wrote:
> Hi all,
> With double click on diagram element I open the new diagram. Is it possible
> to make so, that child elements in the old diagram were not displayed in
> new?
>
> Thanks in advance,
>
> Irina
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05046 seconds