/** * Copyright (c) 2008, 2015 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.commands; import java.util.List; import org.eclipse.e4.ui.model.application.MApplicationElement; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Binding Context</b></em>'. * <!-- end-user-doc --> * * <!-- begin-model-doc --> * <p> * This class describes the hierarchy of contexts that are used by the * <code>EBindingService</code> to determine which Bindings are currently * available to the user. * </p> * @since 1.0 * @noimplement This interface is not intended to be implemented by clients. * <!-- end-model-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.eclipse.e4.ui.model.application.commands.MBindingContext#getName <em>Name</em>}</li> * <li>{@link org.eclipse.e4.ui.model.application.commands.MBindingContext#getDescription <em>Description</em>}</li> * <li>{@link org.eclipse.e4.ui.model.application.commands.MBindingContext#getChildren <em>Children</em>}</li> * </ul> * * @model * @generated */ public interface MBindingContext extends MApplicationElement { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * <p> * <strong>Developers</strong>: * Add more detailed documentation by editing this comment in * org.eclipse.ui.model.workbench/model/UIElements.ecore. * There is a GenModel/documentation node under each type and attribute. * </p> * <!-- end-model-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @model * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.e4.ui.model.application.commands.MBindingContext#getName <em>Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Name</em>' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the '<em><b>Description</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * <p> * <strong>Developers</strong>: * Add more detailed documentation by editing this comment in * org.eclipse.ui.model.workbench/model/UIElements.ecore. * There is a GenModel/documentation node under each type and attribute. * </p> * <!-- end-model-doc --> * @return the value of the '<em>Description</em>' attribute. * @see #setDescription(String) * @model * @generated */ String getDescription(); /** * Sets the value of the '{@link org.eclipse.e4.ui.model.application.commands.MBindingContext#getDescription <em>Description</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Description</em>' attribute. * @see #getDescription() * @generated */ void setDescription(String value); /** * Returns the value of the '<em><b>Children</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.e4.ui.model.application.commands.MBindingContext}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * <p> * <strong>Developers</strong>: * Add more detailed documentation by editing this comment in * org.eclipse.ui.model.workbench/model/UIElements.ecore. * There is a GenModel/documentation node under each type and attribute. * </p> * <!-- end-model-doc --> * @return the value of the '<em>Children</em>' containment reference list. * @model containment="true" * @generated */ List<MBindingContext> getChildren(); } // MBindingContext