Customize Properties View [message #381790] |
Thu, 23 September 2004 13:09 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01667 seconds