reloading the model [message #114863] |
Fri, 30 January 2004 08:46  |
Eclipse User |
|
|
|
Originally posted by: nospam.gmx.net
Hi GEFfers!
Sometimes i encounter Exceptions in myGEF Editor which are deep inside the
Draw2d framework.
(e.g. LinkFigure has no parent layer, AbstractEditpart.getRoot returns
null ).
I assume that happens because in some situations, i reload the model
and with the Editor#setContents() method.
What is the best way to clean up the editor in order to rebuild the Diagram?
Regards, Ingo
|
|
|
Re: reloading the model [message #114878 is a reply to message #114863] |
Fri, 30 January 2004 09:47   |
Eclipse User |
|
|
|
Originally posted by: Lamont_Gilbert.rigidsoftware.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ingo Koch wrote:
| Hi GEFfers!
|
| Sometimes i encounter Exceptions in myGEF Editor which are deep inside the
| Draw2d framework.
| (e.g. LinkFigure has no parent layer, AbstractEditpart.getRoot returns
| null ).
|
| I assume that happens because in some situations, i reload the model
| and with the Editor#setContents() method.
|
| What is the best way to clean up the editor in order to rebuild the
Diagram?
|
| Regards, Ingo
|
|
|
|
have you tried refresh on editparts?
- --
Respectfully,
CL Gilbert
"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1
GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAGm5oVbJM14DSCi0RAvEwAJ9JZeeCsyaoSOGBae7PoJPABq4s2QCg k9LU
JkSDIPwLpse4DOoLlyUdRVk=
=heHq
-----END PGP SIGNATURE-----
|
|
|
|
Re: reloading the model [message #115095 is a reply to message #114956] |
Mon, 02 February 2004 04:41  |
Eclipse User |
|
|
|
Originally posted by: nospam.gmx.net
Hello Randy,
i found the bug which caused these strange error (model created a link with
no target, which , on reload called a deactivateFigure() where there was no
figure ).
But now I
|
|
|
Powered by
FUDForum. Page generated in 0.17319 seconds