Class CommonViewerSiteFactory

    • Constructor Detail

      • CommonViewerSiteFactory

        public CommonViewerSiteFactory()
    • Method Detail

      • createCommonViewerSite

        public static ICommonViewerWorkbenchSite createCommonViewerSite​(IViewSite aViewSite)
        Parameters:
        aViewSite - The viewer site that should be delegated to to satisfy the contract of ICommonViewerSite.
        Returns:
        An ICommonViewerSite that delegates to the given parameter.
      • createCommonViewerSite

        public static ICommonViewerWorkbenchSite createCommonViewerSite​(IEditorSite aEditorSite)
        Parameters:
        aEditorSite - The editor site that should be delegated to to satisfy the contract of ICommonViewerSite.
        Returns:
        An ICommonViewerSite that delegates to the given parameter.
      • createCommonViewerSite

        public static ICommonViewerSite createCommonViewerSite​(String anId,
                                                               IPageSite aPageSite)
        Parameters:
        anId - The unique identifier corresponding to the abstract viewer for the returned ICommonViewerSite.
        aPageSite - The page site that should be delegated to to satisfy the contract of ICommonViewerSite.
        Returns:
        An ICommonViewerSite that delegates to the given parameter.