public void left(LinkedModeModel environment, int flags) { if (fWasOccurrencesOn && !isEditorDisposed()) fEditor.installOccurrencesFinder(true); }
JavaEditor editor= getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
JavaEditor editor= getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
JavaEditor editor= getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
@Override public void left(LinkedModeModel environment, int flags) { if (fWasOccurrencesOn && !isEditorDisposed()) fEditor.installOccurrencesFinder(true); }
final JavaEditor editor = getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
@Override public void left(LinkedModeModel environment, int flags) { if (fWasOccurrencesOn && !isEditorDisposed()) fEditor.installOccurrencesFinder(true); }
final JavaEditor editor = getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
/** * Creates a new synchronizer. * * @param editor the java editor the occurrences markers of which will be * synchronized with the linked mode * */ public EditorHighlightingSynchronizer(JavaEditor editor) { Assert.isLegal(editor != null); fEditor= editor; fWasOccurrencesOn= fEditor.isMarkingOccurrences(); if (fWasOccurrencesOn && !isEditorDisposed()) fEditor.uninstallOccurrencesFinder(); }
IEditorPart editor= ((AssistContext)fContext).getEditor(); if (editor instanceof JavaEditor) { model.addLinkingListener(new EditorHighlightingSynchronizer((JavaEditor) editor));
/** * Creates a new synchronizer. * * @param editor the java editor the occurrences markers of which will be * synchronized with the linked mode * */ public EditorHighlightingSynchronizer(JavaEditor editor) { Assert.isLegal(editor != null); fEditor= editor; fWasOccurrencesOn= fEditor.isMarkingOccurrences(); if (fWasOccurrencesOn && !isEditorDisposed()) fEditor.uninstallOccurrencesFinder(); }
JavaEditor editor= getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
/** * Creates a new synchronizer. * * @param editor the java editor the occurrences markers of which will be * synchronized with the linked mode * */ public EditorHighlightingSynchronizer(JavaEditor editor) { Assert.isLegal(editor != null); fEditor= editor; fWasOccurrencesOn= fEditor.isMarkingOccurrences(); if (fWasOccurrencesOn && !isEditorDisposed()) fEditor.uninstallOccurrencesFinder(); }
JavaEditor editor= getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
JavaEditor editor= getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
IEditorPart editor= ((AssistContext)fContext).getEditor(); if (editor instanceof JavaEditor) { model.addLinkingListener(new EditorHighlightingSynchronizer((JavaEditor) editor));
final JavaEditor editor = getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
JavaEditor editor= getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
final JavaEditor editor = getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));
final JavaEditor editor = getJavaEditor(); if (editor != null) { model.addLinkingListener(new EditorHighlightingSynchronizer(editor));