Skip to main content

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

Shouldn't we just implement an adapter class to IPropertySource and
use the regular properties page? What is the reasoning behind using
the tabbed version?

Rem

On Thu, Feb 21, 2008 at 2:37 AM, Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
> 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
>
>
>
>
>  _______________________________________________
>  ecf-dev mailing list
>  ecf-dev@xxxxxxxxxxx
>  https://dev.eclipse.org/mailman/listinfo/ecf-dev
>


Back to the top