Is it really possible to use draw2d without GEF? [message #216122] |
Mon, 15 May 2006 14:30  |
Eclipse User |
|
|
|
R3.1.1
I've installed GEF (the correct version for my Eclipse-version), and the Help -> Contents sort of
says that draw2d is indep. of GEF, by giving docco on draw2d that preceeds GEF, and which does not
mention GEF. But there is only one article about draw2d-without-GEF (useful as far as it goes, but
it doesn't go very far), and all the examples are full-bore GEF ... and most of the newsgroup
questions that start about being about draw2d get answered with a GEF-based solution ...
thanks,
Paul
|
|
|
|
Re: Is it really possible to use draw2d without GEF? [message #216287 is a reply to message #216247] |
Tue, 16 May 2006 21:28  |
Eclipse User |
|
|
|
Hmm -- did that, thanks, and I can see the code, but I get this error in the MANFEST.MF file:
Invalid value for bundle-version attribute for org.eclipse.draw2d (there is no available bundle
compatible with this bundle-version range).
In MANIFEST.MF, I see:
Bundle-Version: 3.2.0.qualifier
Require-Bundle: org.eclipse.draw2d;bundle-version="[3.2.0,4.0.0)"
I'm guessing that I need to change that to:
Bundle-Version: 3.1.1.qualifier
Require-Bundle: org.eclipse.draw2d;bundle-version="[3.1.1,4.0.0)"
But the syntax is unclear to me -- are [ and ) range-indicators, closed and open intervals
respectively? --, and I'm not sure I've done the correct thing; anyway, then I get more ordinary
compiler errors:
The method setSourceOffset(int) is undefined for the type Edge GraphTests.java
org.eclipse.draw2d.examples/src/org/eclipse/draw2d/examples/ graph line 46
(and other places)
The method getPoints() is undefined for the type Edge AbstractGraphDemo.java
org.eclipse.draw2d.examples/src/org/eclipse/draw2d/examples/ graph line 103
Now, I guess this is because the examples are on HEAD, and target Eclipse/GEF 3.2.0 RCNNN; but I can
still read the code.
Thanks -- this looks like it could be quite helpful! Am I right in thinking that SWT is to JFace as
draw2d is to GEF? And will these examples some day be more readily available?
Paul
|
|
|
Powered by
FUDForum. Page generated in 0.09280 seconds