public class TaskTreeTab extends Object implements GradleTab, GradlePluginLord.GeneralPluginObserver, GradlePluginLord.RequestObserver
| Constructor and Description |
|---|
TaskTreeTab(GradlePluginLord gradlePluginLord,
SettingsNode settingsNode,
AlternateUIInteraction alternateUIInteraction) |
| Modifier and Type | Method and Description |
|---|---|
void |
aboutToExecuteRequest(Request request)
Notification that a command is about to be executed.
|
void |
aboutToShow()
Notification that this component is about to be shown.
|
Component |
createComponent()
This is where we should create the component.
|
void |
executionRequestAdded(ExecutionRequest request) |
String |
getName() |
void |
projectsAndTasksReloaded(boolean wasSuccessful)
Notification that the projects and tasks have been reloaded.
|
void |
refreshRequestAdded(RefreshTaskListRequest request) |
void |
requestExecutionComplete(Request request,
int result,
String output)
Notification that the command has completed execution.
|
void |
setupUI() |
void |
startingProjectsAndTasksReload()
Notification that we're about to reload the projects and tasks.
|
public TaskTreeTab(GradlePluginLord gradlePluginLord, SettingsNode settingsNode, AlternateUIInteraction alternateUIInteraction)
public String getName()
public Component createComponent()
GradleTabcreateComponent in interface GradleTabpublic void aboutToShow()
aboutToShow in interface GradleTabpublic void setupUI()
public 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 that's about to be executed.public 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 startingProjectsAndTasksReload()
startingProjectsAndTasksReload in interface GradlePluginLord.GeneralPluginObserverpublic void projectsAndTasksReloaded(boolean wasSuccessful)
projectsAndTasksReloaded in interface GradlePluginLord.GeneralPluginObserverwasSuccessful - true if they were successfully reloaded. False if an error occurred so we no longer can show the projects and tasks (probably an error in a .gradle file).Copyright © 2013. All rights reserved