Examples of enableAutoActivation()


Examples of org.apache.directory.studio.ldapbrowser.common.widgets.DialogContentAssistant.enableAutoActivation()

        // Content assist
        contentAssistProcessor = new ReturningAttributesContentAssistProcessor( new String[0] );
        DialogContentAssistant raca = new DialogContentAssistant();
        raca.enableAutoInsert( true );
        raca.enableAutoActivation( true );
        raca.setAutoActivationDelay( 500 );
        raca.setContentAssistProcessor( contentAssistProcessor, IDocument.DEFAULT_CONTENT_TYPE );
        raca.install( returningAttributesCombo );

        // History
View Full Code Here

Examples of org.apache.directory.studio.ldapbrowser.common.widgets.DialogContentAssistant.enableAutoActivation()

        // Content assist
        contentAssistProcessor = new ReturningAttributesContentAssistProcessor( null );
        DialogContentAssistant raca = new DialogContentAssistant();
        raca.enableAutoInsert( true );
        raca.enableAutoActivation( true );
        raca.setAutoActivationDelay( 500 );
        raca.setContentAssistProcessor( contentAssistProcessor, IDocument.DEFAULT_CONTENT_TYPE );
        raca.install( returningAttributesCombo );

        // History
View Full Code Here

Examples of org.apache.directory.studio.ldapbrowser.common.widgets.DialogContentAssistant.enableAutoActivation()

        // Content assist
        contentAssistProcessor = new ReturningAttributesContentAssistProcessor( null );
        DialogContentAssistant raca = new DialogContentAssistant();
        raca.enableAutoInsert( true );
        raca.enableAutoActivation( true );
        raca.setAutoActivationDelay( 500 );
        raca.setContentAssistProcessor( contentAssistProcessor, IDocument.DEFAULT_CONTENT_TYPE );
        raca.install( returningAttributesCombo );

        // History
View Full Code Here

Examples of org.eclipse.jface.text.contentassist.ContentAssistant.enableAutoActivation()

        {
            assistant.setContentAssistProcessor(
                new PerlCompletionProcessor(editor), contentTypes[i]);
        }

        assistant.enableAutoActivation(true);
        assistant.enableAutoInsert(true);
        assistant.setAutoActivationDelay(prefs.getInt(CodeAssistPreferences.AUTO_ACTIVATION_DELAY));
        assistant.setProposalPopupOrientation(ContentAssistant.PROPOSAL_OVERLAY);
        assistant.setContextInformationPopupOrientation(ContentAssistant.CONTEXT_INFO_ABOVE);
        assistant.setContextInformationPopupBackground(
View Full Code Here

Examples of org.eclipse.jface.text.contentassist.ContentAssistant.enableAutoActivation()

//    // display Django filters
//    assistant.setContentAssistProcessor(new DjangoCompletionProcessor(IDjangoPartitions.DJANGO_VARIABLE),
//        IDjangoPartitions.DJANGO_VARIABLE);

    assistant.enableAutoInsert(true);
    assistant.enableAutoActivation(true);
    assistant.setAutoActivationDelay(100);
    assistant.setProposalPopupOrientation(IContentAssistant.CONTEXT_INFO_BELOW);
    assistant.setContextInformationPopupOrientation(IContentAssistant.CONTEXT_INFO_BELOW);
    assistant.setContextInformationPopupBackground(colorProvider.getColor(new RGB(0, 0, 0)));
View Full Code Here

Examples of org.eclipse.jface.text.contentassist.ContentAssistant.enableAutoActivation()

//    // display Django filters
//    assistant.setContentAssistProcessor(new DjangoCompletionProcessor(IDjangoPartitions.DJANGO_VARIABLE),
//                      IDjangoPartitions.DJANGO_VARIABLE);

    assistant.enableAutoInsert(true);
    assistant.enableAutoActivation(true);
    assistant.setAutoActivationDelay(100);
    //assistant.enableColoredLabels(true);
    //assistant.setProposalPopupOrientation(IContentAssistant.CONTEXT_INFO_BELOW);
    //assistant.setContextInformationPopupOrientation(IContentAssistant.CONTEXT_INFO_BELOW);
    //assistant.setContextInformationPopupBackground(colorProvider.getColor(new RGB(0, 0, 0)));
View Full Code Here

Examples of org.eclipse.jface.text.contentassist.ContentAssistant.enableAutoActivation()

        //        ContentAssistant assistant = new ContentAssistant();
        ContentAssistant assistant = new DialogContentAssistant();
        IContentAssistProcessor aciContentAssistProcessor = new ACIContentAssistProcessor();

        assistant.setContentAssistProcessor( aciContentAssistProcessor, IDocument.DEFAULT_CONTENT_TYPE );
        assistant.enableAutoActivation( true );
        assistant.setAutoActivationDelay( 500 );
        assistant.setProposalPopupOrientation( IContentAssistant.PROPOSAL_STACKED );
        assistant.setContextInformationPopupOrientation( IContentAssistant.CONTEXT_INFO_ABOVE );

        return assistant;
View Full Code Here

Examples of org.eclipse.jface.text.contentassist.ContentAssistant.enableAutoActivation()

    ContentAssistant assistant= new ContentAssistant();
    assistant.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));
    assistant.setContentAssistProcessor(new JavaCompletionProcessor(), IDocument.DEFAULT_CONTENT_TYPE);
    assistant.setContentAssistProcessor(new JavaDocCompletionProcessor(), JavaPartitionScanner.JAVA_DOC);

    assistant.enableAutoActivation(true);
    assistant.setAutoActivationDelay(500);
    assistant.setProposalPopupOrientation(IContentAssistant.PROPOSAL_OVERLAY);
    assistant.setContextInformationPopupOrientation(IContentAssistant.CONTEXT_INFO_ABOVE);
    assistant.setContextInformationPopupBackground(JConsolePlugin.getDefault().getJavaColorProvider().getColor(new RGB(150, 150, 0)));
View Full Code Here

Examples of org.eclipse.jface.text.contentassist.ContentAssistant.enableAutoActivation()

      SourceViewer viewer= new SourceViewer(parent, null, null, false, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
      SourceViewerConfiguration configuration= new SourceViewerConfiguration() {
        public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {

          ContentAssistant assistant= new ContentAssistant();
          assistant.enableAutoActivation(true);
          assistant.enableAutoInsert(true);
          assistant.setContentAssistProcessor(fTemplateProcessor, IDocument.DEFAULT_CONTENT_TYPE);
          return assistant;
        }
      };
View Full Code Here

Examples of org.eclipse.jface.text.contentassist.ContentAssistant.enableAutoActivation()

        assistant.setContentAssistProcessor(
            processor,
            IDocument.DEFAULT_CONTENT_TYPE);

        assistant.enableAutoActivation(true);
        assistant.setAutoActivationDelay(500); // half a second?
        assistant.setProposalPopupOrientation(
            ContentAssistant.CONTEXT_INFO_BELOW);
        assistant.enableAutoInsert(true);
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.