Class ApplicationAccessHelper

java.lang.Object
com.e1c.g5.v8.dt.internal.cli.api.ApplicationAccessHelper

public final class ApplicationAccessHelper extends Object
Utility class that accesses the IApplication of the application
  • Method Details

    • shutdown

      public static boolean shutdown(int status)
      Attempts to shutdown the currently running 1C:EDT application as gracefully as possible. If successful, this method does not return.
      Parameters:
      status - exit status.
      Returns:
      false in shutdown has already been started.
    • getApplication

      public static org.eclipse.equinox.app.IApplication getApplication() throws org.eclipse.core.runtime.CoreException
      Gets an IApplication defined for the current product (if any)
      Returns:
      IApplication instance, if registered. null otherwise
      Throws:
      org.eclipse.core.runtime.CoreException