/** * 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 org.eclipse.e4.ui.model.application.MApplicationElement; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Parameter</b></em>'. * <!-- end-user-doc --> * * <!-- begin-model-doc --> * <p> * This defines the value of a Parameter to be used by a Command. * </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.MParameter#getName <em>Name</em>}</li> * <li>{@link org.eclipse.e4.ui.model.application.commands.MParameter#getValue <em>Value</em>}</li> * </ul> * * @model * @generated */ public interface MParameter extends MApplicationElement { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * <p> * This is the name of this parameter. * </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.MParameter#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>Value</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * <p> * This is the value of this parameter. * </p> * <!-- end-model-doc --> * @return the value of the '<em>Value</em>' attribute. * @see #setValue(String) * @model * @generated */ String getValue(); /** * Sets the value of the '{@link org.eclipse.e4.ui.model.application.commands.MParameter#getValue <em>Value</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Value</em>' attribute. * @see #getValue() * @generated */ void setValue(String value); } // MParameter