Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Editor without a nature?

Hi Gerald,

Actually it was bug, I've fixed it, Thanks.

For source modules not in script project, DLTK core creates fake project
and all required infrastructure. This is required for example for
outline, and so on.

Best regards,
Andrei.

> Seems like my DLTK editor is insisting on belonging to a specific
> project/nature.  If I remove the reference to a nature from my editor,
> I get:
>
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.dltk.ui".
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.dltk.internal.core.mixin.MixinBuilder.buildModelElements(MixinBuilder.java:64)
>
>
> which is trying to lookup a nature.
>
> Is there a way to not be tied to a nature?  My editor will be used in
> any number of different projects.
>
> Alternately, is there a way to automatically add my nature to any
> project where the editor is opened?
>
> Thanks,
> Gerald
> ------------------------------------------------------------------------
>
> _______________________________________________
> dltk-dev mailing list
> dltk-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dltk-dev
>   



Back to the top