|
|
Re: Is it really possible to use draw2d without GEF? [message #216287 is a reply to message #216247] |
Tue, 16 May 2006 21:28 |
Paul E. Keyser Messages: 878 Registered: July 2009 |
Senior Member |
|
|
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.02749 seconds