Package adams.core.scripting
Class RScript
- java.lang.Object
-
- adams.core.base.BaseObject
-
- adams.core.base.AbstractBaseString
-
- adams.gui.core.AbstractSimpleScript
-
- adams.core.scripting.RScript
-
- All Implemented Interfaces:
adams.core.CloneHandler<adams.core.base.BaseObject>
,Serializable
,Comparable
public class RScript extends adams.gui.core.AbstractSimpleScript
Wrapper for a R scripts to be editable in the GOE.- Version:
- $Revision$
- Author:
- rsmith
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowsInlineEditing()
Returns whether inline editing in the GOE is allowed.protected String
getScriptTipText()
Returns the tip text for the script.adams.gui.core.AbstractTextEditorPanelWithSimpleSyntaxHighlighting
getTextEditorPanel()
Returns the configured text editor panel to use in the GOE.-
Methods inherited from class adams.core.base.AbstractBaseString
convert, getValue, initialize, isEmpty, isValid, length, setValue
-
-
-
-
Constructor Detail
-
RScript
public RScript()
Initializes the string with length 0.
-
RScript
public RScript(String s)
Initializes the object with the string to parse.- Parameters:
s
- the string to parse
-
-
Method Detail
-
getScriptTipText
protected String getScriptTipText()
Returns the tip text for the script.- Specified by:
getScriptTipText
in classadams.gui.core.AbstractSimpleScript
- Returns:
- the tool tip
-
getTextEditorPanel
public adams.gui.core.AbstractTextEditorPanelWithSimpleSyntaxHighlighting getTextEditorPanel()
Returns the configured text editor panel to use in the GOE.- Specified by:
getTextEditorPanel
in classadams.gui.core.AbstractSimpleScript
- Returns:
- the text editor panel
-
allowsInlineEditing
public boolean allowsInlineEditing()
Returns whether inline editing in the GOE is allowed.- Specified by:
allowsInlineEditing
in classadams.gui.core.AbstractSimpleScript
- Returns:
- true if inline editing is allowed
-
-