blob: d3713271584502beb0776364a9403e8cafd67974 [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 Corporation - initial API and implementation
******************************************************************************/
package org.eclipse.ui.commands;
import org.eclipse.ui.internal.commands.CommandManager;
/**
* <p>
* This class allows clients to broker instances of
* <code>ICommandManager</code>.
* </p>
* <p>
* This class is not intended to be extended by clients.
* </p>
* <p>
* <em>EXPERIMENTAL</em>
* </p>
*
* @since 3.0
* @see ICommandManager
*/
public final class CommandManagerFactory {
/**
* Creates a new instance of ICommandManager.
*
* @return a new instance of ICommandManager. Clients should not make
* assumptions about the concrete implementation outside the
* contract of <code>ICommandManager</code>. Guaranteed not to be
* <code>null</code>.
*/
public static ICommandManager getCommandManager() {
return new CommandManager();
}
/**
* Private constructor to ensure that <code>CommandManagerFactory</code>
* can not be instantiated.
*/
private CommandManagerFactory() {
}
}