| <?xml version="1.0" encoding="UTF-8"?> |
| <ecore:EPackage xmi:version="2.0" |
| xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="interop" |
| nsURI="http://www.eclipse.org/ecl/interop.ecore" nsPrefix="org.eclipse.rcptt.ecl.core"> |
| <eClassifiers xsi:type="ecore:EClass" name="Invoke" eSuperTypes="../../org.eclipse.rcptt.ecl.core/model/ecl.ecore#//Command"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Invokes method on Java object."/> |
| <details key="returns" value="Value returned by method."/> |
| <details key="example" value="get-eclipse-window | get-object | invoke setSize 700 700"/> |
| </eAnnotations> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="object" lowerBound="1" |
| eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EJavaObject"> |
| <eAnnotations source="http://www.eclipse.org/ecl/input"/> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Object to call the method on."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Name of the method to call. As a useful addtion, there are three pseudo-methods for arrays: <code>get <i>index</i></code>, <code>set <i>index value</i></code> and <code>length</code>."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="args" unique="false" upperBound="-1" |
| eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EJavaObject"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Variable number of arguments to the method."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="ExecProcess" eSuperTypes="../../org.eclipse.rcptt.ecl.core/model/ecl.ecore#//Command"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Executes shell command."/> |
| <details key="returns" value="ExecProcessResult filled with execution results: exit code, captured stdout and stderr."/> |
| <details key="example" value="exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/MistypeClassName.sikuli}\""]"-s"-ignoreExitCode"/> |
| </eAnnotations> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="command" lowerBound="1" |
| eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Shell command to execute."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="args" upperBound="-1" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Arguments for the command."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeout" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt" |
| defaultValueLiteral="60"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Timeout period in seconds. Use zero timeout (<code>-timeout 0</code>) for infinite timeout."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="ignoreExitCode" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean" |
| defaultValueLiteral="false"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="If set to true, command will not fail with error message if non-zero exit code returned."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="ignoreStderr" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean" |
| defaultValueLiteral="false"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="If set to true, command will not fail with error message if stderr is not empty."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="stdin" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"> |
| <eAnnotations source="http://www.eclipse.org/ecl/input"/> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="String to send to stdin of executed command."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="ExecProcessResult"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="exitCode" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="stdout" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="stderr" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="GetMemoryUsage" eSuperTypes="../../org.eclipse.rcptt.ecl.core/model/ecl.ecore#//Command"/> |
| <eClassifiers xsi:type="ecore:EClass" name="GetJavaProperty" eSuperTypes="../../org.eclipse.rcptt.ecl.core/model/ecl.ecore#//Command"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Gets the Java system property indicated by the specified key."/> |
| <details key="returns" value="The string value of the system property."/> |
| <details key="example" value="get-java-property "java.home" | log"/> |
| </eAnnotations> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="key" lowerBound="1" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="The name of the system property."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="default" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Default value to use if there is no property with the key."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="InvokeStatic" eSuperTypes="../../org.eclipse.rcptt.ecl.core/model/ecl.ecore#//Command"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="pluginId" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="className" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="methodName" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="args" unique="false" upperBound="-1" |
| eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EJavaObject"> |
| <eAnnotations source="http://www.eclipse.org/ecl/docs"> |
| <details key="description" value="Variable number of arguments to the method."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="InvokeUi" eSuperTypes="#//Invoke"/> |
| </ecore:EPackage> |