blob: 0e096913d4f9874dc006413bbd30776ad210e6ee [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.internal.commands.api;
import java.util.List;
/**
* <p>
* JAVADOC
* </p>
* <p>
* This interface is not intended to be extended or implemented by clients.
* </p>
* <p>
* <em>EXPERIMENTAL</em>
* </p>
*
* @since 3.0
*/
public interface ICommandRegistry {
/**
* Registers an ICommandRegistryListener instance with this command registry.
*
* @param commandRegistryListener the ICommandRegistryListener instance to register.
* @throws NullPointerException
*/
void addCommandRegistryListener(ICommandRegistryListener commandRegistryListener);
/**
* JAVADOC
*
* @return
*/
List getActiveKeyConfigurationDefinitions();
/**
* JAVADOC
*
* @return
*/
List getCategoryDefinitions();
/**
* JAVADOC
*
* @return
*/
List getCommandDefinitions();
/**
* JAVADOC
*
* @return
*/
List getContextBindingDefinitions();
/**
* JAVADOC
*
* @return
*/
List getImageBindingDefinitions();
/**
* JAVADOC
*
* @return
*/
List getKeyBindingDefinitions();
/**
* JAVADOC
*
* @return
*/
List getKeyConfigurationDefinitions();
/**
* Unregisters an ICommandRegistryListener instance with this command registry.
*
* @param commandRegistryListener the ICommandRegistryListener instance to unregister.
* @throws NullPointerException
*/
void removeCommandRegistryListener(ICommandRegistryListener commandRegistryListener);
}