Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Customizing View Title Area
Customizing View Title Area [message #544304] Fri, 02 July 2010 05:50 Go to next message
Eclipse UserFriend
Hello,

I'd like to customize the View Title Area. To explain I'll use the screen:

http://www.vogella.de/articles/EclipseRCP/images/addview200. gif


There is a text "MyView". It's placed on the blue background with "X" button. To the right of it there is a grey area, and on the very right of this area there are two buttons: minimize and maximize.


What I'm trying to do is to:

1. remove "X" button
2. remove minimize and maximize buttons
3. extend the blue area to the end of the horizontal space so it ends where maximize button is placed now


Does anyone has knowledge on to how to do that?

[Updated on: Fri, 02 July 2010 06:22] by Moderator

Re: Customizing View Title Area [message #545760 is a reply to message #544304] Thu, 08 July 2010 20:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

In the Perspective class you can add a standalone view without any view title
and controls. Just add your own composite to mimic the header tab and you are
done.

Regards,

Wim


> Hello,
>
> I'd like to customize the View Title Area. To explain I'll use the screen:
>
> http://www.vogella.de/articles/EclipseRCP/images/addview200. gif
>
>
> There is a text "MyView". It's placed on the blue background with "X"
button. To the right of it there is a white area, and on the very right of
this area there are two buttons: minimize and maximize.
>
>
> What I'm trying to do is to:
>
> 1. remove "X" button
> 2. remove minimize and maximize buttons
> 3. extend the blue area to the end of the horizontal space so it ends where
maximize button is placed now
>
>
> Does anyone has knowledge on to how to do that?
Re: Customizing View Title Area [message #545853 is a reply to message #545760] Fri, 09 July 2010 08:25 Go to previous messageGo to next message
Eclipse UserFriend
Quote:

Just add your own composite to mimic the header tab and you are
done.



What do you think with mimic?

I want for example change the color type of the view tab,
default is the color light blue, but i want for example green,
is this possible??
Re: Customizing View Title Area [message #547698 is a reply to message #545760] Mon, 19 July 2010 07:42 Go to previous messageGo to next message
Eclipse UserFriend
Wim Jongman wrote on Thu, 08 July 2010 20:10
Hi,

In the Perspective class you can add a standalone view without any view title
and controls. Just add your own composite to mimic the header tab and you are
done.

Regards,

Wim



But I want to have a title Smile

I just want to remove the minimize and maximize buttons and extend the blue area to the full horizontal size of a whole view.
Re: Re: Customizing View Title Area [message #551031 is a reply to message #547698] Wed, 04 August 2010 18:10 Go to previous message
Eclipse UserFriend
Hi,

With mimic I mean, make a fake view. Yes, you can make it green and also add
a title.

Just add a standalone view to the perspective and you see what I mean. Then
on the control, just make your own title with a green background and the
title.

--

Best Regards,
Wim Jongman


> Wim Jongman wrote on Thu, 08 July 2010 20:10
>> Hi,
>>
>> In the Perspective class you can add a standalone view without any view
title
>> and controls. Just add your own composite to mimic the header tab and you
are
>> done.
>>
>> Regards,
>>
>> Wim
>
>
>
> But I want to have a title :)
>
> I just want to remove the minimize and maximize buttons and extend the blue
area to the full horizontal size of a whole view.
Previous Topic:Cut / Copy / Paste - Disable / Enable handlers
Next Topic:RCP app and used memory
Goto Forum:
  


Current Time: Wed Jul 23 09:26:32 EDT 2025

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

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

Back to the top