blob: 59a4e9dc324183b1db38accc59a6d2bc7ec4bd7e [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>Set Caret Pos</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SetCaretPos#getControl <em>Control</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SetCaretPos#getLine <em>Line</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SetCaretPos#getColumn <em>Column</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getSetCaretPos()
* @model annotation="http://www.eclipse.org/ecl/docs description='Sets the text offset.\nFor specified line.' returns='value of *control* parameter' example='with [get-editor \"q7enterprise.license\" | get-text-viewer] {\n set-caret-pos 3 5\n}'"
* @generated
*/
public interface SetCaretPos 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#getSetCaretPos_Control()
* @model required="true"
* 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.SetCaretPos#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>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(int)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getSetCaretPos_Line()
* @model
* @generated
*/
int getLine();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.SetCaretPos#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(int value);
/**
* Returns the value of the '<em><b>Column</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Column</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Column</em>' attribute.
* @see #setColumn(int)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getSetCaretPos_Column()
* @model
* @generated
*/
int getColumn();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.SetCaretPos#getColumn <em>Column</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Column</em>' attribute.
* @see #getColumn()
* @generated
*/
void setColumn(int value);
} // SetCaretPos