Isuru Udana Messages: 128 Registered: February 2010
Senior Member
I want to place images in the editor by selecting from a palette which contains list of images. How can I do this? I can do this for standard shapes. But don't know how to do this for images.
just return a ImageShapeFigure in the createFigure() method of your (standard shape) EditPart.
You will have to pass an swt.Image object to the constructor which you can create with an InputStream...