Class AbstractWebBrowser

  • All Implemented Interfaces:

    public abstract class AbstractWebBrowser
    extends Object
    implements IWebBrowser
    Clients that supply implementation of the workbench browser support should extend this class for web browser instances they manage. Clients should not implement the IWebBrowser interface.
    • Constructor Detail

      • AbstractWebBrowser

        public AbstractWebBrowser​(String id)
        The constructor that accepts the unique browser identifier.
        id - the unique browser identifier
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: IWebBrowser
        Returns the unique identifier of this browser. If an id has been supplied to the browser support when the instance was created, it will be used. Otherwise, a generated id will be provided to the browser that is guaranteed to be unique.
        Specified by:
        getId in interface IWebBrowser
        a unique identifier of this browser instance
      • close

        public boolean close()
        Description copied from interface: IWebBrowser
        Closes this browser instance.

        NOTE This method must be called from the current UI thread

        Specified by:
        close in interface IWebBrowser
        true if the browser was closed or false if the operation failed or is not supported.