|
Re: Problem setting Category in propertysheets [message #169677 is a reply to message #169478] |
Fri, 12 December 2003 15:05 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
How did you try to tell the property sheet there where nested categories?
The reason I ask is because there is nothing in the API that let's you
define category structure. The API doesn't even let you define specific
categories. Categories are discovered and not declared. They are
discovered by asking the property descriptor for its category name.
That's it, there is nothing else available for categories.
--
Thanks, Rich Kulp
|
|
|
|
Re: Problem setting Category in propertysheets [message #169876 is a reply to message #169838] |
Fri, 12 December 2003 20:23 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
There is no way to nest categories. All you can do is say what category
a property descriptor is in. If you notice there is nothing anywhere
which you can use to say a category is nested. That is because you don't
define the categories. They are discovered simply as strings from the
property descriptor. It simply gathers all of the strings together from
all of the root property descriptors in a set (i.e. ignore duplicates).
Then it creates a category for each root entry.
Why do you think that just doing setCategory("Category 1.1") would cause
a category to be nested? It is simply a string.
Or are you thinking of nested properties (where a property is a
subproperty of another, and you want the categorization to occur for the
nested properties)? If this is the case you aren't asking for nested
categories, you are asking for categories within the nested properties.
Which is different than nested categories. In that case the
PropertySheetViewer will not do categorization of nested properties. It
just doesn't.
--
Thanks, Rich Kulp
|
|
|
|
Powered by
FUDForum. Page generated in 0.04777 seconds