Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Can't get Activator to start

  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"?>
         point=" org.eclipse.dltk.core.language">
            class="org.cfeclipse.cfml.parsers.CFMLSourceElementParser "


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 {
                plugin = this;

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?


E: mark.mandel@xxxxxxxxx
dltk-dev mailing list



Back to the top