Eclipse View & CTabFolder w/1 Item [message #116435] |
Mon, 25 August 2003 17:07  |
Eclipse User |
|
|
|
Originally posted by: ians.rgbcoolege.com
When using the Eclipse IDE and a view window has only 1 item it in, there is
no tab display.
I'm not very clear on the terminology to use, but:
Example: When a box/window of the eclipse IDE has "Package Explorer" and
nothing else, the box/window has no tab listing.
When I drag/drop another View onto it (like "Outline") the tabs show up (on
the bottom "Package Explorer|Outline")
Is this a CTabFolder? How can I have my CTabFolder NOT show the tabs when
there is only one CTabItem in it? I am trying to make a "window" with the
CTabFolder shadow outline, but no tab display.
|
|
|
|
|
|
Re: Eclipse View & CTabFolder w/1 Item [message #118727 is a reply to message #117583] |
Thu, 28 August 2003 09:58  |
Eclipse User |
|
|
|
Originally posted by: veronika_irvine.oti.com
> I'm still not sure how to make a composite with a shadow outline without
> placing that composite as child of a CTabItem within a CTabFolder.
You can use org.eclipse.swt.custom.ViewForm.
"L. Iansbrook" <ians@rgbcoolege.com> wrote in message
news:bij1hh$aa1$1@eclipse.org...
> I have used "setTabHeight(0)" which seems to make the tabs disappear, but
I'm
> sure this is wrong since the API docs say "Specifying a height of 0 will
> revert to the default height." which doesn't seem to be true. (win>k
2.1.1)
>
> I'm still not sure how to make a composite with a shadow outline without
> placing that composite as child of a CTabItem within a CTabFolder.
>
> I've tried scanning the source of
"plugins/org.eclipse.ui.workbench/Eclipse
> UI/org/eclipse/ui" but am not sure what I'm looking for..
>
> "Veronika Irvine" <veronika_irvine@oti.com> wrote in message
> news:big6cf$jtv$1@eclipse.org...
> > CTabFolder will always show a tab if it has one item or more.
> >
> > Eclipse does not have a CTabFolder when there is only one view. The
> > CTabFolder is not created until there is more than one view stacked.
> >
> > Note: Views in Eclipse are not children of the CTabFolder. They are
merely
> > positioned over the CTabFolder client area.
> >
> > "L. Iansbrook" <ians@rgbcoolege.com> wrote in message
> > news:bidtp4$jq9$1@eclipse.org...
> > > When using the Eclipse IDE and a view window has only 1 item it in,
there
> > is
> > > no tab display.
> > >
> > > I'm not very clear on the terminology to use, but:
> > >
> > > Example: When a box/window of the eclipse IDE has "Package Explorer"
and
> > > nothing else, the box/window has no tab listing.
> > >
> > > When I drag/drop another View onto it (like "Outline") the tabs show
up
> > (on
> > > the bottom "Package Explorer|Outline")
> > >
> > > Is this a CTabFolder? How can I have my CTabFolder NOT show the tabs
when
> > > there is only one CTabItem in it? I am trying to make a "window" with
the
> > > CTabFolder shadow outline, but no tab display.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02575 seconds