.equals(property)) {
ISourceViewer sourceViewer = getSourceViewer();
if (sourceViewer != null) {
PHPStructuredTextViewerConfiguration configuration = (PHPStructuredTextViewerConfiguration) getSourceViewerConfiguration();
if (configuration != null) {
StructuredContentAssistant contentAssistant = (StructuredContentAssistant) configuration
.getPHPContentAssistant(sourceViewer);
IPreferencesService preferencesService = Platform
.getPreferencesService();
contentAssistant
.enableAutoActivation(preferencesService
.getBoolean(
PHPCorePlugin.ID,
PHPCoreConstants.CODEASSIST_AUTOACTIVATION,
false, null));
contentAssistant
.setAutoActivationDelay(preferencesService
.getInt(PHPCorePlugin.ID,
PHPCoreConstants.CODEASSIST_AUTOACTIVATION_DELAY,
0, null));
contentAssistant
.enableAutoInsert(preferencesService
.getBoolean(
PHPCorePlugin.ID,
PHPCoreConstants.CODEASSIST_AUTOINSERT,
false, null));