@Override protected void installOverrideIndicator(boolean provideAST) { super.installOverrideIndicator(provideAST); if (fOverrideIndicatorManager == null) return; addReconcileListener(fOverrideIndicatorManager); }
@Override protected void installOverrideIndicator(boolean provideAST) { super.installOverrideIndicator(provideAST); if (fOverrideIndicatorManager == null) return; addReconcileListener(fOverrideIndicatorManager); }
protected void installOverrideIndicator(boolean provideAST) { super.installOverrideIndicator(provideAST); if (fOverrideIndicatorManager == null) return; addReconcileListener(fOverrideIndicatorManager); }
/** * Install this reconciler on the given editor. * * @param editor the editor * @param sourceViewer the source viewer */ public void install(JavaEditor editor, ISourceViewer sourceViewer) { fEditor= editor; fSourceViewer= sourceViewer; if (fEditor instanceof CompilationUnitEditor) { ((CompilationUnitEditor) fEditor).addReconcileListener(this); } updateCodeMinings(); }
/** * Install this reconciler on the given editor, presenter and highlightings. * @param editor the editor * @param sourceViewer the source viewer * @param presenter the semantic highlighting presenter * @param semanticHighlightings the semantic highlightings * @param highlightings the highlightings */ public void install(JavaEditor editor, ISourceViewer sourceViewer, SemanticHighlightingPresenter presenter, SemanticHighlighting[] semanticHighlightings, Highlighting[] highlightings) { fPresenter= presenter; fSemanticHighlightings= semanticHighlightings; fHighlightings= highlightings; fEditor= editor; fSourceViewer= sourceViewer; if (fEditor instanceof CompilationUnitEditor) { ((CompilationUnitEditor)fEditor).addReconcileListener(this); } else if (fEditor == null) { fSourceViewer.addTextInputListener(this); scheduleJob(); } }
/** * Install this reconciler on the given editor, presenter and highlightings. * @param editor the editor * @param sourceViewer the source viewer * @param presenter the semantic highlighting presenter * @param semanticHighlightings the semantic highlightings * @param highlightings the highlightings */ public void install(JavaEditor editor, ISourceViewer sourceViewer, SemanticHighlightingPresenter presenter, SemanticHighlighting[] semanticHighlightings, Highlighting[] highlightings) { fPresenter= presenter; fSemanticHighlightings= semanticHighlightings; fHighlightings= highlightings; fEditor= editor; fSourceViewer= sourceViewer; if (fEditor instanceof CompilationUnitEditor) { ((CompilationUnitEditor)fEditor).addReconcileListener(this); } else if (fEditor == null) { fSourceViewer.addTextInputListener(this); scheduleJob(); } }
/** * Install this reconciler on the given editor, presenter and highlightings. * @param editor the editor * @param sourceViewer the source viewer * @param presenter the semantic highlighting presenter * @param semanticHighlightings the semantic highlightings * @param highlightings the highlightings */ public void install(JavaEditor editor, ISourceViewer sourceViewer, SemanticHighlightingPresenter presenter, SemanticHighlighting[] semanticHighlightings, Highlighting[] highlightings) { fPresenter= presenter; fSemanticHighlightings= semanticHighlightings; fHighlightings= highlightings; fEditor= editor; fSourceViewer= sourceViewer; if (fEditor instanceof CompilationUnitEditor) { ((CompilationUnitEditor)fEditor).addReconcileListener(this); } else if (fEditor == null) { fSourceViewer.addTextInputListener(this); scheduleJob(); } }