1 17 package org.eclipse.emf.importer.java; 18 19 import org.eclipse.emf.common.EMFPlugin; 20 import org.eclipse.emf.common.util.ResourceLocator; 21 import org.eclipse.emf.importer.ImporterPlugin; 22 23 24 28 public final class JavaImporterPlugin extends EMFPlugin 29 { 30 33 public static final JavaImporterPlugin INSTANCE = new JavaImporterPlugin(); 34 35 38 private static Implementation plugin; 39 40 43 private JavaImporterPlugin() 44 { 45 super(new ResourceLocator [] { ImporterPlugin.INSTANCE }); 46 } 47 48 51 public ResourceLocator getPluginResourceLocator() 52 { 53 return plugin; 54 } 55 56 60 public static Implementation getPlugin() 61 { 62 return plugin; 63 } 64 65 68 public static class Implementation extends EclipsePlugin 69 { 70 73 public Implementation() 74 { 75 super(); 76 77 plugin = this; 80 } 81 } 82 } 83 | Popular Tags |