Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Properties View not showing my IPropertySource
Properties View not showing my IPropertySource [message #452623] Mon, 10 July 2006 13:36 Go to next message
Eclipse UserFriend
Originally posted by: denys_seguret.yahoo.fr

Hello,
I've made a simple RCP application with two views : one contains a simple TreeViewer and the other is the standard PropertiesView.
The objets provided to the treeViewer all implement the IPropertySource interface.
I have registred my treeviewer as a selectionProvider and I verified (with a specific SelectionListener) that the selection event is well fired.

My problem is that the propertiesViewer doesn't show my properties. In fact the methods of my objects corresponding to the implementation of IPropertySource aren't event called.

Any idea ?

Thanks a lot.
Re: Properties View not showing my IPropertySource [message #452664 is a reply to message #452623] Tue, 11 July 2006 22:38 Go to previous messageGo to next message
Eclipse UserFriend
I had similar problem of the property view showing up with nothing in it -
turns out I had not included the dependency on org.eclipse.ui.views in the
..product file and in the manifest.mf file. Did this, and suddenly the
property view started acting like magic. Good luck.


On 7/10/06 11:36 AM, in article
12158817.1152553015745.JavaMail.root@cp1.javalobby.org, "Seguret"
<denys_seguret@yahoo.fr> wrote:

> Hello,
> I've made a simple RCP application with two views : one contains a simple
> TreeViewer and the other is the standard PropertiesView.
> The objets provided to the treeViewer all implement the IPropertySource
> interface.
> I have registred my treeviewer as a selectionProvider and I verified (with a
> specific SelectionListener) that the selection event is well fired.
>
> My problem is that the propertiesViewer doesn't show my properties. In fact
> the methods of my objects corresponding to the implementation of
> IPropertySource aren't event called.
>
> Any idea ?
>
> Thanks a lot.
Re: Properties View not showing my IPropertySource [message #452670 is a reply to message #452664] Wed, 12 July 2006 02:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: denys_seguret.yahoo.fr

Thanks !

The missing dependency in the plugin was the problem.

Thanks again :)
Denys
Re: Properties View not showing my IPropertySource [message #452762 is a reply to message #452670] Thu, 13 July 2006 20:31 Go to previous message
Eclipse UserFriend
Originally posted by: dkodeboy.mcs.anl.gov

Seguret wrote:
> Thanks !
>
> The missing dependency in the plugin was the problem.
>
> Thanks again :)
> Denys

Hi

I seem to have the above mentioned problem but I have already added
the dependency in my plugin.xml. Below is an outline of what I have
currently:

1. A treeviewer that is set to be a selection provider.
2. A treeObject(the selection) that implements IAdaptable and returns an
IPropertySource to the calling class.
3. A properties view that is included in the perspective class as a
separate folder using
IFolderLayout folder1 = layout.createFolder("folder1", (int)
IPageLayout.RATIO_MIN, 0.10f, editorArea);
folder1.addView("org.eclipse.ui.views.PropertySheet");

this view(oro.eclipse.ui.views) has also been included on the dependency
list for this plugin.

What I can see now :

1. All the views are displayed - the tree viewer as well as the property
sheet.
2. The property sheet seems to partially respond to the selection events
and by that I mean on a selection it getsPropertyDescriptors from the
IPropertySource implementation and also calls getPropertyValue() on each
of the descriptors(which in this case are Text descriptors).

My problem is that although they seem to return from this I still cannot
see the information on the Properties View.

The system seems to throw some error though and points to the error log
which doesnt contain any relevant errors. Any help on this will be much
appreciated ...

Thanks,
dkodeboy
Previous Topic:How to get it work? Buddy Loading and start(BundleContext text)
Next Topic:Export (3.2) process ignores default splash.bmp location
Goto Forum:
  


Current Time: Tue Mar 11 07:20:46 EDT 2025

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

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

Back to the top