Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Reuse views in a wizard?
Reuse views in a wizard? [message #674102] Wed, 25 May 2011 20:37 Go to next message
Pietro Bonanno is currently offline Pietro BonannoFriend
Messages: 13
Registered: July 2009
Junior Member
I'm learning Riena and Eclipse RCP in a simple application I'm writing. It's a typical data-oriented business client, with several CRUD views and a wizard to do typical tasks.
Some wizard page reuse same views from the CRUD: what could be the best DRY approach? I cannot use directly the SubModuleViews, since a Wizard page is derived from... WizardPage Smile, but I won't lose the MVC facilities.

Actually, the best solution I see is to extend WizardPage and reimplement INavigationNodeView. Am I in search of troubles? Smile Is there some simplier solution I cannot see?

Thanks

Bye
(no subject) [message #674346 is a reply to message #674102] Thu, 26 May 2011 15:09 Go to previous message
Christian Campo is currently offline Christian CampoFriend
Messages: 597
Registered: July 2009
Senior Member
Am 25.05.11 22:37, schrieb Pietro:
> I'm learning Riena and Eclipse RCP in a simple application I'm writing.
> It's a typical data-oriented business client, with several CRUD views
> and a wizard to do typical tasks.
> Some wizard page reuse same views from the CRUD: what could be the best
> DRY approach? I cannot use directly the SubModuleViews, since a Wizard
> page is derived from... WizardPage :), but I won't lose the MVC facilities.
>
> Actually, the best solution I see is to extend WizardPage and
> reimplement INavigationNodeView. Am I in search of troubles? :) Is there
> some simplier solution I cannot see?
>
> Thanks
>
> Bye
hi Pietro,

not sure I understand everything you said. As far as I know the Wizards have a pretty
strict structure and are meant be run as dialogs. Do want to run them as dialogs, but still
like to separate View and Controller ? (MVC) using ridgets ?

I admit that we never thought about that.....Maybe you can layout what the program flow will be.

Do you have a client with some nodes in the navigation and then you start a series of dialogs from the wizard or what is
your plan ?

Then we understand how we can maybe help you.

christian
Previous Topic:Riena -> App checklist.
Next Topic:How to handle System Properties?
Goto Forum:
  


Current Time: Wed Apr 24 20:09:01 GMT 2024

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

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

Back to the top