SchedulerTask [message #453191] |
Mon, 24 July 2006 23:36 |
Eclipse User |
|
|
|
Originally posted by: joneo_ytk81.yahoo.com
Is there any schedulerTask kind of features available in eclipse ? I would
like to have a feature kind of like scheduler task where user can select
this icon from a menu bars and popup a GUI which allow user to schedule a
job to run at server side. how can i do it? please guide me. thanks.
|
|
|
Re: SchedulerTask [message #453315 is a reply to message #453191] |
Wed, 26 July 2006 06:56 |
Eclipse User |
|
|
|
Originally posted by: rosskopf.progroup-inc.com
Hello Joneo,
you can use Eclipse Job-API.
Just implement something like this:
Job job = new Job("load from server") {
protected IStatus run(IProgressMonitor monitor) {
// Here comes some long running server communication
return new Status(Status.OK, getSite().getPluginId(),
Status.OK, "done", null);
}
};
job.schedule();
Something like that?
---
Joachim
Joneo wrote:
> Is there any schedulerTask kind of features available in eclipse ? I
> would like to have a feature kind of like scheduler task where user can
> select this icon from a menu bars and popup a GUI which allow user to
> schedule a job to run at server side. how can i do it? please guide me.
> thanks.
>
>
|
|
|
Re: SchedulerTask [message #453323 is a reply to message #453191] |
Wed, 26 July 2006 11:04 |
Eclipse User |
|
|
|
Originally posted by: tom.seidel.spiritlink.de
Joneo wrote:
> Is there any schedulerTask kind of features available in eclipse ? I
> would like to have a feature kind of like scheduler task where user can
> select this icon from a menu bars and popup a GUI which allow user to
> schedule a job to run at server side. how can i do it? please guide me.
> thanks.
>
>
Hi,
you can use the jobs api
Read the article
http://www.eclipse.org/articles/Article-Concurrency/jobs-api .html
But why scheduling the task on the client, not on the server??
--
Cheerz,
Tom
|
|
|
Powered by
FUDForum. Page generated in 0.03540 seconds