code: void refresh() {
      // no display, nothing to update
      if (this.viewer == null)
        return;
  
      Display.getDefault().asyncExec(new Runnable() {
        public void run() {
          DFSContentProvider.this.viewer.refresh();
        }
      });
    }
docs: Ask the viewer for this content to refresh