Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » To which method we can pass values ,whileRCP is running
To which method we can pass values ,whileRCP is running [message #524995] Mon, 05 April 2010 03:46 Go to next message
Eclipse UserFriend
Hey Friends,
I have a question about RCP ,I have to pass value to RCP and show that value in Table. The value that i would pass would be output of another standalone java class..

Could anybody help me in doing this?

Re: To which method we can pass values ,whileRCP is running [message #525335 is a reply to message #524995] Tue, 06 April 2010 05:25 Go to previous messageGo to next message
Eclipse UserFriend
On 05.04.2010 09:46, daitkarsachin wrote:
> I have a question about RCP ,I have to pass value to RCP and show that
> value in Table. The value that i would pass would be output of another
> standalone java class..
> Could anybody help me in doing this?

Too much buzz words for me;-) It's really not clear to me, what you want
to realize here. In this particular case I recommend to take
the basics of the FAQ to your heart:

http://www.catb.org/~esr/faqs/smart-questions.html

"Passing a value to RCP" could be as simple as using a file to read
that data from, but I assume that is not what you want.

Greetings from Bremen,

Daniel Krügler
Re: To which method we can pass values ,whileRCP is running [message #525364 is a reply to message #525335] Tue, 06 April 2010 07:20 Go to previous message
Eclipse UserFriend
Hi daniel,

sorry for my incomplete question, I have to build a RCP application containing tableviewer having some numbers. I have to pass an output of java program running independenlty as an input to this tableviewer so that table can update itself and show that value.. So my question is how can we pass output value from java program as an input to RCP application.If we can,then to which method should i pass that value.

Re: To which method we can pass values ,whileRCP is running [message #525370 is a reply to message #525364] Tue, 06 April 2010 03:00 Go to previous message
Eclipse UserFriend
On 06.04.2010 13:20, daitkarsachin wrote:
> sorry for my incomplete question, I have to build a RCP application
> containing tableviewer having some numbers. I have to pass an output of
> java program running independenlty as an input to this tableviewer so
> that table can update itself and show that value.. So my question is how
> can we pass output value from java program as an input to RCP
> application.If we can,then to which method should i pass that value.

The most portable way is a file-based approach, as suggested in my
original posting (and not denied in your reply yet). With pure
Java means you could start a file observer thread in your RCP
that checks e.g. the lastModified property of the File objects within
a particular directory region. I believe, apache provides support
for this as well:

http://commons.apache.org/vfs/apidocs/org/apache/commons/vfs /impl/DefaultFileMonitor.html

HTH & Greetings from Bremen,

Daniel Krügler
Previous Topic:How to do Session handling in RCP
Next Topic:How to pass values to Eclipse RCP application
Goto Forum:
  


Current Time: Wed Jun 18 05:03:53 EDT 2025

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

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

Back to the top