Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Using the openEditor function in IWorkbenchPage
Using the openEditor function in IWorkbenchPage [message #158378] Tue, 18 November 2003 13:34 Go to next message
Eclipse UserFriend
Originally posted by: rc316.shaw.ca

Hi,

I'm trying to use the openEditor function in the IWorkbenchPage which takes
in the editorInput and the editorID. What value can I pass in for the
editorID to open it in the standard editor of eclipse?
Thanks
Re: Using the openEditor function in IWorkbenchPage [message #158423 is a reply to message #158378] Tue, 18 November 2003 14:25 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

Do you mean the text editor, or do you mean the default editor for the
editorInput?

If you mean the text editor, then it is

IWorkbenchConstants.DEFAULT_EDITOR_ID

If you mean the default editor the given editor input, then use this
method instead:

IWorkbenchPage.openEditor(IFile)


--
Thanks, Rich Kulp

Previous Topic:Eclipse on Solaris 9 w/ KDE 3.1 displays giant widgets...
Next Topic:eclipse on Windows NT 4.0
Goto Forum:
  


Current Time: Tue Jul 15 19:15:39 EDT 2025

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

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

Back to the top