Examples of StructuredContentAssistant


Examples of org.eclipse.wst.sse.ui.internal.contentassist.StructuredContentAssistant

    /*
     * Note: This method was made final so that StructuredContentAssist is
     * always used and content assist extension point always works.
     */
    if (fContentAssistant == null) {
      fContentAssistant = new StructuredContentAssistant();

      // content assistant configurations
      fContentAssistant.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));
      fContentAssistant.enableAutoActivation(true);
      fContentAssistant.setProposalPopupOrientation(IContentAssistant.PROPOSAL_OVERLAY);
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.contentassist.StructuredContentAssistant

    /*
     * Note: This method was made final so that StructuredContentAssist is
     * always used and content assist extension point always works.
     */
    if (fContentAssistant == null) {
      fContentAssistant = new StructuredContentAssistant();

      // content assistant configurations
      fContentAssistant.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));
      fContentAssistant.enableAutoActivation(true);
      fContentAssistant.setProposalPopupOrientation(IContentAssistant.PROPOSAL_OVERLAY);
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.contentassist.StructuredContentAssistant

                .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));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.