1 17 package org.eclipse.emf.codegen.ecore.genmodel.provider; 18 19 import org.eclipse.emf.common.EMFPlugin; 20 import org.eclipse.emf.common.util.ResourceLocator; 21 import org.eclipse.emf.ecore.provider.EcoreEditPlugin; 22 23 29 public final class GenModelEditPlugin extends EMFPlugin 30 { 31 37 public static final GenModelEditPlugin INSTANCE = new GenModelEditPlugin(); 38 39 45 private static Implementation plugin; 46 47 53 public GenModelEditPlugin() 54 { 55 super 56 (new ResourceLocator [] 57 { 58 EcoreEditPlugin.INSTANCE, 59 }); 60 } 61 62 69 public ResourceLocator getPluginResourceLocator() 70 { 71 return plugin; 72 } 73 74 81 public static Implementation getPlugin() 82 { 83 return plugin; 84 } 85 86 92 public static class Implementation extends EclipsePlugin 93 { 94 100 public Implementation() 101 { 102 super(); 103 104 plugin = this; 107 } 108 } 109 } 110 | Popular Tags |