Link to home
Start Free TrialLog in
Avatar of zjiqi0
zjiqi0

asked on

Eclipse: New File Wizard data communication

I am wondering what the mechnism used in wizard page communication.  For example, page2 needs some values from page1, we can use DialogSettings to store these values and pass to pages.  However, if from page2, I pressed "Back" button and changed something in page1, then click "next" again to page2.  The new value should be reflected in page2.  It seems to me that a listener is needed to update these values, but the implementation is complicated.

Would you please give me some idea how commonly this is handled?

Thanks a lot
ASKER CERTIFIED SOLUTION
Avatar of mmuruganandam
mmuruganandam
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zjiqi0
zjiqi0

ASKER

I do intend to add listener to all the properties, but I am not sure the Listener can modify the property on another page, since checkWidget may fail it.

Are you guys talking about to fire the event and have every related page listen to it, and update itself accordingly?  I don't know how to do this. Will you guys give me some examples?

Besides, I don't know how to use java bean for this either.  Exaples or more detailed description is appreciated.

Thanks you very much.

I would recommend for mmuruganandam && orangehead911.