List of usage examples for weka.gui.scripting GroovyScript GroovyScript
public GroovyScript(Document doc)
From source file:org.pentaho.dm.kf.GroovyComponentCustomizer.java
License:Open Source License
public void setObject(Object object) { m_groovyP = (GroovyComponent) object; m_script = new GroovyScript(m_textPane.getDocument()); String script = m_groovyP.getScript(); if (script != null && script.length() > 0) { m_script.setContent(script);//from w w w. ja v a 2s . c o m } }