Class RuntimePerspectivePluginManager

  • All Implemented Interfaces:
    org.dashbuilder.client.navigation.plugin.PerspectivePluginManager

    @Alternative
    @ApplicationScoped
    public class RuntimePerspectivePluginManager
    extends Object
    implements org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
    A specific Runtime perspective plugin manager. This is used by Navigation Components to load a custom perspective.
    • Constructor Detail

      • RuntimePerspectivePluginManager

        public RuntimePerspectivePluginManager()
    • Method Detail

      • loadPlugins

        public void loadPlugins()
        Specified by:
        loadPlugins in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • getPerspectivePlugins

        public void getPerspectivePlugins​(org.uberfire.mvp.ParameterizedCommand<Collection<org.uberfire.ext.plugin.model.Plugin>> callback)
        Specified by:
        getPerspectivePlugins in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • isRuntimePerspective

        public boolean isRuntimePerspective​(org.uberfire.ext.plugin.model.Plugin plugin)
        Specified by:
        isRuntimePerspective in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • isRuntimePerspective

        public boolean isRuntimePerspective​(org.dashbuilder.navigation.NavItem navItem)
        Specified by:
        isRuntimePerspective in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • isRuntimePerspective

        public boolean isRuntimePerspective​(String perspectiveId)
        Specified by:
        isRuntimePerspective in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • getRuntimePerspectiveId

        public String getRuntimePerspectiveId​(org.dashbuilder.navigation.NavItem navItem)
        Specified by:
        getRuntimePerspectiveId in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • existsPerspectivePlugin

        public boolean existsPerspectivePlugin​(String perspectiveName)
        Specified by:
        existsPerspectivePlugin in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • getLayoutTemplateInfo

        public void getLayoutTemplateInfo​(String perspectiveName,
                                          org.uberfire.mvp.ParameterizedCommand<org.dashbuilder.navigation.layout.LayoutTemplateInfo> callback)
        Specified by:
        getLayoutTemplateInfo in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • getLayoutTemplateInfo

        public void getLayoutTemplateInfo​(org.uberfire.ext.layout.editor.api.editor.LayoutTemplate layoutTemplate,
                                          org.uberfire.mvp.ParameterizedCommand<org.dashbuilder.navigation.layout.LayoutTemplateInfo> callback)
        Specified by:
        getLayoutTemplateInfo in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • buildPerspectiveWidget

        public void buildPerspectiveWidget​(String perspectiveName,
                                           org.dashbuilder.navigation.layout.LayoutTemplateContext layoutCtx,
                                           org.uberfire.mvp.ParameterizedCommand<com.google.gwt.user.client.ui.IsWidget> afterBuild,
                                           org.uberfire.mvp.ParameterizedCommand<org.dashbuilder.navigation.layout.LayoutRecursionIssue> onInfiniteRecursion)
        Specified by:
        buildPerspectiveWidget in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • getLastBuildPerspectiveNavGroup

        public org.dashbuilder.navigation.NavGroup getLastBuildPerspectiveNavGroup()
        Specified by:
        getLastBuildPerspectiveNavGroup in interface org.dashbuilder.client.navigation.plugin.PerspectivePluginManager
      • setTemplates

        public void setTemplates​(List<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate> templates)