blob: d070d8b36968348414de8a5d847d331ee5c74266 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2019 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
* https://www.eclipse.org/legal/epl-v20.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>Set Text Offset</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SetTextOffset#getControl <em>Control</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SetTextOffset#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SetTextOffset#getLine <em>Line</em>}</li>
* </ul>
*
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getSetTextOffset()
* @model annotation="http://www.eclipse.org/ecl/docs description='Sets the text offset.\nFor specified line.' returns='value of &lt;code&gt;control&lt;/code&gt; parameter' example='get-window \"Q7 Control Panel - Test\" | get-editbox | set-text-offset 8 0'"
* @generated
*/
public interface SetTextOffset 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#getSetTextOffset_Control()
* @model required="true"
* annotation="http://www.eclipse.org/ecl/input"
* annotation="http://www.eclipse.org/ecl/docs description='Text control: editbox, editor or combo.'"
* @generated
*/
ControlHandler getControl();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.SetTextOffset#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>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(Integer)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getSetTextOffset_Value()
* @model required="true"
* annotation="http://www.eclipse.org/ecl/docs description='Value of offset to be set. Must not be less than 0 and greater than the number of characters in the text control. '"
* @generated
*/
Integer getValue();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.SetTextOffset#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(Integer value);
/**
* Returns the value of the '<em><b>Line</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Line</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Line</em>' attribute.
* @see #setLine(Integer)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getSetTextOffset_Line()
* @model annotation="http://www.eclipse.org/ecl/docs description='Value of offset to be set. Must not be less than 0 and greater than the number of characters in the text control. '"
* @generated
*/
Integer getLine();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.SetTextOffset#getLine <em>Line</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Line</em>' attribute.
* @see #getLine()
* @generated
*/
void setLine(Integer value);
} // SetTextOffset