Class OpenSystemFileHelper

java.lang.Object
com._1c.g5.v8.dt.ui.util.OpenSystemFileHelper

public class OpenSystemFileHelper extends Object
Utility class for opening files in the system's file explorer.
  • Constructor Details

    • OpenSystemFileHelper

      public OpenSystemFileHelper()
  • Method Details

    • openFileInSystemExplorer

      public static void openFileInSystemExplorer(File file)
      Copy of ShowInSystemExplorerHandler.execute(org.eclipse.core.commands.ExecutionEvent) method but with the ability to open files outside of the workspace. If a workspace file needs to be opened, use command that is related to ShowInSystemExplorerHandler.
      Parameters:
      file - the file to show. Cannot be null