Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Properties View for elements in JFace Viewer(Unable to integrate properties view with elements in JFace viewer)
Properties View for elements in JFace Viewer [message #663655] Wed, 06 April 2011 05:29
manasa  is currently offline manasa Friend
Messages: 32
Registered: October 2010
Member
Hi,

I am trying to create a view of mine, which has a jface treeviewer, and a section in the view, where i want to show the properties of the selected element.
I am re-using the property sheet view by creating an instance of the eclipse propertysheetpage.

I can see the properties of the selected element in my view's section, but only when the original properties view is opened.

Until the eclipse Properties View is not opened, I dont see the properties of the selected element.
I get the adapter as IPropertySheetPage.class, in my getAdapter() method, only when the Properties View is opened.

public Object getAdapter(Class adapter) {
		if (adapter == IPropertySheetPage.class)
		   return propertiesPage;
		return super.getAdapter(adapter);
	}


Am I missing something, when I am creating the instance of PropertySheetPage?Coud anyone comment on this.
Thanks in advance,

Regards,
Mansa
Previous Topic:How do I create a truly "flat" toggle button on a tool bar?
Next Topic:Change TreeViewer column header height
Goto Forum:
  


Current Time: Thu Apr 25 11:58:05 GMT 2024

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

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

Back to the top