1 17 package org.eclipse.emf.ecore.xmi; 18 19 20 import org.eclipse.emf.common.EMFPlugin; 21 import org.eclipse.emf.common.util.ResourceLocator; 22 23 24 27 public final class XMIPlugin extends EMFPlugin 28 { 29 32 public static final XMIPlugin INSTANCE = new XMIPlugin(); 33 34 37 private static Implementation plugin; 38 39 42 private XMIPlugin() 43 { 44 super(new ResourceLocator[] {}); 45 } 46 47 50 public ResourceLocator getPluginResourceLocator() 51 { 52 return plugin; 53 } 54 55 59 public static Implementation getPlugin() 60 { 61 return plugin; 62 } 63 64 67 public static class Implementation extends EclipsePlugin 68 { 69 72 public Implementation() 73 { 74 super(); 75 76 plugin = this; 79 } 80 } 81 } 82 | Popular Tags |