code: public static void showPublishDialog(Runnable refreshAction) {
  
          showPublishDialog(new HashMap<String, String>(), null, refreshAction, null);
      }
docs: Convenience method which opens a publish dialog.<p>
  
  @param refreshAction the action to execute after a context menu triggered refresh