[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Dltk-dev] Can't get Activator to start
|
We have a source parser definition...it's in the XML I showed, unless
you are referring to something else.
Now, we *don't* have a UI editor, as we've been following the Guide,
and there is no mention of an editor.
So, I'm supposing that I need to create an editor, and associate it
with the same files I wish to be able to edit, (much like any other
plugin), and that will Activate my plguin?
Would that be correct?
Mark
On 7/26/07, Jae Gangemi <jgangemi@xxxxxxxxx> wrote:
i believe you're missing a source parser definition as well.
what does your 'ui' portion look like? i think you are most likely missing
something there. what editor is currently opening for you when you double
click the file?
*grr* - still getting bounced messages as well
>
>
>
> On 7/25/07, Mark Mandel < mark.mandel@xxxxxxxxx> wrote:
> >
> > Hey guys,
> >
> > I'm struggling here to just get the Activator of my Plugin to start
> > when I open a file of the set type within the LanguageToolkit.
> >
> > My plugin.xml looks like this:
> >
> > <?xml version=" 1.0" encoding="UTF-8"?>
> > <?eclipse version="3.2"?>
> > <plugin>
> > <extension
> > id="id1"
> > point="org.eclipse.core.resources.natures">
> > <runtime>
> > <run
> >
class="org.cfeclipse.cfml.CFEclipseNature">
> > </run>
> > </runtime>
> > </extension>
> > <extension
> > point=" org.eclipse.dltk.core.language">
> > <language
> >
class="org.cfeclipse.cfml.CFMLLanguageToolkit"
> > nature="org.cfeclipse.cfml.nature">
> > </language>
> > </extension>
> > <extension
> >
point="org.eclipse.dltk.core.sourceElementParsers">
> > <parser
> >
class="org.cfeclipse.cfml.parsers.CFMLSourceElementParser "
> > nature="org.cfeclipse.cfml.nature">
> > </parser>
> > </extension>
> >
> > </plugin>
> >
> > Within the CFMLLanguageToolkit, the following implementation exists:
> >
> > public String getNatureId() {
> > return Activator.PLUGIN_ID + ".nature";
> > }
> >
> > public String[] getLanguageFileExtensions() {
> > String[] fileext = {"cfm", "cfml", "cfc"};
> > return fileext;
> > }
> >
> > And inside my Activator:
> >
> > public static final String PLUGIN_ID = "org.cfeclipse.cfml";
> >
> > public void start(BundleContext context) throws Exception {
> > super.start(context);
> > plugin = this;
> > System.out.println("starting....");
> > }
> >
> > Yet, when I open a .cfc file, I don't see this line come up anywhere?
> >
> > I'm obviously missing something, but I have no idea what it is.
> >
> > Can someone at least point me in the right direction of what I
> > *should* be doing?
> >
> > Mark
> >
> > --
> > E: mark.mandel@xxxxxxxxx
> > W: www.compoundtheory.com
> > _______________________________________________
> > dltk-dev mailing list
> > dltk-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/dltk-dev
> >
>
>
>
> --
> -jae
--
-jae
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev
--
E: mark.mandel@xxxxxxxxx
W: www.compoundtheory.com