I PropertySource Problem - Appreciate any help ! [message #452801] |
Sat, 15 July 2006 19:58 |
Eclipse User |
|
|
|
Originally posted by: dkodeboy.mcs.anl.gov
Hi
I posted this as a reply to a similar thread on this news group but I
don't think I received any replies may be because people thought it was
not a new question .... Here goes again !
I seem to have the IPropertySource not showing up as properties in my
Property Sheet 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
|
|
|
Powered by
FUDForum. Page generated in 0.03821 seconds