1 17 package org.eclipse.emf.mapping.ecore2xml.ui; 18 19 import org.eclipse.emf.common.EMFPlugin; 20 21 import org.eclipse.emf.common.util.ResourceLocator; 22 23 import org.eclipse.emf.ecore.provider.EcoreEditPlugin; 24 25 31 public final class Ecore2XMLUIPlugin extends EMFPlugin 32 { 33 39 public static final Ecore2XMLUIPlugin INSTANCE = new Ecore2XMLUIPlugin(); 40 41 47 private static Implementation plugin; 48 49 55 public Ecore2XMLUIPlugin() 56 { 57 super 58 (new ResourceLocator [] 59 { 60 EcoreEditPlugin.INSTANCE, 61 }); 62 } 63 64 71 public ResourceLocator getPluginResourceLocator() 72 { 73 return plugin; 74 } 75 76 83 public static Implementation getPlugin() 84 { 85 return plugin; 86 } 87 88 94 public static class Implementation extends EclipsePlugin 95 { 96 102 public Implementation() 103 { 104 super(); 105 106 plugin = this; 109 } 110 } 111 112 } 113 | Popular Tags |