Get the current active wizard page [message #525871] |
Thu, 08 April 2010 02:41  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.04613 seconds