01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.commands;
11:
12: import org.eclipse.ui.keys.KeySequence;
13:
14: /**
15: * <p>
16: * An instance of <code>IKeySequenceBinding</code> represents a binding
17: * between a command and a key sequence. This is a wrapper for the a key
18: * sequence.
19: * </p>
20: * <p>
21: * This interface is not intended to be extended or implemented by clients.
22: * </p>
23: *
24: * @since 3.0
25: * @see org.eclipse.ui.commands.ICommand
26: * @deprecated Please use the bindings support in the "org.eclipse.jface"
27: * plug-in instead.
28: * @see org.eclipse.jface.bindings.keys.KeyBinding
29: */
30: public interface IKeySequenceBinding extends Comparable {
31:
32: /**
33: * Returns the key sequence represented in this binding.
34: *
35: * @return the key sequence. Guaranteed not to be <code>null</code>.
36: */
37: KeySequence getKeySequence();
38: }
|