Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2007-01-31 23:24:05 +0000
committerChris Goldthorpe2007-01-31 23:24:05 +0000
commit57df5b35a23d85f1f6bf7726fdc847094cac78d8 (patch)
treed0360abebb018b77a918f072f3ed5605d460d34e /org.eclipse.ui.cheatsheets/src/org
parent24bd925d769b8ec9c88782c3d130c8394eab27a3 (diff)
downloadeclipse.platform.ua-57df5b35a23d85f1f6bf7726fdc847094cac78d8.tar.gz
eclipse.platform.ua-57df5b35a23d85f1f6bf7726fdc847094cac78d8.tar.xz
eclipse.platform.ua-57df5b35a23d85f1f6bf7726fdc847094cac78d8.zip
Set OK/Cancel button in response to URL typein.
Diffstat (limited to 'org.eclipse.ui.cheatsheets/src/org')
-rw-r--r--org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/dialogs/CheatSheetCategoryBasedSelectionDialog.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/dialogs/CheatSheetCategoryBasedSelectionDialog.java b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/dialogs/CheatSheetCategoryBasedSelectionDialog.java
index 359761160..271c757ce 100644
--- a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/dialogs/CheatSheetCategoryBasedSelectionDialog.java
+++ b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/dialogs/CheatSheetCategoryBasedSelectionDialog.java
@@ -344,10 +344,11 @@ public class CheatSheetCategoryBasedSelectionDialog extends TrayDialog //extends
treeViewer.getTree().setFocus();
Dialog.applyDialogFont(outerContainer);
- selectFileCombo.addModifyListener(new FileTextListener());
+ selectFileCombo.addModifyListener(new FileAndUrlListener());
browseFileButton.addSelectionListener(new BrowseListener());
selectRegisteredRadio.addSelectionListener(new RadioSelectionListener());
selectUrlRadio.addSelectionListener(new RadioSelectionListener());
+ selectUrlCombo.addModifyListener(new FileAndUrlListener());
checkRadioButtons();
return outerContainer;
}
@@ -385,7 +386,7 @@ public class CheatSheetCategoryBasedSelectionDialog extends TrayDialog //extends
}
}
- private class FileTextListener implements ModifyListener {
+ private class FileAndUrlListener implements ModifyListener {
public void modifyText(ModifyEvent e) {
setOkButton();

Back to the top