1 11 package org.eclipse.ui.internal.wizards; 12 13 import org.eclipse.ui.PlatformUI; 14 import org.eclipse.ui.internal.registry.IWorkbenchRegistryConstants; 15 16 22 public final class NewWizardRegistry extends AbstractExtensionWizardRegistry { 23 24 private static NewWizardRegistry singleton; 25 26 31 public static synchronized NewWizardRegistry getInstance() { 32 if (singleton == null) { 33 singleton = new NewWizardRegistry(); 34 } 35 return singleton; 36 } 37 38 41 private NewWizardRegistry() { 42 super(); 43 } 44 45 48 protected String getExtensionPoint() { 49 return IWorkbenchRegistryConstants.PL_NEW; 50 } 51 52 55 protected String getPlugin() { 56 return PlatformUI.PLUGIN_ID; 57 } 58 } 59 | Popular Tags |