|
From: Peter De B. <pet...@gm...> - 2008-07-08 13:11:38
|
On Tue, Jul 8, 2008 at 3:04 PM, Rogan Dawes <ro...@da...> wrote: > Peter De Bruycker wrote: > > 2nd attempt: > > > > Can we reach a consensus here? > > I think we need to go as fast as possible, to keep the momentum going... > > > > 1. code organization: > > > > * core > > * application: window, dialogs, page, view, action, ... > > * binding: validation, binding, forms > > * resources > > > > This looks like a reasonable split to me. > > > I already started on work on the application infrastructure code > > (window, page, pagecomponent, view, editor) that will allow for much > > simpler (and less) xml, multiple view instances at the same time > > (formerly known as editors) > > Is there some way of instructing the different views on which object to > present? e.g. in Eclipse, you can have multiple instances of a Java code > editor, each editing a different .java source file. How do you specify > which file to edit? > to open a view, you do ApplicationPage.showView(String id). I created a new method ApplicationPage.showView(String id, Object input) the ApplicationPage checks if a view with the given id and input is already open. if not, it opens a new one, otherwise it shows the existing one the input is passed on to the View, so it can render itself using this object (the object can be anything, a file, a customer object, ...) > > Regards, > > Rogan > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Springframework-rcp-dev mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev > |