Skip to main content



      Home
Home » Eclipse Projects » GEF » Diagram in GEF editor
Diagram in GEF editor [message #169641] Fri, 25 February 2005 02:38 Go to next message
Eclipse UserFriend
Hello,

I want to represent my model using GEF.

As of now i am using rectangle shape with text inside to represent my
model element.

I want to implement an Image instead of Rectangle and in center of the
image , i want to put the text. Is it possible in GEF?

Can any one put lights on it?

anand
Re: Diagram in GEF editor [message #169837 is a reply to message #169641] Sun, 27 February 2005 17:12 Go to previous message
Eclipse UserFriend
Create a custom label (by overriding the paintFigure() method) which paints
the image in the background.

"Anand" <kuttyanand@yahoo.com> wrote in message
news:cvmkkt$du9$1@www.eclipse.org...
> Hello,
>
> I want to represent my model using GEF.
>
> As of now i am using rectangle shape with text inside to represent my
> model element.
>
> I want to implement an Image instead of Rectangle and in center of the
> image , i want to put the text. Is it possible in GEF?
>
> Can any one put lights on it?
>
> anand
>
>
Previous Topic:Printing Draw2d IFigure
Next Topic:Palette View Problem in a MultiPageEdit
Goto Forum:
  


Current Time: Fri Jun 06 21:34:53 EDT 2025

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

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

Back to the top