public class BuildTreeConsoleView extends java.lang.Object implements ConsoleView, DataProvider, BuildConsoleView, Filterable<ExecutionNode>, OccurenceNavigator
Disposable.Parent
OccurenceNavigator.OccurenceInfo
CONSOLE_CONTENT_ID
UNKNOWN_BUILD_ID
EMPTY
Constructor and Description |
---|
BuildTreeConsoleView(Project project,
BuildDescriptor buildDescriptor,
ExecutionConsole executionConsole,
BuildViewSettingsProvider buildViewSettingsProvider) |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(java.util.function.Predicate<ExecutionNode> executionTreeFilter) |
void |
addMessageFilter(Filter filter) |
void |
allowHeavyFilters() |
void |
attachToProcess(ProcessHandler processHandler) |
boolean |
canPause() |
void |
clear() |
boolean |
contains(java.util.function.Predicate<ExecutionNode> filter) |
AnAction [] |
createConsoleActions() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
javax.swing.JComponent |
getComponent() |
int |
getContentSize() |
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
java.util.function.Predicate<ExecutionNode> |
getFilter() |
java.lang.String |
getNextOccurenceActionName() |
javax.swing.JComponent |
getPreferredFocusableComponent() |
java.lang.String |
getPreviousOccurenceActionName() |
java.lang.String |
getSelectedNodeConsoleText() |
javax.swing.JTree |
getTree() |
OccurenceNavigator.OccurenceInfo |
goNextOccurence() |
OccurenceNavigator.OccurenceInfo |
goPreviousOccurence() |
boolean |
hasDeferredOutput() |
boolean |
hasNextOccurence() |
boolean |
hasPreviousOccurence() |
void |
hideRootNode() |
Promise<?> |
invokeLater(java.lang.Runnable task) |
boolean |
isDisposed() |
boolean |
isFilteringEnabled() |
boolean |
isOutputPaused() |
void |
onEvent(java.lang.Object buildId,
BuildEvent event) |
void |
performWhenNoDeferredOutput(java.lang.Runnable runnable) |
void |
print(java.lang.String text,
ConsoleViewContentType contentType) |
void |
printHyperlink(java.lang.String hyperlinkText,
HyperlinkInfo info) |
void |
removeFilter(java.util.function.Predicate<ExecutionNode> filter) |
void |
scrollTo(int offset) |
void |
setHelpId(java.lang.String helpId) |
void |
setOutputPaused(boolean value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requestScrollingToEnd
onEvent
public BuildTreeConsoleView(Project project, BuildDescriptor buildDescriptor, ExecutionConsole executionConsole, BuildViewSettingsProvider buildViewSettingsProvider)
public void clear()
clear
in interface ConsoleView
public boolean isFilteringEnabled()
isFilteringEnabled
in interface Filterable<ExecutionNode>
public java.util.function.Predicate<ExecutionNode> getFilter()
getFilter
in interface Filterable<ExecutionNode>
public void addFilter(java.util.function.Predicate<ExecutionNode> executionTreeFilter)
addFilter
in interface Filterable<ExecutionNode>
public void removeFilter(java.util.function.Predicate<ExecutionNode> filter)
removeFilter
in interface Filterable<ExecutionNode>
public boolean contains(java.util.function.Predicate<ExecutionNode> filter)
contains
in interface Filterable<ExecutionNode>
public void print(java.lang.String text, ConsoleViewContentType contentType)
print
in interface ConsoleView
public java.lang.String getSelectedNodeConsoleText()
public boolean hasNextOccurence()
hasNextOccurence
in interface OccurenceNavigator
public boolean hasPreviousOccurence()
hasPreviousOccurence
in interface OccurenceNavigator
public OccurenceNavigator.OccurenceInfo goNextOccurence()
goNextOccurence
in interface OccurenceNavigator
public OccurenceNavigator.OccurenceInfo goPreviousOccurence()
goPreviousOccurence
in interface OccurenceNavigator
public java.lang.String getNextOccurenceActionName()
getNextOccurenceActionName
in interface OccurenceNavigator
public java.lang.String getPreviousOccurenceActionName()
getPreviousOccurenceActionName
in interface OccurenceNavigator
public void scrollTo(int offset)
scrollTo
in interface ConsoleView
public void attachToProcess(ProcessHandler processHandler)
attachToProcess
in interface ConsoleView
public boolean isOutputPaused()
isOutputPaused
in interface ConsoleView
public void setOutputPaused(boolean value)
setOutputPaused
in interface ConsoleView
public boolean hasDeferredOutput()
hasDeferredOutput
in interface ConsoleView
public void performWhenNoDeferredOutput(java.lang.Runnable runnable)
performWhenNoDeferredOutput
in interface ConsoleView
public void setHelpId(java.lang.String helpId)
setHelpId
in interface ConsoleView
public void addMessageFilter(Filter filter)
addMessageFilter
in interface ConsoleView
public void printHyperlink(java.lang.String hyperlinkText, HyperlinkInfo info)
printHyperlink
in interface ConsoleView
public int getContentSize()
getContentSize
in interface ConsoleView
public boolean canPause()
canPause
in interface ConsoleView
public AnAction [] createConsoleActions()
createConsoleActions
in interface ConsoleView
public void allowHeavyFilters()
allowHeavyFilters
in interface ConsoleView
public javax.swing.JComponent getComponent()
getComponent
in interface ComponentContainer
public javax.swing.JComponent getPreferredFocusableComponent()
getPreferredFocusableComponent
in interface ComponentContainer
public void dispose()
Disposable
dispose
in interface Disposable
public boolean isDisposed()
public void onEvent(java.lang.Object buildId, BuildEvent event)
onEvent
in interface BuildProgressListener
public void hideRootNode()
public java.lang.Object getData(java.lang.String dataId)
DataProvider
PlatformDataKeys
class.getData
in interface DataProvider
dataId
- the data identifier for which the value is requested.public javax.swing.JTree getTree()
public Promise<?> invokeLater(java.lang.Runnable task)