Search in sources :

Example 1 with SwingEditFavoriteInteraction

use of org.gradle.gradleplugin.userinterface.swing.generic.SwingEditFavoriteInteraction in project gradle by gradle.

the class FavoriteTasksTab method editTask.

private void editTask() {
    FavoriteTask selectedFavoriteTask = getFirstSelectedFavoriteTask();
    //if the user has kept these two in synch, we'll continue to keep them in synch.
    favoritesEditor.editFavorite(selectedFavoriteTask, new SwingEditFavoriteInteraction(SwingUtilities.getWindowAncestor(mainPanel), "Edit Favorite", SwingEditFavoriteInteraction.SynchronizeType.OnlyIfAlreadySynchronized));
}
Also used : SwingEditFavoriteInteraction(org.gradle.gradleplugin.userinterface.swing.generic.SwingEditFavoriteInteraction) FavoriteTask(org.gradle.gradleplugin.foundation.favorites.FavoriteTask)

Aggregations

FavoriteTask (org.gradle.gradleplugin.foundation.favorites.FavoriteTask)1 SwingEditFavoriteInteraction (org.gradle.gradleplugin.userinterface.swing.generic.SwingEditFavoriteInteraction)1