Get the current active wizard page [message #525871] |
Thu, 08 April 2010 06:41 |
czetsuya Messages: 9 Registered: March 2010 Location: Philippines |
Junior Member |
|
|
Hi,
I have a wizard page with 2 composites, a treeviewer (left) and a tableviewer(right). When I click a node in the left tree the data in the right viewer should change.
I added a "addSelectionChangedListener" in the treeviewer that initialized a command from the plugin.xml and call the default handler.
My problem is in the defaultHandler class, how should I reference the right composite of the wizard page which has the tableviewer.
In view, it can be done this way:
IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
IViewPart view = window.getActivePage().findView(viewId);
How about for wizardpage?
Thanks,
czetsuya
http://czetsuya-tech.blogspot.com
|
|
|
|
Powered by
FUDForum. Page generated in 0.02841 seconds