Package org.eclipse.jdt.ui.text

Examples of org.eclipse.jdt.ui.text.JavaSourceViewerConfiguration


       * JavaSourceViewerConfiguration because
       * StructuredTextViewerConfiguration does not know current editor.
       * this is okay because editor is not needed in the cases we are
       * using javasourceviewerconfiguration.
       */
      fJavaSourceViewerConfiguration = new JavaSourceViewerConfiguration(JavaUI.getColorManager(), store, null, IJavaPartitions.JAVA_PARTITIONING);
    }
    return fJavaSourceViewerConfiguration;
  }
View Full Code Here


       * JavaSourceViewerConfiguration because
       * StructuredTextViewerConfiguration does not know current editor.
       * this is okay because editor is not needed in the cases we are
       * using javasourceviewerconfiguration.
       */
      fJavaSourceViewerConfiguration = new JavaSourceViewerConfiguration(JavaUI.getColorManager(), store, null, IJavaPartitions.JAVA_PARTITIONING);
    }
    return fJavaSourceViewerConfiguration;
  }
View Full Code Here

        JavaSourceViewer viewer = (JavaSourceViewer) _editor.getViewer();
        if (viewer != null) {
            _initializeHighlightings();

            final String JAVA_PARTITIONING = "___java_partitioning";
            _configuration = new JavaSourceViewerConfiguration(_colorManager,
                    _preferenceStore, _editor, JAVA_PARTITIONING);
            _presentationReconciler = (JavaPresentationReconciler) _configuration
                    .getPresentationReconciler(viewer);

            _presenter = new SemanticHighlightingPresenter();
View Full Code Here

        JDIContentAssistPreference.changeConfiguration(
            (ContentAssistant) assistant, event);
      }
      SourceViewerConfiguration configuration = getSourceViewerConfiguration();
      if (configuration instanceof JavaSourceViewerConfiguration) {
        JavaSourceViewerConfiguration jsv = (JavaSourceViewerConfiguration) configuration;
        if (jsv.affectsTextPresentation(event)) {
          jsv.handlePropertyChangeEvent(event);
          isv.invalidateTextPresentation();
        }
      }
      super.handlePreferenceStoreChanged(event);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.ui.text.JavaSourceViewerConfiguration

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.