blob: a7f4670a1db2568df9cb0ac4625d80e79806e7b6 [file] [log] [blame]
/**
* Copyright (c) 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.e4.ui.model.application;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Key Binding</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.e4.ui.model.application.MKeyBinding#getCommand <em>Command</em>}</li>
* <li>{@link org.eclipse.e4.ui.model.application.MKeyBinding#getParameters <em>Parameters</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getKeyBinding()
* @model
* @generated
*/
public interface MKeyBinding extends MKeySequence, MApplicationElement {
/**
* Returns the value of the '<em><b>Command</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Command</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Command</em>' reference.
* @see #setCommand(MCommand)
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getKeyBinding_Command()
* @model required="true"
* @generated
*/
MCommand getCommand();
/**
* Sets the value of the '{@link org.eclipse.e4.ui.model.application.MKeyBinding#getCommand <em>Command</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Command</em>' reference.
* @see #getCommand()
* @generated
*/
void setCommand(MCommand value);
/**
* Returns the value of the '<em><b>Parameters</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.e4.ui.model.application.MParameter}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parameters</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parameters</em>' containment reference list.
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getKeyBinding_Parameters()
* @model containment="true"
* @generated
*/
EList<MParameter> getParameters();
} // MKeyBinding