Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » how to set source on multipage editor
how to set source on multipage editor [message #262936] Wed, 21 July 2004 10:11 Go to next message
Eclipse UserFriend
Any idea of what is the 'inverse' of

TextEditor editor;
....

editor.getDocumentProvider().getDocument(editor.getEditorInp ut()).get();

on a multipage editor?
Re: how to set source on multipage editor [message #262937 is a reply to message #262936] Wed, 21 July 2004 10:13 Go to previous message
Eclipse UserFriend
oops, I searched the api but missed the obvious...

editor.getDocumentProvider().getDocument(editor.getEditorInp ut()).set( "");

Miguel Griffa wrote:
> Any idea of what is the 'inverse' of
>
> TextEditor editor;
> ...
>
> editor.getDocumentProvider().getDocument(editor.getEditorInp ut()).get();
>
> on a multipage editor?
Previous Topic:Copying file from *absolute* path
Next Topic:Eclipse and cmdline -classpath
Goto Forum:
  


Current Time: Mon Jun 09 06:04:59 EDT 2025

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

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

Back to the top