Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to set the style of an CTabItem.
How to set the style of an CTabItem. [message #151279] Thu, 16 September 2004 22:40 Go to next message
Oliver Rohe is currently offline Oliver RoheFriend
Messages: 7
Registered: July 2009
Junior Member
Hi everybody,

I have an editor derived from MultiPageEditorPart.
Unfortunately I can't override the createItem() method
to create a closable CTabItem, nor can I set the
style of a CTabItem to SWT.CLOSE.

Is there any good reason why the createItem() method is private?

However, I dealt with it by disposing the non closable
CTabItem and then creating a new one, but that can't
be the answer.

Any idea?

Thank's in advance.
Oli
:)
Re: How to set the style of an CTabItem. [message #151485 is a reply to message #151279] Mon, 20 September 2004 19:22 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
This is not GEF-related. Try the eclipse.platform newsgroup.

"Oli" <prinzadam@yahoo.de> wrote in message news:cid4ik$s13$1@eclipse.org...
> Hi everybody,
>
> I have an editor derived from MultiPageEditorPart.
> Unfortunately I can't override the createItem() method
> to create a closable CTabItem, nor can I set the
> style of a CTabItem to SWT.CLOSE.
>
> Is there any good reason why the createItem() method is private?
>
> However, I dealt with it by disposing the non closable
> CTabItem and then creating a new one, but that can't
> be the answer.
>
> Any idea?
>
> Thank's in advance.
> Oli
> :)
>
>
Re: How to set the style of an CTabItem. [message #151541 is a reply to message #151485] Tue, 21 September 2004 08:31 Go to previous message
Oliver Rohe is currently offline Oliver RoheFriend
Messages: 7
Registered: July 2009
Junior Member
sorry, you are right, that's why nobody answered...:)

Thank's anyway
Oli

Pratik Shah wrote:

> This is not GEF-related. Try the eclipse.platform newsgroup.
>
> "Oli" <prinzadam@yahoo.de> wrote in message
> news:cid4ik$s13$1@eclipse.org...
>> Hi everybody,
>>
>> I have an editor derived from MultiPageEditorPart.
>> Unfortunately I can't override the createItem() method
>> to create a closable CTabItem, nor can I set the
>> style of a CTabItem to SWT.CLOSE.
>>
>> Is there any good reason why the createItem() method is private?
>>
>> However, I dealt with it by disposing the non closable
>> CTabItem and then creating a new one, but that can't
>> be the answer.
>>
>> Any idea?
>>
>> Thank's in advance.
>> Oli
>> :)
>>
>>
Previous Topic:Is Model View Controller concept can apply for Layers with Pane?
Next Topic:How to run GEF examples
Goto Forum:
  


Current Time: Sat Jan 18 08:37:37 GMT 2025

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

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

Back to the top