Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Create composite figure
Create composite figure [message #159356] Thu, 25 November 2004 06:00 Go to next message
Eclipse UserFriend
Originally posted by: jsk_lam.hotmail.com

Hi,

I need to create a composite figure which composes of an icon image with the
label text underneath. I already have the icon figure editpart done, and
just
need to add the label text to it. Can someone please provide me with some
help on creating this composite figure?

Thanks
slam.
Re: Create composite figure [message #159439 is a reply to message #159356] Sat, 27 November 2004 19:25 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Create a figure with a vertical toolbar layout (center- aligned, probably).
Add an ImageFigure and a Label to it.

"slam" <jsk_lam@hotmail.com> wrote in message
news:co3sec$qh9$1@www.eclipse.org...
> Hi,
>
> I need to create a composite figure which composes of an icon image with
the
> label text underneath. I already have the icon figure editpart done, and
> just
> need to add the label text to it. Can someone please provide me with some
> help on creating this composite figure?
>
> Thanks
> slam.
>
>
Re: Create composite figure [message #159493 is a reply to message #159439] Sun, 28 November 2004 16:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jsk_lam.hotmail.com

Hi Pratik,

Could you provide me with some code snippet on how to create the figure
with vertical toolbar layout as you have recommended? Thanks.

slam

"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:coakac$f9c$1@www.eclipse.org...
> Create a figure with a vertical toolbar layout (center- aligned,
probably).
> Add an ImageFigure and a Label to it.
>
> "slam" <jsk_lam@hotmail.com> wrote in message
> news:co3sec$qh9$1@www.eclipse.org...
> > Hi,
> >
> > I need to create a composite figure which composes of an icon image with
> the
> > label text underneath. I already have the icon figure editpart done,
and
> > just
> > need to add the label text to it. Can someone please provide me with
some
> > help on creating this composite figure?
> >
> > Thanks
> > slam.
> >
> >
>
>
Re: Create composite figure [message #159611 is a reply to message #159356] Mon, 29 November 2004 17:48 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

A single label figure can display both. The text location can be set as
well.

"slam" <jsk_lam@hotmail.com> wrote in message
news:co3sec$qh9$1@www.eclipse.org...
> Hi,
>
> I need to create a composite figure which composes of an icon image with
the
> label text underneath. I already have the icon figure editpart done, and
> just
> need to add the label text to it. Can someone please provide me with some
> help on creating this composite figure?
>
> Thanks
> slam.
>
>
Previous Topic:GEF/RCP Examples
Next Topic:How to remove the history- and team related menuitems in the context menu?
Goto Forum:
  


Current Time: Sat Apr 20 05:41:58 GMT 2024

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

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

Back to the top