Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » A multiline label with a scroll bar
A multiline label with a scroll bar [message #148781] Fri, 27 August 2004 07:57 Go to next message
Eclipse UserFriend
Originally posted by: sergeyv.offshorecreations.com

Hello

How to create a multiline label with a scroll bar?

Thanks
Vyunnikov Sergey
Re: A multiline label with a scroll bar [message #148791 is a reply to message #148781] Fri, 27 August 2004 15:23 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Look at org.eclipse.draw2d.widgets.MultiLineLabel.

"Sergey Vyunnikov" <sergeyv@offshorecreations.com> wrote in message
news:cgmpc6$nji$1@eclipse.org...
> Hello
>
> How to create a multiline label with a scroll bar?
>
> Thanks
> Vyunnikov Sergey
>
>
Re: A multiline label with a scroll bar [message #148798 is a reply to message #148791] Fri, 27 August 2004 15:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sergeyv.offshorecreations.com

I need IFigure not Widget.

"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:cgnjfe$6mp$1@eclipse.org...
> Look at org.eclipse.draw2d.widgets.MultiLineLabel.
>
> "Sergey Vyunnikov" <sergeyv@offshorecreations.com> wrote in message
> news:cgmpc6$nji$1@eclipse.org...
> > Hello
> >
> > How to create a multiline label with a scroll bar?
> >
> > Thanks
> > Vyunnikov Sergey
> >
> >
>
>
Re: A multiline label with a scroll bar [message #148814 is a reply to message #148798] Fri, 27 August 2004 17:37 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
MultiLineLabel is a widget that hosts a LightweightSystem. Since you
already have a LWS, you just need the "contents" of the LWS in
MultiLineLabel. However, I believe it uses native scrollbars (gotten from
FigureCanvas). You'll have to replace that with a Draw2D scroll pane. So,
in short, create a scroll pane, and set the view to be the same as the
contents of the MultiLineLabel.

"Sergey Vyunnikov" <sergeyv@offshorecreations.com> wrote in message
news:cgnjsi$7f7$1@eclipse.org...
> I need IFigure not Widget.
>
> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:cgnjfe$6mp$1@eclipse.org...
> > Look at org.eclipse.draw2d.widgets.MultiLineLabel.
> >
> > "Sergey Vyunnikov" <sergeyv@offshorecreations.com> wrote in message
> > news:cgmpc6$nji$1@eclipse.org...
> > > Hello
> > >
> > > How to create a multiline label with a scroll bar?
> > >
> > > Thanks
> > > Vyunnikov Sergey
> > >
> > >
> >
> >
>
>
Previous Topic:How to add PropertySheet?
Next Topic:Accessing source for Logic and Flow examples
Goto Forum:
  


Current Time: Sat Apr 20 03:08:23 GMT 2024

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

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

Back to the top