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
Original issue reported on code.google.com by
angelo.z...@gmail.com
on 21 Oct 2011 at 12:51