Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » rcp noob trying to refresh editor
rcp noob trying to refresh editor [message #447688] Wed, 12 April 2006 14:35 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:[Databinding] Custom control
Next Topic:How can I get stacktraces in the console?
Goto Forum:
  


Current Time: Sat Jul 05 11:44:08 EDT 2025

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

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

Back to the top