Can we change the color of DragSource Feedback Figure when it move from one containner to other? [message #147206] |
Wed, 11 August 2004 05:22  |
Eclipse User |
|
|
|
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 10:55  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04548 seconds