Community
Participate
Working Groups
As the GEF project is no longer constituted by Draw2d and GEF alone, but augmented by Zest (which as well depends on Draw2d), I think it would make sense to provide a separate reference documentation for all three components instead of just having the integrated Draw2d and GEF plug-in developer guide (as part of the Eclipse Help). Further, as the existing Draw2d and GEF plug-in developer guide is a quite "sparse" reference documentation that does only cover some facets of Draw2d/GEF (most of the framework seems to be documented by means of articles or EclipseCon tutorials), an augmentation of the existing documentation seems to be reasonable (e.g. the Draw2d examples that could be quite helpful for beginners could be prepared and documented, as already proposed in bug #213041). As the wiki already provides some additional information in form of the Régis Lemaigre's GEF tutorial, which was provided by bug #73636, and as it would - at least as I see it - make maintenance of such a reference documentation much easier compared to "classical" HTML, I would propose to build up a new reference documentation in the GEF wiki, based on the Draw2d and GEF plug-in developer guide, the mentioned GEF tutorial, as well as the - up to now - quite sparse Zest documentation that spread through the GEF wiki as well. As Fabian already did it for his Dot4Zest component, the Eclipse Help pages could in turn be generated from the wiki pages: http://fsteeg.com/2010/03/14/generating-documentation-from-a-wiki-with-ant-and-mylyn-wikitext to keep the Eclipse Help documentation in sync (we would only have to clarify how to include the Javadocs).
*** Bug 329983 has been marked as a duplicate of this bug. ***
Hi, I just wanted to point out that either a) the GridLayout example doesn't work, b) the GridLayout doesn't work. :) I suspect the former, because for example when I try to change the number of columns nothing happens, and it seems that when I click on a figure it doesn't always load or set the values for that figure. It might be helpful to have an explicit "revalidate" button. Otherwise, I find the examples valuable, so thanks.
(In reply to comment #2) > Hi, > > I just wanted to point out that either a) the GridLayout example doesn't work, > b) the GridLayout doesn't work. :) I suspect the former, because for example > when I try to change the number of columns nothing happens, and it seems that > when I click on a figure it doesn't always load or set the values for that > figure. It might be helpful to have an explicit "revalidate" button. > > Otherwise, I find the examples valuable, so thanks. Hmm, I can't reproduce this. If I change the columns I get direct feedback. What platform are you running the example on?
(In reply to comment #3) > Hmm, I can't reproduce this. If I change the columns I get direct feedback. > What platform are you running the example on? OS X. To be more clear, here is what I tried. 1. Launch example. 2. Add 2 children, making 4. 3. Enter '3' in "numColumns". 4. Leave numColumns focus. Nothing happens. Thinking that maybe the issue was that I had already added the items, I also tried doing a clear and then adding the items. I still have everything showing up in just two columns, e.g. 2x2.
(In reply to comment #4) > (In reply to comment #3) > > Hmm, I can't reproduce this. If I change the columns I get direct feedback. > > What platform are you running the example on? > > OS X. To be more clear, here is what I tried. > > 1. Launch example. > 2. Add 2 children, making 4. > 3. Enter '3' in "numColumns". > 4. Leave numColumns focus. > > Nothing happens. Thinking that maybe the issue was that I had already added the > items, I also tried doing a clear and then adding the items. I still have > everything showing up in just two columns, e.g. 2x2. Ah, I used CR to confirm step 3.). It works if you do so...
Created attachment 205069 [details] Patch for column issue. Looks like it was just a UI issue. Here's a patch -- don't worry about using it or not but default selection works only for the combo boxes and the widget was a Text.
(In reply to comment #6) > Created attachment 205069 [details] > Patch for column issue. > > Looks like it was just a UI issue. Here's a patch -- don't worry about using it > or not but default selection works only for the combo boxes and the widget was > a Text. And my solution breaks for CR. :) Perhaps an apply button would be good, I dunno.
(In reply to comment #7) > (In reply to comment #6) > > Created attachment 205069 [details] [details] > > Patch for column issue. > > > > Looks like it was just a UI issue. Here's a patch -- don't worry about using it > > or not but default selection works only for the combo boxes and the widget was > > a Text. > > And my solution breaks for CR. :) Perhaps an apply button would be good, I > dunno. I created bug #360733 to keep track of this.
As GEF4 is meant to provide the next generation API, I think building up a new documentation should target that component as well. I created bug #373894 to keep track of it and I close this as worksforme though.