blob: 666a8ba25df50baae46bc479b9cd930477ec5eb4 [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.keys.KeySequence;
/**
* <p>
* An instance of <code>IKeySequenceBinding</code> represents a binding between
* a command and a key sequence.
* </p>
* <p>
* This interface is not intended to be extended or implemented by clients.
* </p>
* <p>
* <em>EXPERIMENTAL</em>
* </p>
*
* @since 3.0
* @see org.eclipse.ui.commands.ICommand
*/
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();
}