rcp noob trying to refresh editor [message #447688] |
Wed, 12 April 2006 14:35  |
Eclipse User |
|
|
|
Originally posted by: kirby.algorithmics.com
Hi Folks,
Just starting out with RCP and would appreciate your generous help.
I have a simple tree viewer and an editor window. I want to make a selection on the tree and have the editor display information about the tree node.
So far, I can view the tree easily enough and get the call back from ISelectionChangedListener.selectionChanged, but I can't seem to have the editor do anything at all.
So far, I have the EditorPart, IEditorInput, and the action.
Can anyone provide the steps to get the editor display my content?
Much appreciated.
Thanks.
KHK
|
|
|
Re: rcp noob trying to refresh editor [message #447827 is a reply to message #447688] |
Mon, 17 April 2006 15:27  |
Eclipse User |
|
|
|
Originally posted by: kirby.algorithmics.com
Holy Smokes...
I didn't think I was asking a tough question.
IViewPart.getViewSite().getWorkbenchWindow().getActivePage() .openEditor(IEditorInput, YourEditor.ID);
Seems to do the trick. any comments?
Now, I can't seem to get the table to show properly, but that's another story.
|
|
|
Powered by
FUDForum. Page generated in 0.04177 seconds