blob: 747062b35f8cbf7617ec3e4cf68d061f6a97444c [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
****************************************************************************/
package org.eclipse.gmf.runtime.emf.commands.core.internal;
import org.eclipse.core.runtime.Plugin;
/**
* The main plugin class to be used in the desktop.
*/
public class MSLCommandsPlugin
extends Plugin {
// The shared instance.
private static MSLCommandsPlugin plugin;
/**
* The constructor.
*/
public MSLCommandsPlugin() {
super();
plugin = this;
}
/**
* Returns the shared instance.
*
* @return the shared instance of <code>MSLCommandsPlugin</code>
*/
public static MSLCommandsPlugin getDefault() {
return plugin;
}
/**
* Get plugin ID.
*
* @return plugin id as <code>String</code>
*/
public static String getPluginId() {
return getDefault().getBundle().getSymbolicName();
}
}