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));
}
Aggregations