Using ScriptEditor without Eclipse project [message #33303] |
Thu, 09 October 2008 11:11  |
Eclipse User |
|
|
|
I'm about to develop a XQuery editor based on the DLTK.
If I open my editor with a document from an Eclipse project, the according
parser is applied as expected.
Besides that I've got an Eclipse plugin that is able to connect to an XML
database. Within that database you're able to store XQuery files. I'd like
to open those XQuery files in my editor as well. But because those files
are not part of an Eclipse project, the parser is not addressed. If for
example the folding functionality is activated, a NullPointerException is
thrown.
Now my question: Is there a way to use the functions of the ScriptEditor
without an Eclipse project?
Thanks
Pascal
|
|
|
Re: Using ScriptEditor without Eclipse project [message #33460 is a reply to message #33303] |
Thu, 16 October 2008 08:01  |
Eclipse User |
|
|
|
Hi Pascal,
Would you please provide more details?
How do you open the editor with the files from database?
What version of DLTK do you use?
What is the stack trace of the exception?
For example I can open tcl files located outside of my workspace - in
that case org.eclipse.ui.ide.FileStoreEditorInput is provided to the tcl
editor. So it looks like eclipse project is not required.
I have tested with 1.0 from HEAD.
Regards,
Alex
Pascal Schmidiger wrote:
> I'm about to develop a XQuery editor based on the DLTK.
>
> If I open my editor with a document from an Eclipse project, the
> according parser is applied as expected.
> Besides that I've got an Eclipse plugin that is able to connect to an
> XML database. Within that database you're able to store XQuery files.
> I'd like to open those XQuery files in my editor as well. But because
> those files are not part of an Eclipse project, the parser is not
> addressed. If for example the folding functionality is activated, a
> NullPointerException is thrown.
>
> Now my question: Is there a way to use the functions of the ScriptEditor
> without an Eclipse project?
>
> Thanks
> Pascal
>
|
|
|
Powered by
FUDForum. Page generated in 0.03004 seconds