Class InfobaseApplicationClientDelegate

java.lang.Object
com.e1c.g5.dt.applications.ui.contributors.AbstractApplicationClientDelegate
com.e1c.g5.dt.internal.applications.infobases.ui.InfobaseApplicationClientDelegate
All Implemented Interfaces:
IApplicationClientDelegate

public class InfobaseApplicationClientDelegate extends AbstractApplicationClientDelegate
The infobase application client delegate implementation.
  • Constructor Details

    • InfobaseApplicationClientDelegate

      public InfobaseApplicationClientDelegate()
  • Method Details

    • supports

      public boolean supports(IApplication application, ExecutionContext context)
      Description copied from interface: IApplicationClientDelegate
      Returns whether the delegate supports client open for the provided application and execution context.
      Parameters:
      application - the application to open, cannot be null
      context - the execution context, cannot be null
      Returns:
      whether the delegate supports client open for the provided application and execution context
    • open

      public Optional<Process> open(IApplication application, ExecutionContext context, org.eclipse.core.runtime.SubMonitor monitor) throws ApplicationException
      Description copied from interface: IApplicationClientDelegate
      Opens the application and launches application client. Returns the application client system process if started any.
      Parameters:
      application - the application to open, cannot be null
      context - the execution context, cannot be null
      monitor - the progress monitor to report progress to, cannot be null
      Returns:
      the optional application open client system process, may be empty if application is web for example
      Throws:
      ApplicationException - if method call failed with some reason