Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Outline view selection doesn't do Properties
Outline view selection doesn't do Properties [message #177758] Thu, 14 April 2005 23:14 Go to next message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
Selecting an object in my outline view doesn't
cause the object's properties to be displayed in the Properties View.
My GEF editor does cause properties to be shown when an object
is selected in its view, but not in the outline.
Selecting the object in the GEF editor DOES cause it to be selected
in the Outline view, and vice versa, but Properties aren't shown
when the object is selected in the Outline view - only in the GEF editor.

My app (3.1M5) is similar to the Shapes example (from 3.1M4) , but I
can't tell how the Outline view in Shapes hooks up its objects to the
Properties view.

I read the thread "Selection in outline view and editor" and I seem to
be hooked up right; the selections between the views work, but not the
Properties.
Re: Outline view selection doesn't do Properties [message #177782 is a reply to message #177758] Fri, 15 April 2005 02:03 Go to previous message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
Never mind.
I had moved the PropertySource code from the model into the editpart,
and i had to also copy the getAdapter() method I put in my EditPart
into my TreeEditPart as well, so the Outline View (TreeEditPart) knows
how to find the properties for its objects as well.

....Beth

> Selecting an object in my outline view doesn't
> cause the object's properties to be displayed in the Properties View.
> My GEF editor does cause properties to be shown when an object
> is selected in its view, but not in the outline.
> Selecting the object in the GEF editor DOES cause it to be selected
> in the Outline view, and vice versa, but Properties aren't shown
> when the object is selected in the Outline view - only in the GEF editor.
>
> My app (3.1M5) is similar to the Shapes example (from 3.1M4) , but I
> can't tell how the Outline view in Shapes hooks up its objects to the
> Properties view.
>
> I read the thread "Selection in outline view and editor" and I seem to
> be hooked up right; the selections between the views work, but not the
> Properties.
Previous Topic:MidpointLocator problem
Next Topic:auto-layout of flow editor
Goto Forum:
  


Current Time: Sun Jan 29 18:35:17 GMT 2023

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

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

Back to the top