StimVinsh / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

Create SWT PhotoControl to upload image for the Eclipse RAP/RCP #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Develop an SWT widgets PhotoControl to upload an image photo and display it.
This control was started to develop at 
http://code.google.com/p/xdocreport/source/browse/commons/fr.opensagres.eclipse.
forms/src/fr/opensagres/eclipse/forms/widgets/PhotoControl.java?repo=eclipse

and was integrated in the sample 
http://code.google.com/p/xdocreport/source/browse/commons/fr.opensagres.eclipse.
forms.samples/src/fr/opensagres/eclipse/forms/samples/editor/OverviewPage.java?r
epo=eclipse and the resume demo 
http://code.google.com/p/xdocreport/source/browse/commons/fr.opensagres.xdocrepo
rt.eclipse.demo.resume/src/fr/opensagres/xdocreport/eclipse/demo/resume/internal
/ui/editors/OverviewPage.java?repo=eclipse

This control can display an image, upload an image but there is problem with 
size of the image. Image size should be fixed and image must be resized with 
SWT canvas (see 
http://www.eclipse.org/articles/Article-SWT-images/graphics-resources.html)?

Modify button is ugly, perhaps it should changed?

Original issue reported on code.google.com by angelo.z...@gmail.com on 21 Oct 2011 at 12:51

GoogleCodeExporter commented 8 years ago

Original comment by angelo.z...@gmail.com on 21 Jan 2012 at 9:38