Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Using ScriptEditor without Eclipse project
Using ScriptEditor without Eclipse project [message #33303] Thu, 09 October 2008 15:11 Go to next message
Pascal Schmidiger is currently offline Pascal Schmidiger
Messages: 1
Registered: July 2009
Junior Member
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 12:01 Go to previous message
Alex Panchenko is currently offline Alex Panchenko
Messages: 342
Registered: July 2009
Senior Member
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
>
Previous Topic:[BUILD] R1.0-I
Next Topic:problemreporter bug in 0.95.1 released version
Goto Forum:
  


Current Time: Sun Oct 26 05:24:54 GMT 2014

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

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