1 17 package org.eclipse.emf.common.ui; 18 19 20 import org.eclipse.emf.common.EMFPlugin; 21 import org.eclipse.emf.common.util.ResourceLocator; 22 23 24 36 public final class CommonUIPlugin extends EMFPlugin 37 { 38 41 public static final CommonUIPlugin INSTANCE = new CommonUIPlugin(); 42 43 46 private static Implementation plugin; 47 48 51 private CommonUIPlugin() 52 { 53 super(new ResourceLocator[] {}); 54 } 55 56 59 public ResourceLocator getPluginResourceLocator() 60 { 61 return plugin; 62 } 63 64 68 public static Implementation getPlugin() 69 { 70 return plugin; 71 } 72 73 76 public static class Implementation extends EclipsePlugin 77 { 78 81 public Implementation() 82 { 83 super(); 84 85 plugin = this; 88 } 89 } 90 } 91 | Popular Tags |