Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » problems with non-resizable nodes
problems with non-resizable nodes [message #177966] Tue, 18 March 2008 19:31 Go to next message
Eclipse UserFriend
Originally posted by: Sid.Sid.de

Hello,

im using NonResizableEditPolicy to make my node non-resizeable. the only
problem is .. after moving the nodes a grey rectangle does appear.

here is a picture of it:

http://img504.imageshack.us/img504/995/imagelm2.jpg

"Node" was just created
"Node 2" was created and moved

does someone know how i can prevent that this grey rectangle is shown?

Best Regards
Sid
Re: problems with non-resizable nodes [message #178233 is a reply to message #177966] Wed, 19 March 2008 20:27 Go to previous messageGo to next message
Cherie Revells is currently offline Cherie RevellsFriend
Messages: 299
Registered: July 2009
Senior Member
Sid,

I don't really understand the problem you are describing, but put a
breakpoint in NonResizableEditPolicy.getDragSourceFeedbackFigure() to
understand where the feedback figure is coming from.

Regards,
Cherie

Sid wrote:
> Hello,
>
> im using NonResizableEditPolicy to make my node non-resizeable. the only
> problem is .. after moving the nodes a grey rectangle does appear.
> here is a picture of it:
> http://img504.imageshack.us/img504/995/imagelm2.jpg
>
> "Node" was just created
> "Node 2" was created and moved
> does someone know how i can prevent that this grey rectangle is shown?
>
> Best Regards Sid
>
Re: problems with non-resizable nodes [message #178332 is a reply to message #178233] Thu, 20 March 2008 10:55 Go to previous message
Eclipse UserFriend
Originally posted by: Sid.Sid.de

Hi Cherie,

thanks for your answer. Your advice was very helpful. I changed the
feedback figure. Now it works as it should.

Best Regards
Sid
Previous Topic:Root element is dupplicated
Next Topic:Use of specializationType
Goto Forum:
  


Current Time: Tue Apr 23 08:10:47 GMT 2024

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

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

Back to the top