1 /**
2  * Copyright (c) 2008, 2015 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *      IBM Corporation - initial API and implementation
13  */
14 package org.eclipse.e4.ui.model.application.commands;
15 
16 /**
17  * <!-- begin-user-doc -->
18  * A representation of the model object '<em><b>Key Sequence</b></em>'.
19  * <!-- end-user-doc -->
20  *
21  * <!-- begin-model-doc -->
22  * <p>
23  * This represents the sequence of characters in a KeyBinding whose detection will
24  * fire the associated Command.
25  * </p>
26  * @since 1.0
27  * @noimplement This interface is not intended to be implemented by clients.
28  * <!-- end-model-doc -->
29  *
30  * <p>
31  * The following features are supported:
32  * </p>
33  * <ul>
34  *   <li>{@link org.eclipse.e4.ui.model.application.commands.MKeySequence#getKeySequence <em>Key Sequence</em>}</li>
35  * </ul>
36  *
37  * @model interface="true" abstract="true"
38  * @generated
39  */
40 public interface MKeySequence {
41 	/**
42 	 * Returns the value of the '<em><b>Key Sequence</b></em>' attribute.
43 	 * <!-- begin-user-doc -->
44 	 * <!-- end-user-doc -->
45 	 * <!-- begin-model-doc -->
46 	 * <p>
47 	 * This is a formatted string used by the key binding infrastructure to determine the
48 	 * exact key sequence for a KeyBinding.
49 	 * </p>
50 	 * <!-- end-model-doc -->
51 	 * @return the value of the '<em>Key Sequence</em>' attribute.
52 	 * @see #setKeySequence(String)
53 	 * @model required="true"
54 	 * @generated
55 	 */
getKeySequence()56 	String getKeySequence();
57 
58 	/**
59 	 * Sets the value of the '{@link org.eclipse.e4.ui.model.application.commands.MKeySequence#getKeySequence <em>Key Sequence</em>}' attribute.
60 	 * <!-- begin-user-doc -->
61 	 * <!-- end-user-doc -->
62 	 * @param value the new value of the '<em>Key Sequence</em>' attribute.
63 	 * @see #getKeySequence()
64 	 * @generated
65 	 */
setKeySequence(String value)66 	void setKeySequence(String value);
67 
68 } // MKeySequence
69