Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Porperty View Document
Porperty View Document [message #163526] Tue, 11 January 2005 05:47 Go to next message
zhangbw is currently offline zhangbwFriend
Messages: 26
Registered: July 2009
Junior Member
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 17:12 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
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] Wed, 12 January 2005 01:43 Go to previous messageGo to next message
zhangbw is currently offline zhangbwFriend
Messages: 26
Registered: July 2009
Junior Member
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 07:53 Go to previous message
zhangbw is currently offline zhangbwFriend
Messages: 26
Registered: July 2009
Junior Member
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: Fri Apr 26 16:45:02 GMT 2024

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

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

Back to the top