1 17 package org.eclipse.emf.mapping; 18 19 20 import org.eclipse.emf.common.EMFPlugin; 21 import org.eclipse.emf.common.util.ResourceLocator; 22 23 25 31 public final class MappingPlugin extends EMFPlugin 32 { 33 39 public static final MappingPlugin INSTANCE = new MappingPlugin(); 40 41 47 private static Implementation plugin; 48 49 55 public MappingPlugin() 56 { 57 super(new ResourceLocator [] {}); 58 } 59 60 67 public ResourceLocator getPluginResourceLocator() 68 { 69 return plugin; 70 } 71 72 79 public static Implementation getPlugin() 80 { 81 return plugin; 82 } 83 84 90 public static class Implementation extends EclipsePlugin 91 { 92 98 public Implementation() 99 { 100 super(); 101 102 plugin = this; 105 } 106 } 107 } 108 | Popular Tags |