Skip to main content



      Home
Home » Eclipse Projects » GEF » Resize/move children
Resize/move children [message #160530] Mon, 06 December 2004 10:09 Go to next message
Eclipse UserFriend
Originally posted by: seb01016.fh-hagenberg.at

Hi!

I have the follwowin situation, causing troubles when i want to move
children. First of all I have a "Diagram", that may contain various "Form"
elements. Furthermore forms may contain "Commands". Form und Diagram
EditPart use both the same EditPolicy. If I create a form instance
everything works fine. I can move it, resize it .... If I want to create a
Command I can place it in a form and resize and move it. But if I move the
form already containing a Command i get a NullPointer Exception if I try
to move or resize the Command Figure again. The error occurs in the
getMoveChildrenCommand of the Form EditPart class.

Due to the fact that I am a beginner concerning GEF I would be pleased if
anybody could help me.

thx in advance

Hannes
Re: Resize/move children [message #160912 is a reply to message #160530] Tue, 07 December 2004 21:28 Go to previous message
Eclipse UserFriend
Set an NPE breakpoint. It's difficult to help with no details.

"Schoenboeck" <seb01016@fh-hagenberg.at> wrote in message
news:cp1smk$er1$1@www.eclipse.org...
> Hi!
>
> I have the follwowin situation, causing troubles when i want to move
> children. First of all I have a "Diagram", that may contain various "Form"
> elements. Furthermore forms may contain "Commands". Form und Diagram
> EditPart use both the same EditPolicy. If I create a form instance
> everything works fine. I can move it, resize it .... If I want to create a
> Command I can place it in a form and resize and move it. But if I move the
> form already containing a Command i get a NullPointer Exception if I try
> to move or resize the Command Figure again. The error occurs in the
> getMoveChildrenCommand of the Form EditPart class.
> Due to the fact that I am a beginner concerning GEF I would be pleased if
> anybody could help me.
> thx in advance
>
> Hannes
>
Previous Topic:Moving Figure
Next Topic:Change button text at runtime
Goto Forum:
  


Current Time: Wed Jul 30 19:18:18 EDT 2025

Powered by FUDForum. Page generated in 0.04421 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top