1 17 package org.eclipse.emf.ecore.sdo.provider; 18 19 20 import org.eclipse.emf.common.EMFPlugin; 21 import org.eclipse.emf.common.util.ResourceLocator; 22 import org.eclipse.emf.ecore.change.provider.ChangeEditPlugin; 23 import org.eclipse.emf.ecore.provider.EcoreEditPlugin; 24 25 26 32 public final class SDOEditPlugin extends EMFPlugin 33 { 34 40 public static final SDOEditPlugin INSTANCE = new SDOEditPlugin(); 41 42 48 private static Implementation plugin; 49 50 56 public SDOEditPlugin() 57 { 58 super 59 (new ResourceLocator [] 60 { 61 EcoreEditPlugin.INSTANCE, 62 ChangeEditPlugin.INSTANCE, 63 }); 64 } 65 66 73 public ResourceLocator getPluginResourceLocator() 74 { 75 return plugin; 76 } 77 78 85 public static Implementation getPlugin() 86 { 87 return plugin; 88 } 89 90 96 public static class Implementation extends EclipsePlugin 97 { 98 104 public Implementation() 105 { 106 super(); 107 108 plugin = this; 111 } 112 } 113 } 114 | Popular Tags |