How to set the style of an CTabItem. [message #151279] |
Thu, 16 September 2004 18:40  |
Eclipse User |
|
|
|
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 04:31  |
Eclipse User |
|
|
|
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
>> :)
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02710 seconds