Community
Participate
Working Groups
org.eclipse.draw2d.examples has a bunch of good example snippets, but they are not packaged and are not available as a download. We should look at creating something like the SWT Examples.
Anthony, I would tend to not "package" the examples, as they are indeed all snippets that can be easily executed as standalone applications. Instead, I would propose to move all the snippets from org.eclipse.draw2d.examples to a new Java project (which I would call org.eclipse.draw2d.snippets) in order to isolate them from the sandbox and bug demo code that is bundled in org.eclipse.draw2d.examples as well (the package hierarchies could also be adopted a bit, to better group snippets that are topic-related). I would then document all snippets (in the GEF wiki) in the same manner as it is done for the SWT snippets, i.e. by referencing the code via cvs web browser. This way, one could easily browse the snippets and copy/paste interesting ones directly into the local workspace to execute them (if they got packaged as part of the GEF SDK, this would be more complicated, I think). I would further propose to introduce a sandbox folder to the GEF cvs, and to move the (remaining) org.eclipse.draw2d.examples project to it. The eDiagram and digraph examples (which are no officially maintained reference examples) could also be moved there.
CaretExample, TestBorder, and TextSurroundingFigureExample, which are bundled by the draw2d examples, are still provided under the terms of the CPL and should probably be updated to EPL. According to ohloh statistics, these are the only source files that still provide a license different to the EPL.