Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Property Viewer for Connection
Property Viewer for Connection [message #182458] Wed, 25 May 2005 15:05 Go to next message
Eclipse UserFriend
Originally posted by: ewoo.e-Magic.ca

What do I have to do if I would like to display a three columns property
viewer when click on the connection and to display the existing property
viewer when click on the figure? I am not sure how to individually
setInput() for Figure EditPart and Connection EditPart.

Thanks

Eugene
Re: Property Viewer for Connection [message #182583 is a reply to message #182458] Wed, 25 May 2005 23:02 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Do you mean the property view? I don't think there's a way to create three
columns, unless you create your own property sheet page. Anyway, that's not
relevant to GEF, so ask about it on the platform newsgroup.

As for showing the properties of the selected GEF editpart, start by looking
at GraphicalEditor#getAdapter(). The graphical viewer provides the selected
part(s) as ISelection to the workbench and the property view retrieves the
property sources from the editor. If you're not sure how property sheets
work, you should look at the article on this subject at eclipse.org. Also,
search this newsgroup. There has been a lot of discussion on this topic.

"Eugene Woo" <ewoo@e-Magic.ca> wrote in message
news:82f0555ba481986a28a1f62115d55c41$1@www.eclipse.org...
> What do I have to do if I would like to display a three columns property
> viewer when click on the connection and to display the existing property
> viewer when click on the figure? I am not sure how to individually
> setInput() for Figure EditPart and Connection EditPart.
>
> Thanks
>
> Eugene
>
Previous Topic:GridLayout sample
Next Topic:Renaming an EditPart global action
Goto Forum:
  


Current Time: Thu Sep 19 04:29:05 GMT 2024

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

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

Back to the top