Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » SchedulerTask
SchedulerTask [message #453191] Mon, 24 July 2006 23:36 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Insert image in view
Next Topic:File Locations in RCP
Goto Forum:
  


Current Time: Thu Oct 03 16:58:17 GMT 2024

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

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

Back to the top