KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > commands > IKeySequenceBinding


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.ui.commands;
13
14 import org.eclipse.ui.keys.KeySequence;
15
16 /**
17  * <p>
18  * An instance of <code>IKeySequenceBinding</code> represents a binding
19  * between a command and a key sequence. This is a wrapper for the a key
20  * sequence.
21  * </p>
22  * <p>
23  * This interface is not intended to be extended or implemented by clients.
24  * </p>
25  *
26  * @since 3.0
27  * @see org.eclipse.ui.commands.ICommand
28  * @deprecated Please use the bindings support in the "org.eclipse.jface"
29  * plug-in instead.
30  * @see org.eclipse.jface.bindings.keys.KeyBinding
31  */

32 public interface IKeySequenceBinding extends Comparable JavaDoc {
33
34     /**
35      * Returns the key sequence represented in this binding.
36      *
37      * @return the key sequence. Guaranteed not to be <code>null</code>.
38      */

39     KeySequence getKeySequence();
40 }
41
Popular Tags