Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » draw2d & property sheet
draw2d & property sheet [message #61186] Sun, 02 February 2003 19:07 Go to next message
Stefan Groschupf is currently offline Stefan GroschupfFriend
Messages: 24
Registered: July 2009
Junior Member
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 #61260 is a reply to message #61186] Mon, 03 February 2003 05:35 Go to previous messageGo to next message
Eclipse UserFriend
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 #61481 is a reply to message #61260] Mon, 03 February 2003 17:25 Go to previous messageGo to next message
Stefan Groschupf is currently offline Stefan GroschupfFriend
Messages: 24
Registered: July 2009
Junior Member
> Are you using just Draw2d of GEF?
Just Draw2d to paint some valuegraphs. Should i use the hole GEF?
Re: draw2d & property sheet [message #61504 is a reply to message #61481] Mon, 03 February 2003 18:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Draw2d has no built-in support for selection or accessibility. It's your
choice.

"stefan" <sg@media-style.com> wrote in message
news:b1m6mg$4ee$1@rogue.oti.com...
> > Are you using just Draw2d of GEF?
> Just Draw2d to paint some valuegraphs. Should i use the hole GEF?
>
>
>
>
>
Re: draw2d & property sheet [message #61644 is a reply to message #61504] Mon, 03 February 2003 18:28 Go to previous messageGo to next message
Stefan Groschupf is currently offline Stefan GroschupfFriend
Messages: 24
Registered: July 2009
Junior Member
> 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
Re: draw2d & property sheet [message #61667 is a reply to message #61644] Mon, 03 February 2003 21:31 Go to previous message
Eclipse UserFriend
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
>
>
>
>
Previous Topic:Putting the logic Editor in a View
Next Topic:where are the figures?
Goto Forum:
  


Current Time: Sat Aug 17 22:24:17 GMT 2024

Powered by FUDForum. Page generated in 0.03213 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top