private void onOpenEditor(String path,EditorPartPresenter editor){
  final List<Breakpoint> fileBreakpoints=breakpoints.get(path);
  if (fileBreakpoints != null) {
    final BreakpointRenderer breakpointRenderer=getBreakpointRendererForEditor(editor);
    if (breakpointRenderer != null) {
      for (      final Breakpoint breakpoint : fileBreakpoints) {
        reAddBreakpointMark(breakpointRenderer,breakpoint);
      }
    }
  }
  if (currentBreakpoint != null && path.equals(currentBreakpoint.getPath())) {
    BreakpointRenderer breakpointRenderer=getBreakpointRendererForFile(path);
    if (breakpointRenderer != null) {
      breakpointRenderer.setLineActive(currentBreakpoint.getLineNumber(),true);
    }
  }
}

private void onOpenEditor ( String path , EditorPartPresenter editor ) { final List < Breakpoint > fileBreakpoints = breakpoints . get ( path ) ; if ( fileBreakpoints != null ) { final BreakpointRenderer breakpointRenderer = getBreakpointRendererForEditor ( editor ) ; if ( breakpointRenderer != null ) { for ( final Breakpoint breakpoint : fileBreakpoints ) { reAddBreakpointMark ( breakpointRenderer , breakpoint ) ; } } } if ( currentBreakpoint != null && path . equals ( currentBreakpoint . getPath ( ) ) ) { BreakpointRenderer breakpointRenderer = getBreakpointRendererForFile ( path ) ; if ( breakpointRenderer != null ) { breakpointRenderer . setLineActive ( currentBreakpoint . getLineNumber ( ) , true ) ; } } }
the new file has been opened in the editor . method reads breakpoints .
