blob: dc4ab4e40ccbf76e033da4ce559b2fed8d53c3a4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2008 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.ui.commands;
import org.eclipse.ui.keys.KeySequence;
/**
* <p>
* An instance of <code>IKeySequenceBinding</code> represents a binding
* between a command and a key sequence. This is a wrapper for the a key
* sequence.
* </p>
* <p>
* This interface is not intended to be extended or implemented by clients.
* </p>
*
* @since 3.0
* @see org.eclipse.ui.commands.ICommand
* @deprecated Please use the bindings support in the "org.eclipse.jface"
* plug-in instead.
* @see org.eclipse.jface.bindings.keys.KeyBinding
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IKeySequenceBinding extends Comparable {
/**
* Returns the key sequence represented in this binding.
*
* @return the key sequence. Guaranteed not to be <code>null</code>.
*/
KeySequence getKeySequence();
}