Skip to main content



      Home
Home » Eclipse Projects » GEF » Porperty View Document
Porperty View Document [message #163526] Tue, 11 January 2005 00:47 Go to next message
Eclipse UserFriend
Hi,everybody
These days I'm really puzzled by Property view. When I select a component,
I cannot receive IPropertySource.class in my component editpart's
getAdapter(). I don't know why,because I setSelectioProvider to my
graphicalViewer.
And I use EMF model as my model.

Can anybody tell how many steps should be taken to support PROPERTY VIEW?
thanks!

Kind Regard,
zbw
Re: Porperty View Document [message #163620 is a reply to message #163526] Tue, 11 January 2005 12:12 Go to previous messageGo to next message
Eclipse UserFriend
Are you trying to use an undoable property sheet entry? Property view is a
little tricky with an EMF model if you're not using all their generated
classes. Look at the EDiagram example for how to do this. Start by looking
at EDiagramEditor#getAdapter().

"zbw" <zbw001091@yahoo.com.cn> wrote in message
news:crvpab$pbc$1@www.eclipse.org...
> Hi,everybody
> These days I'm really puzzled by Property view. When I select a component,
> I cannot receive IPropertySource.class in my component editpart's
> getAdapter(). I don't know why,because I setSelectioProvider to my
> graphicalViewer.
> And I use EMF model as my model.
>
> Can anybody tell how many steps should be taken to support PROPERTY VIEW?
> thanks!
>
> Kind Regard,
> zbw
>
Re: Porperty View Document [message #163642 is a reply to message #163620] Tue, 11 January 2005 20:43 Go to previous messageGo to next message
Eclipse UserFriend
Thank you Pratik Shah,
Then can you give me the link of EDiagram example. I cannot find it!
:-)

Kind Regards,
zbw
Re: Porperty View Document [message #163650 is a reply to message #163642] Wed, 12 January 2005 02:53 Go to previous message
Eclipse UserFriend
OK, Now I know the example and go and get it.
Thanks again, Pratik

Kind Regards,
zbw
Previous Topic:Porperty View Document
Next Topic:Any books for GEF / draw2D scheduled ?
Goto Forum:
  


Current Time: Thu Jul 10 17:18:53 EDT 2025

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

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

Back to the top