|
Re: draw2d & property sheet [message #61260 is a reply to message #61186] |
Mon, 03 February 2003 05:35 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Are you using just Draw2d of GEF?
A GEF EditPartViewer is an ISelectionPRovider, and can be hooked into the
workbench's selection service, which feeds the PropertySheet. The unit of
selection is an EditPart, so either the EditPart is the IPropertySource, or
it is IAdaptable and returns an instance of an IPRopertySource.
"stefan" <sg@media-style.com> wrote in message
news:b1joba$klr$1@rogue.oti.com...
> Hi!
>
> I want to use the property sheet view to let the user customize the colour
> of a clicked figure.
> When i use a treeview i only need to implement the Ipropertysource
> interface, but how to do that with a canvas?
>
> Thanks
> Stefan
>
>
|
|
|
|
|
|
Re: draw2d & property sheet [message #61667 is a reply to message #61644] |
Mon, 03 February 2003 21:31 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
The problem is that nothing in draw2d maintians a set of selected items.
Nothing implements ISelectionProvider. You would be implementing the
equivalent of Swing's JList or some other widget like that.
"stefan" <sg@media-style.com> wrote in message
news:b1mgp7$c08$1@rogue.oti.com...
> > Draw2d has no built-in support for selection or accessibility. It's
your
> > choice.
>
> If it is possible i would stay only by draw2d. But i dont know how to
> implement the stuff manually.
> Can you give me only some keywords.
>
> If you must give me more then 10 keyword i will switch to gef. ;:-)
>
> Thanks!
> Stefan
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02113 seconds