use of org.gradle.gradleplugin.userinterface.swing.generic.SwingAddMultipleFavoritesInteraction in project gradle by gradle.
the class TaskTreeTab method addSelectedToFavorites.
/**
* Adds whatever is selected to the favorites.
*/
private void addSelectedToFavorites() {
List<TaskView> tasks = treeComponent.getSelectedTasks();
gradlePluginLord.getFavoritesEditor().addMutlipleFavorites(tasks, false, new SwingAddMultipleFavoritesInteraction(SwingUtilities.getWindowAncestor(mainPanel)));
}
Aggregations