Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Customize Properties View
Customize Properties View [message #381790] Thu, 23 September 2004 13:09 Go to next message
Eclipse UserFriend
Originally posted by: timothy.janusz.siemens.com

I created a simple properties view (similar to the one mentioned in Dicky's
article) but one question I have is can I customize the default toolbar for
the properties view?

For example, I have no idea how to program against the "show categories" or
the "Show Advanced Categories" buttons/menu items. Since I couldn't find an
API for them I'd like to somehow hide them in my view.

Is this possible? Or am I just missing something with these items?

Thanks in advance.
Re: Customize Properties View [message #382463 is a reply to message #381790] Mon, 27 September 2004 17:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: timothy.janusz.siemens.com

To answer part of my own question, I now know how to control the "show
advanced categories" now via filter flags..

PropertyDescriptor aPDesc = new PropertyDescriptor( PROPERTY_ID,
Messages.getString( "allergyId" ) );
// Filter flags are how to control what's considered "extended"
properties or not
String aStringArray [] = new String[] {
IPropertySheetEntry.FILTER_ID_EXPERT };
aPDesc.setFilterFlags(aStringArray);
descriptors.add( aPDesc );



"TJanusz" <timothy.janusz@siemens.com> wrote in message
news:ciuhlf$v5j$1@eclipse.org...
> I created a simple properties view (similar to the one mentioned in
Dicky's
> article) but one question I have is can I customize the default toolbar
for
> the properties view?
>
> For example, I have no idea how to program against the "show categories"
or
> the "Show Advanced Categories" buttons/menu items. Since I couldn't find
an
> API for them I'd like to somehow hide them in my view.
>
> Is this possible? Or am I just missing something with these items?
>
> Thanks in advance.
>
>
Re: Customize Properties View [message #714373 is a reply to message #381790] Wed, 10 August 2011 12:50 Go to previous messageGo to next message
Phaedrus The Greek is currently offline Phaedrus The GreekFriend
Messages: 17
Registered: August 2011
Junior Member
To set the category, simply do:

TextPropertyDescriptor pd = new TextPropertyDescriptor(id, name);	
pd.setCategory(arbitraryString); 
(no subject) [message #714374 is a reply to message #381790] Wed, 10 August 2011 12:50 Go to previous message
Jay is currently offline JayFriend
Messages: 14
Registered: July 2009
Junior Member
To set the category, simply do:

TextPropertyDescriptor pd = new TextPropertyDescriptor(id, name);
pd.setCategory(arbitraryString);
Previous Topic:Purpose of Core Runtime Products Extension
Next Topic:Change Update-Site of eclipse 3.5-based RCP application
Goto Forum:
  


Current Time: Thu Apr 25 07:20:40 GMT 2024

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

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

Back to the top