Drag and Drop issue [message #145795] |
Sat, 31 July 2004 06:18  |
Eclipse User |
|
|
|
Originally posted by: justinaruja.isletsystems.com
Hello All,
I have a window with more than one containers (say 2containers).
Container1 have a list of jobs that must be assigned to workers.
Container 2 have a row of workers.
when I drag a job from the list and drop it on worker's row it must
change to another object.
Please direct me how to achieve this
Thanks in advance
Damian
|
|
|
|
|
|
Re: Drag and Drop issue [message #146663 is a reply to message #146418] |
Thu, 05 August 2004 12:14  |
Eclipse User |
|
|
|
Like Randy said, when you drag a job from container 1, container 1 will get
an orphan request to remove that job. Then container2 will get an add
request to add the job. Rather, if you are dropping on top of a worker,
that worker will get an add request. The worker can then determine what is
the right course of action and return an appropriate command. In this case,
you might want to ignore adding the given job (which means it will get
deleted), and add something else to the model (the new object that you want
it to change to).
"damian" <justinaruja@isletsystems.com> wrote in message
news:ceposr$3gm$1@eclipse.org...
> Hello Pratik,
>
>
> Underlying model get change.
>
> Regards
>
> Damian
>
>
>
>
>
> Pratik Shah wrote:
>
> > Does the underlying model change or just the visual representation?
>
> > "Damian" <justinaruja@isletsystems.com> wrote in message
> > news:cefril$ssd$1@eclipse.org...
> > > Hello All,
> > >
> > > I have a window with more than one containers (say 2containers).
> > >
> > > Container1 have a list of jobs that must be assigned to workers.
> > >
> > > Container 2 have a row of workers.
> > >
> > > when I drag a job from the list and drop it on worker's row it must
> > > change to another object.
> > >
> > > Please direct me how to achieve this
> > >
> > >
> > > Thanks in advance
> > >
> > > Damian
> > >
> > >
> > >
> > >
> > >
> > >
> > >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03907 seconds