/** * Connects to the source of markers as marker change listener. * @see AnnotationModel#connected() */ protected void connected() { listenToMarkerChanges(true); try { catchupWithMarkers(); } catch (CoreException x) { if (x.getStatus().getCode() != IResourceStatus.RESOURCE_NOT_FOUND) handleCoreException(x, TextEditorMessages.AbstractMarkerAnnotationModel_connected); } fireModelChanged(); }
/** * Connects to the source of markers as marker change listener. * @see AnnotationModel#connected() */ @Override protected void connected() { listenToMarkerChanges(true); try { catchupWithMarkers(); } catch (CoreException x) { if (x.getStatus().getCode() != IResourceStatus.RESOURCE_NOT_FOUND) handleCoreException(x, TextEditorMessages.AbstractMarkerAnnotationModel_connected); } fireModelChanged(); }