Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Eclipse View & CTabFolder w/1 Item
Eclipse View & CTabFolder w/1 Item [message #116435] Mon, 25 August 2003 17:07 Go to next message
Eclipse UserFriend
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 #116653 is a reply to message #116435] Tue, 26 August 2003 13:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: veronika_irvine.oti.com

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.
>
>
>
>
>
Re: Eclipse View & CTabFolder w/1 Item [message #116677 is a reply to message #116435] Tue, 26 August 2003 13:59 Go to previous messageGo to next message
Eclipse UserFriend
Look at the source for the Package Explorer????

"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.
>
>
>
>
>
Re: Eclipse View & CTabFolder w/1 Item [message #117583 is a reply to message #116653] Wed, 27 August 2003 15:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ians.rgbcoolege.com

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&gtk 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.
Re: Eclipse View & CTabFolder w/1 Item [message #118727 is a reply to message #117583] Thu, 28 August 2003 09:58 Go to previous message
Eclipse UserFriend
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&gtk
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.
>
>
Previous Topic:Skipping builder...
Next Topic:Plug-in can't connect to server
Goto Forum:
  


Current Time: Wed May 28 19:34:55 EDT 2025

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

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

Back to the top