public class FavoriteTasksTab extends Object implements GradleTab, GradlePluginLord.GeneralPluginObserver, FavoritesEditor.FavoriteTasksObserver
| Constructor and Description |
|---|
FavoriteTasksTab(GradlePluginLord gradlePluginLord,
SettingsNode settingsNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
aboutToShow()
Notification that this component is about to be shown.
|
Component |
createComponent()
This is where we should create the component.
|
void |
favoritesChanged()
Notification that the favorites list has changed.
|
void |
favoritesReordered(List<FavoriteTask> favoritesReordered)
Notification that the favorites were re-ordered.
|
String |
getName() |
void |
projectsAndTasksReloaded(boolean wasSuccessful)
Notification that the projects and tasks have been reloaded.
|
void |
startingProjectsAndTasksReload()
Notification that we're about to reload the projects and tasks.
|
public FavoriteTasksTab(GradlePluginLord gradlePluginLord, SettingsNode settingsNode)
public String getName()
public Component createComponent()
GradleTabcreateComponent in interface GradleTabpublic void aboutToShow()
aboutToShow in interface GradleTabpublic 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).public void favoritesChanged()
favoritesChanged in interface FavoritesEditor.FavoriteTasksObserverpublic void favoritesReordered(List<FavoriteTask> favoritesReordered)
favoritesReordered in interface FavoritesEditor.FavoriteTasksObserverfavoritesReordered - the favorites that were reorderedCopyright © 2013. All rights reserved