Class BrowserAdapter

    • Method Detail

      • getInstance

        public static BrowserAdapter getInstance​(org.eclipse.swt.widgets.Composite parent,
                                                 int style,
                                                 java.lang.String... providerNames)
        Gets a new BrowserAdapter instance for the given provider names.
        Parameters:
        parent - the parent Composite to use.
        style - the style to use.
        providerNames - the provider names to consider in order of preference (highest preference first).
        Returns:
        the created BrowserAdapter instance.
        Throws:
        java.lang.IllegalArgumentException - if no matching provider is found.
        See Also:
        BrowserAdapterProvider.getInstance(Composite, int)
      • getBrowserWidget

        public abstract org.eclipse.swt.widgets.Composite getBrowserWidget()
        Gets the Composite associated with this instance.
        Returns:
        the Composite associated with this instance.
      • get

        public org.eclipse.swt.widgets.Composite get()
        Specified by:
        get in interface java.util.function.Supplier<org.eclipse.swt.widgets.Composite>