Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] UI question

I'm working a little on this bug to show discovered services in the properties view

https://bugs.eclipse.org/bugs/show_bug.cgi?id=218440

I would like to have the service properties appear on a tabbed properties view...e.g.



As you can see, I've got the tabs and and am showing some of the service info.

My problem is for the 'Properties' tab, I want to show a variable number of properties...i.e. *all* those given in the IServiceProperties. Each/every service can have an arbitrary number of properties, however, and I don't know how to create a 'Properties' tab section (i.e. a ISection) that has a variable number of widgets on it...as the createControl is called first, then setInput() (setInput is where the service info object is passed to the ISection class).

Anyway, does anyone have an idea of how to do this? (setup a variable number of widgets on an ISection based upon the input? I guess I could put things in a table...is that the best way to go?

Thanks,

Scott






Back to the top