Package org.eclipse.egit.ui.internal.commit

Examples of org.eclipse.egit.ui.internal.commit.CommitProposalProcessor


        .applyTo(commitMessageTextComposite);
    GridLayoutFactory.fillDefaults().numColumns(1)
        .extendedMargins(2, 2, 2, 2)
        .applyTo(commitMessageTextComposite);

    final CommitProposalProcessor commitProposalProcessor = new CommitProposalProcessor() {
      @Override
      protected Collection<String> computeFileNameProposals() {
        return getStagedFileNames();
      }
View Full Code Here


  }

  protected IContentAssistant createContentAssistant(ISourceViewer viewer) {
    ContentAssistant assistant = new ContentAssistant();
    assistant.enableAutoInsert(true);
    final CommitProposalProcessor processor = getCommitProposalProcessor();
    getTextWidget().addDisposeListener(new DisposeListener() {

      public void widgetDisposed(DisposeEvent e) {
        processor.dispose();
      }
    });
    assistant.setContentAssistProcessor(processor, IDocument.DEFAULT_CONTENT_TYPE);
    return assistant;
  }
View Full Code Here

    addMessageDropDown(headerArea);

    messageSection.setTextClient(headerArea);

    final CommitProposalProcessor commitProposalProcessor = new CommitProposalProcessor() {
      @Override
      protected Collection<String> computeFileNameProposals() {
        return getFileList();
      }
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.commit.CommitProposalProcessor

Copyright © 2018 www.massapicom. 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.