I have made a first attempt to implement MDialog [1]. It is hooked to the "Open" command.
I Defined a MDialog with visible=false, toberendered=false and a Part as control (called DialogPart). The part implements the JFace Dialog class and I have made a small impl in the createDialogArea The @postconstruct is hooked to the open() method Then in the openhandler I lookup the MDialog from the model and flip toberendered off and on top open the dialog. Please clone the repo and take a look to get some inspiration on how this can be improved [1] https://github.com/E4Examples/mdialog01 Cheers, Wim On Mon, Jan 20, 2014 at 9:38 PM, Tom Schindl <[email protected]>wrote: > This is all stuff - we the first adopters - have to figure out. IMHO those > are similar to handled/direct toolbar/menuitems > > Tom > > Von meinem iPhone gesendet > > Am 20.01.2014 um 20:36 schrieb Lars Vogel <[email protected]>: > > Not sure about the buttons on the the dialogs, for example popup dialogs > would have no buttons, a message dialog one, a confirm two, etc. > > So I think without additional configuration the renderer cannot decide > that. > > Best regards, Lars > Am 20.01.2014 19:16 schrieb "Tom Schindl" <[email protected]>: > >> Yes - on dialogs i'd expect buttons and on wizards previous/next. >> >> Von meinem iPhone gesendet >> >> Am 20.01.2014 um 19:13 schrieb Wim Jongman <[email protected]>: >> >> They currently render like MWindow. Are they supposed to do something >> else? >> >> Met vriendelijke groet, >> >> Wim >> >> On 20 jan. 2014, at 17:56, Tom Schindl <[email protected]> >> wrote: >> >> Did anyone implement the renderers for them? I'm going to work on them in >> the days to come for swt & efxclipse. If someone wants to do the swt ones i >> happy if it is not on me to push this. >> >> Tom >> >> Von meinem iPhone gesendet >> >> Am 20.01.2014 um 16:28 schrieb Lars Vogel <[email protected]>: >> >> Hi Marc, >> >> a CI Build of the e4 tools can be found here: >> http://download.vogella.com/luna/e4tools (p2 update site, stable link) >> or if you prefer you can use the official p2 update site which can be found >> on this webpage (NOT a p2 update site as the link sometimes changes): >> http://download.eclipse.org/e4/downloads/ >> >> Best regards, Lars >> >> >> 2014/1/20 Marc Teufel <[email protected]> >> >>> Okay, i am ready to " adopt " MDialog in my app now - just for a first >>> user test. Where to start? >>> >>> Where do I find the e4 tools and the sdk, can you just copy my the >>> p2-urls ? would be fine. >>> >>> Feedback as answer into this topic on the newsgroup or into a specific >>> bug? if bug - which one? >>> >>> Thx >>> Marc >>> >>> >>> 2014/1/16 Wim Jongman <[email protected]> >>> >>>> >>>> >>>> http://git.eclipse.org/c/e4/org.eclipse.e4.tools.git/commit/?id=b8eba9608116e481b8fc9156d8ed64f6616282d1 >>>> >>>> >>>> On Thu, Jan 16, 2014 at 7:35 PM, Tom Schindl < >>>> [email protected]> wrote: >>>> >>>>> Push it to master - I'm working on an impl so I hope we can keep those >>>>> elements. >>>>> >>>>> Tom >>>>> >>>>> On 16.01.14 17:53, Wim Jongman wrote: >>>>> > Here is the model change bug >>>>> > >>>>> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=425879 >>>>> > >>>>> > >>>>> > On Thu, Jan 16, 2014 at 5:25 PM, Wim Jongman <[email protected] >>>>> > <mailto:[email protected]>> wrote: >>>>> > >>>>> > I have added the MDialog and MWizardDialog in the model editor. >>>>> This >>>>> > allows folks to play with the new elements. I initially >>>>> visualized >>>>> > the MDialog to be an MContribution so that a pojo could be >>>>> directly >>>>> > added to the MDialog. >>>>> > >>>>> > Since these elements are candidates for removal, how should I go >>>>> > about the new code? Just push it to Gerrit and remove it when it >>>>> > turns out MDialog and MWD do not make it? >>>>> > >>>>> > Please advise >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > Inline image 1 >>>>> > >>>>> > >>>>> > On Thu, Jan 16, 2014 at 12:51 PM, Marc Teufel >>>>> > <[email protected] <mailto:[email protected]>> >>>>> wrote: >>>>> > >>>>> > +1 Wim >>>>> > >>>>> > Just some intro or a simple example on a wikipage (or >>>>> something >>>>> > like that) to get the ball rollin' would be perfect. >>>>> > >>>>> > Marc >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > 2014/1/16 Wim Jongman <[email protected] >>>>> > <mailto:[email protected]>> >>>>> > >>>>> > >>>>> > >>>>> > Unfortunately I was not able provide an >>>>> implementation >>>>> > in my JavaFX >>>>> > port, others are only screaming yes we need it and >>>>> but >>>>> > don't do anything >>>>> > to get this. >>>>> > >>>>> > >>>>> > If we want people to try this out there should be _some_ >>>>> > kind of instruction on how to get it going. AFAIK these >>>>> > model elements are not added to the model editor. So if >>>>> this >>>>> > is the case, how can we expect feedback? >>>>> > >>>>> > Cheers, >>>>> > >>>>> > Wim >>>>> > >>>>> > >>>>> > >>>>> > _______________________________________________ >>>>> > e4-dev mailing list >>>>> > [email protected] <mailto:[email protected]> >>>>> > https://dev.eclipse.org/mailman/listinfo/e4-dev >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > -- >>>>> > Mail: [email protected] <mailto:[email protected]> >>>>> > Web: http://www.teufel.net >>>>> > >>>>> > _______________________________________________ >>>>> > e4-dev mailing list >>>>> > [email protected] <mailto:[email protected]> >>>>> > https://dev.eclipse.org/mailman/listinfo/e4-dev >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > _______________________________________________ >>>>> > e4-dev mailing list >>>>> > [email protected] >>>>> > https://dev.eclipse.org/mailman/listinfo/e4-dev >>>>> > >>>>> >>>>> _______________________________________________ >>>>> e4-dev mailing list >>>>> [email protected] >>>>> https://dev.eclipse.org/mailman/listinfo/e4-dev >>>>> >>>> >>>> >>>> _______________________________________________ >>>> e4-dev mailing list >>>> [email protected] >>>> https://dev.eclipse.org/mailman/listinfo/e4-dev >>>> >>>> >>> >>> >>> -- >>> Mail: [email protected] >>> Web: http://www.teufel.net >>> >>> _______________________________________________ >>> e4-dev mailing list >>> [email protected] >>> https://dev.eclipse.org/mailman/listinfo/e4-dev >>> >>> >> _______________________________________________ >> e4-dev mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/e4-dev >> >> _______________________________________________ >> e4-dev mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/e4-dev >> >> _______________________________________________ >> e4-dev mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/e4-dev >> >> >> _______________________________________________ >> e4-dev mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/e4-dev >> >> _______________________________________________ > e4-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/e4-dev > > > _______________________________________________ > e4-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/e4-dev > >
_______________________________________________ e4-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/e4-dev
