mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
make it clear that the action if for "C Local Appliation"
This commit is contained in:
parent
50c8567614
commit
78f2019cdd
2 changed files with 8 additions and 8 deletions
|
@ -70,7 +70,7 @@
|
|||
<extension
|
||||
point="org.eclipse.debug.ui.launchShortcuts">
|
||||
<shortcut
|
||||
label="C Application"
|
||||
label="C Local Application"
|
||||
icon="icons/c_app.gif"
|
||||
modes="run, debug"
|
||||
class="org.eclipse.cdt.launch.internal.CApplicationLaunchShortcut"
|
||||
|
|
|
@ -256,11 +256,11 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut {
|
|||
protected IBinary chooseBinary(List binList, String mode) {
|
||||
ElementListSelectionDialog dialog = new ElementListSelectionDialog(getShell(), new WorkbenchLabelProvider());
|
||||
dialog.setElements(binList.toArray());
|
||||
dialog.setTitle("C ApplicationAction"); //$NON-NLS-1$
|
||||
dialog.setTitle("C Local Application"); //$NON-NLS-1$
|
||||
if (mode.equals(ILaunchManager.DEBUG_MODE)) {
|
||||
dialog.setMessage("Choose an application to debug"); //$NON-NLS-1$
|
||||
dialog.setMessage("Choose a local application to debug"); //$NON-NLS-1$
|
||||
} else {
|
||||
dialog.setMessage("Choose an application to run"); //$NON-NLS-1$
|
||||
dialog.setMessage("Choose a local application to run"); //$NON-NLS-1$
|
||||
}
|
||||
dialog.setMultipleSelection(false);
|
||||
if (dialog.open() == ElementListSelectionDialog.OK) {
|
||||
|
@ -313,11 +313,11 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut {
|
|||
} catch (InterruptedException e) {
|
||||
return;
|
||||
} catch (InvocationTargetException e) {
|
||||
MessageDialog.openError(getShell(), "C Application Launcher", e.getMessage());
|
||||
MessageDialog.openError(getShell(), "C Local Application Launcher", e.getMessage());
|
||||
return;
|
||||
}
|
||||
if (results.size() == 0) {
|
||||
MessageDialog.openError(getShell(), "C Application Launcher", "Launch failed no binaries");
|
||||
MessageDialog.openError(getShell(), "C Local Application Launcher", "Launch failed no binaries");
|
||||
} else {
|
||||
IBinary bin = chooseBinary(results, mode);
|
||||
if (bin != null) {
|
||||
|
@ -325,8 +325,8 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
MessageDialog.openError(getShell(), "C Application Launcher", "Launch failed no project selected");
|
||||
MessageDialog.openError(getShell(), "C Local Application Launcher", "Launch failed no project selected");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue