01: /*******************************************************************************
02: * Copyright (c) 2004, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.internal.wizards;
11:
12: import org.eclipse.ui.PlatformUI;
13: import org.eclipse.ui.internal.registry.IWorkbenchRegistryConstants;
14:
15: /**
16: * Registry that contains wizards contributed via the <code>exportWizards</code>
17: * extension point.
18: *
19: * @since 3.1
20: */
21: public class ExportWizardRegistry extends
22: AbstractExtensionWizardRegistry {
23:
24: private static ExportWizardRegistry singleton;
25:
26: /**
27: * Return the singleton instance of this class.
28: *
29: * @return the singleton instance of this class
30: */
31: public static synchronized ExportWizardRegistry getInstance() {
32: if (singleton == null) {
33: singleton = new ExportWizardRegistry();
34: }
35: return singleton;
36: }
37:
38: /**
39: *
40: */
41: public ExportWizardRegistry() {
42: super ();
43: }
44:
45: /* (non-Javadoc)
46: * @see org.eclipse.ui.internal.wizards.AbstractExtensionWizardRegistry#getExtensionPoint()
47: */
48: protected String getExtensionPoint() {
49: return IWorkbenchRegistryConstants.PL_EXPORT;
50: }
51:
52: /* (non-Javadoc)
53: * @see org.eclipse.ui.internal.wizards.AbstractExtensionWizardRegistry#getPlugin()
54: */
55: protected String getPlugin() {
56: return PlatformUI.PLUGIN_ID;
57: }
58: }
|