Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Customizing View Title Area
Customizing View Title Area [message #544304] Fri, 02 July 2010 09:50 Go to next message
balcerman  is currently offline balcerman Friend
Messages: 17
Registered: March 2010
Junior Member
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 10:22]

Report message to a moderator

Re: Customizing View Title Area [message #545760 is a reply to message #544304] Fri, 09 July 2010 00:10 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
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 12:25 Go to previous messageGo to next message
budili Missing name is currently offline budili Missing nameFriend
Messages: 64
Registered: May 2010
Member
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 11:42 Go to previous messageGo to next message
balcerman  is currently offline balcerman Friend
Messages: 17
Registered: March 2010
Junior Member
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 22:10 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
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: Fri Mar 29 07:32:43 GMT 2024

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

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

Back to the top