public class ScriptOutputService extends BaseService
BaseService.OnStart, BaseService.OnStop, BaseService.UiAction, BaseService.UiActionBase, BaseService.UiActionField, BaseService.UiActionMethod, BaseService.UiMenu| Modifier and Type | Field and Description |
|---|---|
protected Action |
configureOutputAction |
protected WeakReference<ScriptTextOutput> |
defaultScriptTextOutput |
protected WeakHashMap<ScriptTextOutput,Boolean> |
listenForClose |
protected MapDB2Service |
mapDB2Service |
protected Format |
scriptErrorFormat |
protected WeakHashMap<ScriptTextOutput,StyledWriter> |
scriptErrorWriterMap |
protected Format |
scriptOutputFormat |
protected WeakHashMap<TextDocument,ScriptTextOutput> |
scriptOutputMap |
protected WeakHashMap<ScriptTextOutput,StyledWriter> |
scriptOutputWriterMap |
protected ScriptService |
scriptService |
protected ScriptTextOutputFactory |
scriptTextOutputFactory |
protected CloseableSet |
shutdownSet |
protected Action |
toggleClearOnRunAction |
actionFieldSet, actionMethodSet, initUiActionsSuccess, MENU_FIELD_NAME, runningstartCallLevel, startStopSync, stopCallLevelserviceEventQueue| Constructor and Description |
|---|
ScriptOutputService() |
buttonGroup, getActionFieldSet, getActionMethodSet, getActionsService, getButtonGroup, getMenuService, getStartableMethodsList, getStartableMethodsMap, getStoppableMethodsList, getStoppableMethodsMap, initUiActionError, initUiActions, isRunning, onStart, onStopfireStarted, fireStarting, fireStopped, fireStopping, getServiceByStopper, getServiceDependencies, isDetectCycleStart, isDetectCycleStop, onResolvedDependencies, start, stop, stopByDependencyaddServiceEvent, addServiceListener, addServiceListener, findFirstService, findServices, findServices, findServices, fireServiceEvent, fireServiceEvents, getConsole, getFieldDependencies, getInitDependenciesCallCount, getServiceListeners, getUnresolvedDependencies, hasServiceListener, init, initDependencies, instances, isResolvedDependencies, listeners, onInitServicesEnd, removeServiceListener, resolveDependecyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitaddServiceEvent, addServiceListener, addServiceListener, fireServiceEvents, getServiceListeners, hasServiceListener, removeServiceListenerprotected ScriptService scriptService
protected MapDB2Service mapDB2Service
protected final CloseableSet shutdownSet
protected volatile ScriptTextOutputFactory scriptTextOutputFactory
protected WeakReference<ScriptTextOutput> defaultScriptTextOutput
protected volatile WeakHashMap<TextDocument,ScriptTextOutput> scriptOutputMap
protected final WeakHashMap<ScriptTextOutput,Boolean> listenForClose
protected volatile WeakHashMap<ScriptTextOutput,StyledWriter> scriptOutputWriterMap
protected volatile WeakHashMap<ScriptTextOutput,StyledWriter> scriptErrorWriterMap
protected volatile Format scriptOutputFormat
protected volatile Format scriptErrorFormat
protected Action toggleClearOnRunAction
protected Action configureOutputAction
public ScriptService getScriptService()
public ObjectBrowserService getObjectBrowserService()
public DockingService getDockingService()
public PropertiesService getPropertiesService()
public SystemOutService getSystemOutService()
public Notify getNotify()
protected void starting()
protected void stopping()
public ScriptTextOutputFactory getScriptTextOutputFactory()
protected void initDockFactory(DockingService ds)
public ScriptTextOutput getDefaultScriptTextOutput()
public WeakHashMap<TextDocument,ScriptTextOutput> getScriptOutputMap()
public ScriptTextOutput getActiveScriptTextOutput()
public DockingService.DockableList<ScriptTextOutput> getScriptTextOutputs()
public DockingService.DockableList<ScriptTextOutput> getScriptTextOutputHistory()
public ScriptOutputConf getConf()
public ScriptTextOutput scriptTextOutput(TextDocument textDoc)
textDoc - текстовый документpublic void onScriptTextOutputFocusGained(ScriptTextOutput sto)
protected void configureTitle(ScriptTextOutput sto, TextDocument textDoc)
public WeakHashMap<ScriptTextOutput,StyledWriter> getScriptOutputWriterMap()
public StyledWriter scriptWriter(ScriptTextOutput sto)
public StyledWriter scriptWriter(TextDocument tdoc)
public WeakHashMap<ScriptTextOutput,StyledWriter> getScriptErrorWriterMap()
public StyledWriter scriptErrorWriter(ScriptTextOutput sto)
public StyledWriter scriptErrorWriter(TextDocument tdoc)
public Format getScriptOutputFormat()
public Format getScriptErrorFormat()
public void toggleClearOnRun()
public void configureOutput()
public void configureOutput(ScriptTextOutput sto)
public void clearActiveOutput()
public void configureDefaults()
Copyright © 2018. All rights reserved.