Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2007-03-13 20:01:09 +0000
committerMichael Rennie2007-03-13 20:01:09 +0000
commit90668de6f9384d87b6528385630c140a5e8d05bf (patch)
tree64a7f4b6a16533dc2ac5668d2ee166d39973ce29 /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java
parent3a4ee75206dd9ecb6acfdea6bf2d6a37181118b0 (diff)
downloadeclipse.platform.debug-90668de6f9384d87b6528385630c140a5e8d05bf.tar.gz
eclipse.platform.debug-90668de6f9384d87b6528385630c140a5e8d05bf.tar.xz
eclipse.platform.debug-90668de6f9384d87b6528385630c140a5e8d05bf.zip
Bug 176440
Add optional description attribute to launch shortcuts
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java
index adfac45dd..f4cafc0b3 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java
@@ -142,7 +142,7 @@ public class LaunchShortcutSelectionDialog extends ListDialog {
}
});
}
-
+
/**
* @see org.eclipse.ui.dialogs.ListDialog#createDialogArea(org.eclipse.swt.widgets.Composite)
*/
@@ -163,7 +163,7 @@ public class LaunchShortcutSelectionDialog extends ListDialog {
public void widgetSelected(SelectionEvent e) {
Object o = e.item.getData();
if(o instanceof LaunchShortcutExtension) {
- String txt = ((LaunchShortcutExtension)o).getShortcutDescription();
+ String txt = ((LaunchShortcutExtension)o).getShortcutDescription(fMode);
fDescriptionText.setText((txt == null ? LaunchConfigurationsMessages.LaunchShortcutSelectionDialog_3 : txt));
}
}

Back to the top