public class OutputPanelLord extends Object implements OutputUILord, GradlePluginLord.RequestObserver, OutputPanel.OutputPanelParent
OutputUILord.OutputObserver| Constructor and Description |
|---|
OutputPanelLord(GradlePluginLord gradlePluginLord,
AlternateUIInteraction alternateUIInteraction) |
| Modifier and Type | Method and Description |
|---|---|
void |
aboutToExecuteRequest(Request request)
Notification that a command is about to be executed.
|
void |
addOutputObserver(OutputUILord.OutputObserver observer,
boolean inEventQueue) |
void |
executeAgain(Request request,
OutputPanel outputPanel) |
void |
executionRequestAdded(ExecutionRequest request) |
FileLinkDefinitionLord |
getFileLinkDefinitionLord() |
JPanel |
getMainPanel() |
boolean |
getOnlyShowOutputOnErrors() |
Font |
getOutputTextFont() |
int |
getTabCount() |
boolean |
isBusy()
Determines if any tasks are currently being run.
|
void |
reExecuteLastCommand() |
void |
refreshRequestAdded(RefreshTaskListRequest request) |
void |
removeOutputObserver(OutputUILord.OutputObserver observer) |
void |
removeOutputPanel(OutputPanel outputPanel) |
void |
reportExecuteFinished(Request request,
boolean wasSuccessful) |
void |
requestExecutionComplete(Request request,
int result,
String output)
Notification that the command has completed execution.
|
void |
setOnlyShowOutputOnErrors(boolean value) |
void |
setOutputTextFont(Font font)
Sets the font for the output text
|
public OutputPanelLord(GradlePluginLord gradlePluginLord, AlternateUIInteraction alternateUIInteraction)
public JPanel getMainPanel()
public boolean isBusy()
public void setOnlyShowOutputOnErrors(boolean value)
setOnlyShowOutputOnErrors in interface OutputUILordpublic boolean getOnlyShowOutputOnErrors()
getOnlyShowOutputOnErrors in interface OutputUILordpublic void executeAgain(Request request, OutputPanel outputPanel)
executeAgain in interface OutputPanel.OutputPanelParentpublic void reportExecuteFinished(Request request, boolean wasSuccessful)
reportExecuteFinished in interface OutputPanel.OutputPanelParentpublic void removeOutputPanel(OutputPanel outputPanel)
removeOutputPanel in interface OutputPanel.OutputPanelParentpublic void executionRequestAdded(ExecutionRequest request)
executionRequestAdded in interface GradlePluginLord.RequestObserverpublic void refreshRequestAdded(RefreshTaskListRequest request)
refreshRequestAdded in interface GradlePluginLord.RequestObserverpublic void aboutToExecuteRequest(Request request)
aboutToExecuteRequest in interface GradlePluginLord.RequestObserverrequest - the request to be executedpublic void requestExecutionComplete(Request request, int result, String output)
requestExecutionComplete in interface GradlePluginLord.RequestObserverrequest - the original request containing the command that was executedresult - the result of the commandoutput - the output from gradle executing the commandpublic void addOutputObserver(OutputUILord.OutputObserver observer, boolean inEventQueue)
addOutputObserver in interface OutputUILordpublic void removeOutputObserver(OutputUILord.OutputObserver observer)
removeOutputObserver in interface OutputUILordpublic int getTabCount()
getTabCount in interface OutputUILordpublic void setOutputTextFont(Font font)
setOutputTextFont in interface OutputUILordfont - the new fontpublic Font getOutputTextFont()
getOutputTextFont in interface OutputUILordpublic FileLinkDefinitionLord getFileLinkDefinitionLord()
getFileLinkDefinitionLord in interface OutputPanel.OutputPanelParentgetFileLinkDefinitionLord in interface OutputUILordpublic void reExecuteLastCommand()
reExecuteLastCommand in interface OutputUILordCopyright © 2013. All rights reserved