-
While I was digging on http://www.eclipse.org/swt/snippets/#gc and seeing your code snippet there ;) and after having thought about it for another minute, I guess my idea cannot work, because SWT uses native widgets instead of painting them itself. Which is the whole point of SWT of course :). So copying the bitmap is probably the only way to go if you don't want to use a screenshot utility or...
2009-11-02 20:01:01 UTC in Janus - Java'n'UML Simultanously
-
Sorry for the late reply, I had to hack other projects. Plus I preferred to get at least a _bit_ social on the weekend :).
Good to know it works on 3.5.1, thanks!
If you use copyArea, however, of course all you get is a bitmap. I was hoping for something like "tell some SWT paint method to use some sort of Graphics2D adapter and paint the editor contents" to get at least some...
2009-11-02 19:41:46 UTC in Janus - Java'n'UML Simultanously
-
Hi Thomas, good question. Thinking about it for a minute, my first answer is "probably not". I'd guess the tree views use SWT (or JFace, for that matter) tree widgets. The Image Export Plugin, however, uses org.eclipse.draw2d.Graphics objects to redirect the (Draw2D) standard IFigure painting. However, I haven't really hacked a TreeView-like editor, yet, so I'll dive into the GEF...
2009-10-30 14:09:02 UTC in Janus - Java'n'UML Simultanously
-
Ok, I used your patch as an inspiration to improve the overall design. So you won't find your patch in the code but there is experimental support for multi page editors in 0.11.0. Let me know if it works for you. Thanks again for pointing out MultiPageEditorPart.findEditors() to me and sending working code, Thomas.
2009-03-25 10:35:22 UTC in Janus - Java'n'UML Simultanously
-
Finally. Implemented in 0.11.0. Out today, a few minutes ago. Sorry for taking so long.
2009-03-24 18:17:40 UTC in Janus - Java'n'UML Simultanously
-
thomas-m added the org.apache.xmlgraphicscommons_1.3.1.jar file.
2009-03-24 18:11:34 UTC in Janus - Java'n'UML Simultanously
-
thomas-m added the de.unikassel.imageexport.eps_0.11.0.jar file.
2009-03-24 18:11:33 UTC in Janus - Java'n'UML Simultanously
-
thomas-m added the de.unikassel.imageexport.pdf_0.11.0.jar file.
2009-03-24 18:11:33 UTC in Janus - Java'n'UML Simultanously
-
thomas-m added the de.unikassel.imageexport.svg_0.11.0.jar file.
2009-03-24 18:11:33 UTC in Janus - Java'n'UML Simultanously
-
thomas-m created the 0.11.0 file release.
2009-03-24 18:11:08 UTC in Janus - Java'n'UML Simultanously