Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Multiple views with single Model
Multiple views with single Model [message #444105] Thu, 09 February 2006 17:57 Go to next message
Eclipse UserFriend
Originally posted by: pverma.gmail.com

Hi,

I am an eclipse newbie. I have successfully created a couple of RCP apps
from the examples.

The current problem that I'm working on requires multiple views of the
same data structure. How can I do this?

Does eclipse provide some kind of framework which can be used to
encapsulate my data structure as the internal model in the application?

Thanks.
Re: Multiple views with single Model [message #444114 is a reply to message #444105] Fri, 10 February 2006 03:34 Go to previous messageGo to next message
Rohit Khariwal is currently offline Rohit KhariwalFriend
Messages: 114
Registered: July 2009
Senior Member
please always write in details about your problem.
Re: Multiple views with single Model [message #444115 is a reply to message #444105] Fri, 10 February 2006 03:35 Go to previous messageGo to next message
Rohit Khariwal is currently offline Rohit KhariwalFriend
Messages: 114
Registered: July 2009
Senior Member
please always write in details about your problem.
which data structure you are using.
Re: Multiple views with single Model [message #444121 is a reply to message #444115] Fri, 10 February 2006 06:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pverma.gmail.com

> please always write in details about your problem.
> which data structure you are using.

Hi,

Basically, I will load settings from configuration file into memory. I
have multiple views and all of these need to access the same configuration
data. Moreover, when one of the views modifies a configuration data, all
other views have to be notified so that they can be refreshed.

I was wondering if there was a framework that already did this so that I
just had to provide code to read/write configuration data and to paint the
views. Please let me know if this question belongs in the newbie list.
Re: Multiple views with single Model [message #444122 is a reply to message #444121] Fri, 10 February 2006 07:16 Go to previous message
Rohit Khariwal is currently offline Rohit KhariwalFriend
Messages: 114
Registered: July 2009
Senior Member
You can use propertyChangneListener for this:-
check this link:

http://www-128.ibm.com/developerworks/java/library/os-ecllin k/
Previous Topic:[DataBinding] Binding Text Vs Label
Next Topic:selectionChanged didn't called ?
Goto Forum:
  


Current Time: Tue Nov 05 10:15:52 GMT 2024

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

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

Back to the top