Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » string and editor ...
string and editor ... [message #332648] Mon, 03 November 2008 16:25 Go to next message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
Hi all,
I have got a string and I would like to display it in an editor (possible
using the xml // structured text // editor of the system or the text editor
depending on configuration ) .
What is the best way to do this..

Thanks in advance
Kar
Re: string and editor ... [message #332649 is a reply to message #332648] Mon, 03 November 2008 16:42 Go to previous messageGo to next message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
I have found this

http://blog.cypal-solutions.com/2008/06/opening-editor-witho ut-ifile.html

if someone has got a better approach ...
thanks
Kar

"Kar" <carmeloscala@hotmail.com> wrote in message
news:gen8kv$cbs$1@build.eclipse.org...
> Hi all,
> I have got a string and I would like to display it in an editor (possible
> using the xml // structured text // editor of the system or the text
> editor depending on configuration ) .
> What is the best way to do this..
>
> Thanks in advance
> Kar
>
>
Re: string and editor ... [message #332657 is a reply to message #332649] Tue, 04 November 2008 07:56 Go to previous messageGo to next message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
Kar wrote:
> I have found this
>
> http://blog.cypal-solutions.com/2008/06/opening-editor-witho ut-ifile.html

You could try to use a FileStoreEditorInput instead.

http://help.eclipse.org/stable/nftopic/org.eclipse.platform. doc.isv/reference/api/org/eclipse/ui/ide/FileStoreEditorInpu t.html
Re: string and editor ... [message #332662 is a reply to message #332657] Tue, 04 November 2008 10:46 Go to previous message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
Oh sorry, I didn't realize you literally just had a raw
java.lang.String. The FSEI would not help you with that.
Previous Topic:Mark resources generated from an Ant build as derived
Next Topic:How to get Linked Folders of a Project
Goto Forum:
  


Current Time: Fri Apr 26 16:35:44 GMT 2024

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

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

Back to the top