blob: 164de04164918f81e70967752d233a8229596d20 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2014 Xored Software Inc 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:
* Xored Software Inc - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.rcptt.tesla.ecl.model;
import org.eclipse.rcptt.ecl.core.Command;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Key Type</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.KeyType#getControl <em>Control</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.KeyType#getKey <em>Key</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.KeyType#getChar <em>Char</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.KeyType#isDisplay <em>Display</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.KeyType#getTimes <em>Times</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getKeyType()
* @model annotation="http://www.eclipse.org/ecl/docs description='Type key to the control.' returns='value of <code>control</code> parameter' example='get-editor \"Test scenario\" | get-section Script | get-editbox | key-type \"M1+s\"'"
* @generated
*/
public interface KeyType extends Command {
/**
* Returns the value of the '<em><b>Control</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Control</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Control</em>' reference.
* @see #setControl(ControlHandler)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getKeyType_Control()
* @model required="true"
* annotation="http://www.eclipse.org/ecl/docs description='Any control is appropriate.'"
* @generated
*/
ControlHandler getControl();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.KeyType#getControl <em>Control</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Control</em>' reference.
* @see #getControl()
* @generated
*/
void setControl(ControlHandler value);
/**
* Returns the value of the '<em><b>Key</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Key</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Key</em>' attribute.
* @see #setKey(String)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getKeyType_Key()
* @model required="true"
* annotation="http://www.eclipse.org/ecl/docs description='Key to type.'"
* @generated
*/
String getKey();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.KeyType#getKey <em>Key</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Key</em>' attribute.
* @see #getKey()
* @generated
*/
void setKey(String value);
/**
* Returns the value of the '<em><b>Char</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Char</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Char</em>' attribute.
* @see #setChar(String)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getKeyType_Char()
* @model annotation="http://www.eclipse.org/ecl/docs description='Character that corresponds to the *key*. In most cases this parameter is not necessary.' default='calculated from the *key*'"
* @generated
*/
String getChar();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.KeyType#getChar <em>Char</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Char</em>' attribute.
* @see #getChar()
* @generated
*/
void setChar(String value);
/**
* Returns the value of the '<em><b>Display</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Display</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Display</em>' attribute.
* @see #setDisplay(boolean)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getKeyType_Display()
* @model
* @generated
*/
boolean isDisplay();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.KeyType#isDisplay <em>Display</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Display</em>' attribute.
* @see #isDisplay()
* @generated
*/
void setDisplay(boolean value);
/**
* Returns the value of the '<em><b>Times</b></em>' attribute.
* The default value is <code>"1"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Times</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Times</em>' attribute.
* @see #setTimes(Integer)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getKeyType_Times()
* @model default="1"
* @generated
*/
Integer getTimes();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.KeyType#getTimes <em>Times</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Times</em>' attribute.
* @see #getTimes()
* @generated
*/
void setTimes(Integer value);
} // KeyType