Groovy Documentation

griffon.plugins.slideware
[Groovy] Class GroovyCodeEditorController

java.lang.Object
  groovy.lang.GroovyObjectSupport
      org.codehaus.griffon.runtime.core.AbstractGriffonArtifact
          org.codehaus.griffon.runtime.core.AbstractGriffonMvcArtifact
              org.codehaus.griffon.runtime.core.AbstractGriffonController
                  griffon.plugins.slideware.GroovyCodeEditorController

class GroovyCodeEditorController
extends AbstractGriffonController

Authors:
Andres Almiray


Field Summary
private int maxOutputChars

private int scriptCount

private GroovyShell shell

private SystemOutputInterceptor systemOutInterceptor

 
Property Summary
def model

def runAction

def view

 
Constructor Summary
GroovyCodeEditorController()

 
Method Summary
private void appendOutput(String text, AttributeSet style)

private void appendOutput(Object object, AttributeSet style)

private void appendOutputNl(def text, def style)

private void appendStacktrace(def text)

private void clearOutput()

private void ensureNoDocLengthOverflow(def doc)

private void finishException(def t)

private void finishNormal(def result)

void mvcGroupInit(Map args)

private void popOutputWindow()

private void reportException(Throwable t)

 
Methods inherited from class AbstractGriffonController
mvcGroupInit, mvcGroupDestroy, getResourceAsStream, newInstance, getResources, getMetaClass, setMetaClass, getLog, isUIThread, execAsync, execSync, execOutside, execInsideUIAsync, execInsideUISync, execOutsideUI, execFuture, execFuture, execFuture, execFuture, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, destroyMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, getResourceAsURL, getGriffonClass, getApp, metaClassOf, setApp, setProperty, getProperty, invokeMethod, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class AbstractGriffonMvcArtifact
mvcGroupInit, mvcGroupDestroy, getResourceAsStream, newInstance, getResources, getMetaClass, setMetaClass, getLog, isUIThread, execAsync, execSync, execOutside, execInsideUIAsync, execInsideUISync, execOutsideUI, execFuture, execFuture, execFuture, execFuture, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, destroyMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, getResourceAsURL, getGriffonClass, getApp, metaClassOf, setApp, setProperty, getProperty, invokeMethod, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

maxOutputChars

private int maxOutputChars


scriptCount

private int scriptCount


shell

private GroovyShell shell


systemOutInterceptor

private SystemOutputInterceptor systemOutInterceptor


 
Property Detail

model

def model


runAction

def runAction


view

def view


 
Constructor Detail

GroovyCodeEditorController

GroovyCodeEditorController()


 
Method Detail

appendOutput

private void appendOutput(String text, AttributeSet style)


appendOutput

private void appendOutput(Object object, AttributeSet style)


appendOutputNl

private void appendOutputNl(def text, def style)


appendStacktrace

private void appendStacktrace(def text)


clearOutput

private void clearOutput()


ensureNoDocLengthOverflow

private void ensureNoDocLengthOverflow(def doc)


finishException

@Threading(Threading.Policy.INSIDE_UITHREAD_ASYNC)
private void finishException(def t)


finishNormal

@Threading(Threading.Policy.INSIDE_UITHREAD_ASYNC)
private void finishNormal(def result)


mvcGroupInit

void mvcGroupInit(Map args)


popOutputWindow

@Threading(Threading.Policy.INSIDE_UITHREAD_ASYNC)
private void popOutputWindow()


reportException

private void reportException(Throwable t)


 

Groovy Documentation