Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to use PropertyPage in a RCP application
How to use PropertyPage in a RCP application [message #444534] Fri, 17 February 2006 04:38
Eclipse UserFriend
Originally posted by: clark1010.gmail.com

Hello,
I'm no a English speaker, so...but i will try.
For example, the RCP Mail example application. I have added a
contextmenu to the NavigateView, so there will be a popup menu when i
right click the tree node. Now i want to add an action to the
contextmenu, for lauching a PropertyDialog, just like the
ResourceNavigatorView does. I have some questions:
1. The tree node is not a type of IFile, if i create a subclass of
PropertyPage, and extend the org.eclipse.ui.propertyPages point (i give
the objectclass attrubute value of NavigationView$TreeParent), could it
work or not? if yes, then how to make it work?
2. I found an action named PropertyDialogAction in package
org.eclipse.ui.dialogs. How to use it to launch the custom PropertyPage
that i have created? It showed the following message while running:
Unhandled event loop exception
Reason:
org.eclipse.ui.examples.rcp.mail.NavigationView$TreeParent
what does it mean?
3. Do you have some better idea?
I hope you are knowing what i mean.
Previous Topic:Getting a handle to Workbench menu items
Next Topic:StartupProgressMonitorDialog
Goto Forum:
  


Current Time: Fri Dec 06 11:04:27 GMT 2024

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

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

Back to the top