1 11 package org.eclipse.debug.internal.ui.launchConfigurations; 12 13 import org.eclipse.debug.internal.ui.DebugUIPlugin; 14 import org.eclipse.jface.action.Action; 15 16 19 public class OrganizeFavoritesAction extends Action { 20 21 private String fGroupId; 23 24 27 public OrganizeFavoritesAction(String launchGroupId) { 28 super(LaunchConfigurationsMessages.OrganizeFavoritesAction_0); 29 fGroupId = launchGroupId; 30 } 31 32 35 public void run() { 36 LaunchHistory history = DebugUIPlugin.getDefault().getLaunchConfigurationManager().getLaunchHistory(fGroupId); 37 FavoritesDialog dialog = new FavoritesDialog(DebugUIPlugin.getShell(), history); 38 dialog.open(); 39 } 40 41 } 42 | Popular Tags |