adams.core.scripting
Class RScript

java.lang.Object
  extended by adams.core.base.BaseObject
      extended by adams.core.base.AbstractBaseString
          extended by adams.gui.core.AbstractScript
              extended by adams.core.scripting.RScript
All Implemented Interfaces:
CloneHandler<BaseObject>, Serializable, Comparable

public class RScript
extends AbstractScript

Wrapper for a R scripts to be editable in the GOE.

Version:
$Revision$
Author:
rsmith
See Also:
Serialized Form

Field Summary
 
Fields inherited from class adams.core.base.BaseObject
m_Internal
 
Constructor Summary
RScript()
           
 
Method Summary
 boolean allowsInlineEditing()
          Returns whether inline editing in the GOE is allowed.
protected  String getScriptTipText()
          Returns the tip text for the script.
 AbstractTextEditorPanelWithSyntaxHighlighting getTextEditorPanel()
          Returns the configured text editor panel to use in the GOE.
 
Methods inherited from class adams.gui.core.AbstractScript
getTipText, stringValue
 
Methods inherited from class adams.core.base.AbstractBaseString
convert, getValue, isEmpty, isValid, setValue
 
Methods inherited from class adams.core.base.BaseObject
compareTo, equals, getClone, getInternal, hashCode, newInstance, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RScript

public RScript()
Method Detail

getScriptTipText

protected String getScriptTipText()
Returns the tip text for the script.

Specified by:
getScriptTipText in class AbstractScript
Returns:
the tool tip

getTextEditorPanel

public AbstractTextEditorPanelWithSyntaxHighlighting getTextEditorPanel()
Returns the configured text editor panel to use in the GOE.

Specified by:
getTextEditorPanel in class AbstractScript
Returns:
the text editor panel

allowsInlineEditing

public boolean allowsInlineEditing()
Returns whether inline editing in the GOE is allowed.

Specified by:
allowsInlineEditing in class AbstractScript
Returns:
true if inline editing is allowed


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.