Package com.sun.star.script.framework.provider.oorexx

# Class ScriptSourceModel

java.lang.Object
com.sun.star.script.framework.provider.oorexx.ScriptSourceModel

public class ScriptSourceModel extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ScriptSourceModel(URL file)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `clearErrorLine()`
  `Object`
  `execute(com.sun.star.script.provider.XScriptContext xScriptContext, ClassLoader cl, com.sun.star.script.framework.container.ScriptMetaData metaData)`
  This method will be used to execute a script/macro if the user chooses "Run" from the editor window.
  `int`
  `getCurrentPosition()`
  `String`
  `getText()`
  `void`
  `indicateErrorLine(int lineNum)`
  `void`
  `setView(ScriptSourceView view)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ScriptSourceModel

    public ScriptSourceModel(URL file)

- ## Method Details

  - ### getText

    public String getText()

  - ### getCurrentPosition

    public int getCurrentPosition()

  - ### setView

    public void setView(ScriptSourceView view)

  - ### execute

    public Object execute(com.sun.star.script.provider.XScriptContext xScriptContext, ClassLoader cl, com.sun.star.script.framework.container.ScriptMetaData metaData) throws Exception
    This method will be used to execute a script/macro if the user chooses "Run" from the editor window.
    Throws:
      `Exception`

  - ### indicateErrorLine

    public void indicateErrorLine(int lineNum)

  - ### clearErrorLine

    public void clearErrorLine()