Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Can we change the color of DragSource Feedback Figure when it move from one containner to other?
Can we change the color of DragSource Feedback Figure when it move from one containner to other? [message #147206] Wed, 11 August 2004 09:22 Go to next message
Eclipse UserFriend
Originally posted by: justinaruja.isletsystems.com

Hello Friends,

I have a window with more than one containers (say 5 containers).

Container1 have a list of jobs that must be assigned to Crews.

Container2 contains 3 containers ( say Crew1, Crew2, Crew3).


When I drag a job from the Container1 and move over Crew1 or Crew2 or
Crew3, the DragSource Feedback figure must resize with respect to a
given value and also must change it color.

Please direct me




Thanks in advance

Justin
Re: Can we change the color of DragSource Feedback Figure when it move from one containner to other? [message #147252 is a reply to message #147206] Wed, 11 August 2004 14:55 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
showSourceFeedback(Request) will be invoked on the EditPart being dragged,
which will forward it to its EditPolicies. For the logic example, it's the
NonResizableEditPolicy that handles showing the source feedback. You can
show and update the feedback however you want in that method. You should be
able to get all the information you need from the request.

"Justin D'aruja" <justinaruja@isletsystems.com> wrote in message
news:cfcobp$2eq$1@eclipse.org...
> Hello Friends,
>
> I have a window with more than one containers (say 5 containers).
>
> Container1 have a list of jobs that must be assigned to Crews.
>
> Container2 contains 3 containers ( say Crew1, Crew2, Crew3).
>
>
> When I drag a job from the Container1 and move over Crew1 or Crew2 or
> Crew3, the DragSource Feedback figure must resize with respect to a
> given value and also must change it color.
>
> Please direct me
>
>
>
>
> Thanks in advance
>
> Justin
Previous Topic:Resizing the Canvas when scrolling
Next Topic:change the GEF viewport content when receives an event
Goto Forum:
  


Current Time: Tue Jan 21 23:29:51 GMT 2025

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

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

Back to the top