Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[nebula-dev] The future of PGroup

Hey all,
        
Thanks for your various contributions to Nebula, it seems like a neat
effort.

We work on an RCP application for Geographic data 
  ( http://udig.refractions.net )
and as part of that effort I'm looking for a widget quite similar to a
PGroup but with a more flexible state when it is collapsed. I would like
a widget that looks like:

  [x] [o] [.] Mississippi (>>)

when collapsed, that is three (or more) buttons, a text label and the
expand chevron. The buttons are needed so users can tweak the state of
their data directly even when the group is collapsed. The expansion of
the group will provide information or other details which are not used
as often.

1) Is there any interest by the PGroup developers in expanding the code
to allow users to add a Control, e.g. a composite, to the collapsed
state? 
        I imagine this could be handled by having a 
          setControl(Control c)
        method much like the setText(..) and setImage(..). This might be
        a little complicated in that the Control which is added might
        need to take away the space of the text label and image icon.

Alternatively, I may want to chop up the PGroup icon to make my own
(although this would require learning yet more details of eclipse for
which I have little time). If I take this route...

2) Is PGroup constructed merely on top of existing SWT code and
therefore without any native code at all? 
        I downloaded the source and don't see any native code so I
        presume this must be true.

3) what does setLinePosition(..) do?


Any comments are welcome. Thanks,

--Adrian Custer
        



Back to the top