Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow to create a new file inside an editor
https://www.eclipse.org/forums/index.php/mv/msg/55937/177748/#msg_177748
Originally posted by: eri_cao_apex.yahoo.com
Hi,
The situation will be like this: the editor applciation can have multiple
text input files and it will create new text files on the fly that will be
opened by a textEditor. I use the java.io.File to create a new file, but how
can I get the IEditorInput or IFile from this file object so that the
application can edit on it? Very confused with the eclipse plugin's IO API.
Any suggestions are welcome.
Thanks,
Eric]]>2005-04-14T22:50:11-00:00Re: How to create a new file inside an editor
https://www.eclipse.org/forums/index.php/mv/msg/55937/178379/#msg_178379
path, this is not related to GEF. For further queries, try the platform
newsgroup.
"Eric Cao" <eri_cao_apex@yahoo.com> wrote in message
news:d3msfd$9p$1@news.eclipse.org...
> Hi,
>
> The situation will be like this: the editor applciation can have multiple
> text input files and it will create new text files on the fly that will be
> opened by a textEditor. I use the java.io.File to create a new file, but
how
> can I get the IEditorInput or IFile from this file object so that the
> application can edit on it? Very confused with the eclipse plugin's IO
API.
> Any suggestions are welcome.
>
> Thanks,
>
> Eric
>
>]]>Pratik Shah2005-04-20T02:28:00-00:00