Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Property Sheet only picks up selection after focus in RCP
Property Sheet only picks up selection after focus in RCP [message #262965] Wed, 21 July 2004 20:53
Chris Longfield is currently offline Chris LongfieldFriend
Messages: 111
Registered: July 2009
Senior Member
I'm having a weird bit of behavior.

I have a property sheet that displays properties of my model objects
that the user selects from a tree. The tree viewer gets set as a
selection provider for the site. The user can also right click on the
tree nodes and open the model objects for editing. Fine.

The weird part is, my property sheet does not display anything if I just
start the app and select nodes in the tree. I can select this one or
that and no properties. But as soon as I open one for editing, the
property sheet 'wakes up' and starts displaying the properties of
whatever the current selection is.

I can also get the property shet to start paying attention to the
selection by clicking on the sheet itself, either a button or whatever,
just to give it the focus.

So I have a hack to make it pay attention by finding the view and
requesting the focus after the workbench is up. But this is ugly. What
is going on here?

Chris
Previous Topic:[repost] Anyone using multiple webapps with log4j under Eclipse? - help please
Next Topic:How does the plugin use the .properties files?
Goto Forum:
  


Current Time: Wed Jul 03 10:27:58 GMT 2024

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

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

Back to the top