aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2012-08-23 00:32:25 (EDT)
committerzzhongwei2012-08-23 00:32:25 (EDT)
commitaf2b654f9ae4ab7f91159d1ccea93adeb7a3ce72 (patch)
treef47a9f8863f158b67e39a390e7127b01dd36d154
parent2ec8163cf7fc2dad3328e88c0ef7bd4470c4a5f4 (diff)
downloadorg.eclipse.pdt-af2b654f9ae4ab7f91159d1ccea93adeb7a3ce72.zip
org.eclipse.pdt-af2b654f9ae4ab7f91159d1ccea93adeb7a3ce72.tar.gz
org.eclipse.pdt-af2b654f9ae4ab7f91159d1ccea93adeb7a3ce72.tar.bz2
387854: preferences -> php -> editor -> content assist -> options ->
Show variables from ... options should not be checked at the same time. https://bugs.eclipse.org/bugs/show_bug.cgi?id=387854
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/PHPContentAssistOptionsConfigurationBlock.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/PHPContentAssistOptionsConfigurationBlock.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/PHPContentAssistOptionsConfigurationBlock.java
index b8c71f2..2e6508d 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/PHPContentAssistOptionsConfigurationBlock.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/PHPContentAssistOptionsConfigurationBlock.java
@@ -107,6 +107,9 @@ public class PHPContentAssistOptionsConfigurationBlock extends
super.initializeValues();
completionOverrideRadioButton.setSelection(!completionInsertRadioButton
.getSelection());
+ if (showVariableFromOtherFilesCheckBox.getSelection()) {
+ showVariableFromReferencedFilesCheckBox.setEnabled(false);
+ }
}
@Override