void onResourceCopied(@Observes final ResourceCopiedEvent copiedEvent) {
   if (path != null && path.equals(copiedEvent.getPath())) {
     if (sessionInfo.getId().equals(copiedEvent.getSessionInfo().getId())) {
       executeCopyCommands();
     } else {
       executeConcurrentCopyCommand(
           copiedEvent.getPath(),
           copiedEvent.getDestinationPath(),
           copiedEvent.getSessionInfo().getId(),
           copiedEvent.getSessionInfo().getIdentity());
     }
   }
 }
  // Refresh when a Resource has been copied, if it exists in the active package
  public void onResourceCopied(@Observes final ResourceCopiedEvent event) {
    if (!getView().isVisible()) {
      return;
    }
    final Path resource = event.getDestinationPath();
    if (resource == null) {
      return;
    }
    if (!Utils.isInFolderItem(activeFolderItem, resource)) {
      return;
    }

    explorerService
        .call(
            new RemoteCallback<FolderListing>() {
              @Override
              public void callback(final FolderListing folderListing) {
                getView().setItems(folderListing);
              }
            },
            new DefaultErrorCallback())
        .getFolderListing(
            activeOrganizationalUnit,
            activeRepository,
            activeProject,
            activeFolderItem,
            getActiveOptions());
  }