blob: 95735d13fd00dc3e9bc5d83082272b4009a2005e [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>Select Range</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SelectRange#getControl <em>Control</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SelectRange#getLine <em>Line</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SelectRange#getColumn <em>Column</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SelectRange#getEndLine <em>End Line</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.ecl.model.SelectRange#getEndColumn <em>End Column</em>}</li>
* </ul>
*
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getSelectRange()
* @model annotation="http://www.eclipse.org/ecl/docs description='Sets the selection to the range specified by the given offset and length. If specified four parameters sets the selection by start line, offset in start line, end line and offset in end line.' returns='value of *control* parameter' example='with [get-editor \"file.txt\" | get-text-viewer] {\n select-range 1 2 5 8\n get-menu Cut | click\n}'"
* @generated
*/
public interface SelectRange 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#getSelectRange_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.SelectRange#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#getSelectRange_Line()
* @model
* @generated
*/
int getLine();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.SelectRange#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#getSelectRange_Column()
* @model
* @generated
*/
int getColumn();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.SelectRange#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);
/**
* Returns the value of the '<em><b>End Line</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>End 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>End Line</em>' attribute.
* @see #setEndLine(int)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getSelectRange_EndLine()
* @model
* @generated
*/
int getEndLine();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.SelectRange#getEndLine <em>End Line</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>End Line</em>' attribute.
* @see #getEndLine()
* @generated
*/
void setEndLine(int value);
/**
* Returns the value of the '<em><b>End Column</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>End 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>End Column</em>' attribute.
* @see #setEndColumn(int)
* @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getSelectRange_EndColumn()
* @model
* @generated
*/
int getEndColumn();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.SelectRange#getEndColumn <em>End Column</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>End Column</em>' attribute.
* @see #getEndColumn()
* @generated
*/
void setEndColumn(int value);
} // SelectRange