Re: save resize figure [message #118440] |
Thu, 19 February 2004 14:50 |
Eclipse User |
|
|
|
Originally posted by: yong.dong.sympatico.ca
Me too, since the new attribute size is not saved to the xml file. According
to the same reason,
other new shapes can not be saved in xml either. Now I try to serialize the
model object
to the disk and save it to the DB, then XML.
Michael
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Hi Micheal,
I am still fighting with resizing. I am able to resize
and I can see the
resized image on the screen. When I close the editor,
it does not get saved
and shows up with the default size. Did you modify
NetworkPackageImpl.java's
CreatePackageContents() or InitializePackageContents()
methods? I included
the getNetworkNode().setSize() method in
NetworkNodeEditPart.java but it
does not help. It has to do with some minor change in
the model
(NodeImpl.java or NetworkImpl.java) that I am missing.
Let me know & Thanks in advance!
Bharath
|
|
|
Re: save resize figure [message #118450 is a reply to message #118440] |
Thu, 19 February 2004 15:47 |
Eclipse User |
|
|
|
Originally posted by: bharath.starthis.com
Michael,
The "size" attribute is modeled as an EClass ONLY because it makes it
serializable! I must be missing out an extra method or so required to
enable its serialization and I am trying to find it. I will let you know
as soon as I get it working.
Thanks.
MichaelSun wrote:
> Me too, since the new attribute size is not saved to the xml file. According
> to the same reason,
> other new shapes can not be saved in xml either. Now I try to serialize the
> model object
> to the disk and save it to the DB, then XML.
> Michael
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Hi Micheal,
> I am still fighting with resizing. I am able to resize
> and I can see the
> resized image on the screen. When I close the editor,
> it does not get saved
> and shows up with the default size. Did you modify
> NetworkPackageImpl.java's
> CreatePackageContents() or InitializePackageContents()
> methods? I included
> the getNetworkNode().setSize() method in
> NetworkNodeEditPart.java but it
> does not help. It has to do with some minor change in
> the model
> (NodeImpl.java or NetworkImpl.java) that I am missing.
> Let me know & Thanks in advance!
> Bharath
|
|
|
Re: save resize figure [message #214404 is a reply to message #118450] |
Mon, 17 April 2006 16:00 |
Eclipse User |
|
|
|
Originally posted by: micha.m2visio.de
Hello Guys
have you found a solution for this problem?
I'm working at the same issue at the moment and just can't get it.
Michael
"Bharath" <bharath@starthis.com> schrieb im Newsbeitrag
news:c12lqg$4f8$1@eclipse.org...
> Michael,
>
> The "size" attribute is modeled as an EClass ONLY because it makes it
> serializable! I must be missing out an extra method or so required to
> enable its serialization and I am trying to find it. I will let you know
> as soon as I get it working.
>
> Thanks.
>
> MichaelSun wrote:
>
>> Me too, since the new attribute size is not saved to the xml file.
>> According
>> to the same reason,
>> other new shapes can not be saved in xml either. Now I try to serialize
>> the
>> model object
>> to the disk and save it to the DB, then XML.
>
>> Michael
>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> Hi Micheal,
>
>> I am still fighting with resizing. I am able to resize
>> and I can see the
>> resized image on the screen. When I close the editor,
>> it does not get saved
>> and shows up with the default size. Did you modify
>> NetworkPackageImpl.java's
>> CreatePackageContents() or InitializePackageContents()
>> methods? I included
>> the getNetworkNode().setSize() method in
>> NetworkNodeEditPart.java but it
>> does not help. It has to do with some minor change in
>> the model
>> (NodeImpl.java or NetworkImpl.java) that I am missing.
>
>> Let me know & Thanks in advance!
>
>> Bharath
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02369 seconds