@ApplicationScoped public class PerspectivePluginManager extends Object
Constructor and Description |
---|
PerspectivePluginManager(ClientTypeRegistry clientTypeRegistry,
LayoutGenerator layoutGenerator,
NavigationManager navigationManager,
org.jboss.errai.common.client.api.Caller<PerspectivePluginServices> pluginServices,
javax.enterprise.event.Event<PerspectivePluginsChangedEvent> perspectivesChangedEvent) |
@Inject public PerspectivePluginManager(ClientTypeRegistry clientTypeRegistry, LayoutGenerator layoutGenerator, NavigationManager navigationManager, org.jboss.errai.common.client.api.Caller<PerspectivePluginServices> pluginServices, javax.enterprise.event.Event<PerspectivePluginsChangedEvent> perspectivesChangedEvent)
public void getPerspectivePlugins(ParameterizedCommand<Collection<Plugin>> callback)
public boolean isRuntimePerspective(Plugin plugin)
public boolean isRuntimePerspective(NavItem navItem)
public boolean isRuntimePerspective(String perspectiveId)
public boolean existsPerspectivePlugin(String perspectiveName)
public void buildPerspectiveWidget(String perspectiveName, ParameterizedCommand<com.google.gwt.user.client.ui.IsWidget> afterBuild, ParameterizedCommand<LayoutRecursionIssue> onInfiniteRecursion)
public void getLayoutTemplateInfo(String perspectiveName, ParameterizedCommand<LayoutTemplateInfo> callback)
public void getLayoutTemplateInfo(LayoutTemplate layoutTemplate, ParameterizedCommand<LayoutTemplateInfo> callback)
public void buildPerspectiveWidget(String perspectiveName, LayoutTemplateContext layoutCtx, ParameterizedCommand<com.google.gwt.user.client.ui.IsWidget> afterBuild, ParameterizedCommand<LayoutRecursionIssue> onInfiniteRecursion)
public NavGroup getLastBuildPerspectiveNavGroup()
buildPerspectiveWidget(String, LayoutTemplateContext, ParameterizedCommand, ParameterizedCommand)
call.NavGroup
instance passed to the build method or null if none.public void onPlugInAdded(@Observes PluginAdded event)
public void onPlugInSaved(@Observes PluginSaved event)
public void onPlugInRenamed(@Observes PluginRenamed event)
public void onPlugInDeleted(@Observes PluginDeleted event)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.