blob: 52f9bb79ee86798ea2075ae9b76dad96e46ed6a7 [file] [log] [blame]
/************************************************************************
Copyright (c) 2000, 2003 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Common Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/cpl-v10.html
Contributors:
IBM - Initial implementation
************************************************************************/
package org.eclipse.ui.internal;
import org.eclipse.core.runtime.IPluginDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
* The plug-in runtime class for the views UI plug-in (id <code>"org.eclipse.ui.views"</code>).
* <p>
* This class provides static methods and fields only; it is not intended to be
* instantiated or subclassed by clients.
* </p>
*
* @since 2.1
*/
public final class ViewsPlugin extends AbstractUIPlugin {
/**
* Text views UI plug-in id (value <code>"org.eclipse.ui.views"</code>).
*/
public static final String PLUGIN_ID = "org.eclipse.ui.views"; //$NON-NLS-1$
private static ViewsPlugin instance;
/**
* Returns the singleton instance.
*
* @return the singleton instance.
*/
public static ViewsPlugin getDefault() {
return instance;
}
/**
* Creates a new instance of the receiver.
*
* @see org.eclipse.core.runtime.Plugin#Plugin(IPluginDescriptor)
*/
public ViewsPlugin(IPluginDescriptor descriptor) {
super(descriptor);
instance = this;
}
}