Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Image is not getting displayed on an edit part
Image is not getting displayed on an edit part [message #243846] Thu, 19 June 2008 22:49
Eclipse UserFriend
Originally posted by: clandestinesnehal.gmail.com

Hi All,
A newbie Draw2D question:

I am unable to show an image on the editpart.

Here is the code:
protected IFigure createFigure() {
IFigure f = super.createFigure ();
ImageFigure sign = returnImage();
if(sign!=null) f.add (sign);
return f;
}

The layout field f.getLayoutManager() gives null. Does image display
requires LayoutManager? [I am asking this because i am able to display
an image on an edit part whose figure do have a LayoutManager]


-Snehal
Previous Topic:Figure
Next Topic:composed figure
Goto Forum:
  


Current Time: Tue Mar 19 11:52:11 GMT 2024

Powered by FUDForum. Page generated in 0.03447 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top