@ApplicationScoped public class PerspectivePluginManagerImpl extends Object implements PerspectivePluginManager
Constructor and Description |
---|
PerspectivePluginManagerImpl(ClientTypeRegistry clientTypeRegistry,
LayoutGenerator layoutGenerator,
NavigationManager navigationManager,
org.jboss.errai.common.client.api.Caller<PerspectivePluginServices> pluginServices,
javax.enterprise.event.Event<PerspectivePluginsChangedEvent> perspectivesChangedEvent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildPerspectiveWidget
@Inject public PerspectivePluginManagerImpl(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)
getPerspectivePlugins
in interface PerspectivePluginManager
public boolean isRuntimePerspective(Plugin plugin)
isRuntimePerspective
in interface PerspectivePluginManager
public boolean isRuntimePerspective(NavItem navItem)
isRuntimePerspective
in interface PerspectivePluginManager
public boolean isRuntimePerspective(String perspectiveId)
isRuntimePerspective
in interface PerspectivePluginManager
public String getRuntimePerspectiveId(NavItem navItem)
getRuntimePerspectiveId
in interface PerspectivePluginManager
public boolean existsPerspectivePlugin(String perspectiveName)
existsPerspectivePlugin
in interface PerspectivePluginManager
public void getLayoutTemplateInfo(String perspectiveName, ParameterizedCommand<LayoutTemplateInfo> callback)
getLayoutTemplateInfo
in interface PerspectivePluginManager
public void getLayoutTemplateInfo(LayoutTemplate layoutTemplate, ParameterizedCommand<LayoutTemplateInfo> callback)
getLayoutTemplateInfo
in interface PerspectivePluginManager
public void buildPerspectiveWidget(String perspectiveName, LayoutTemplateContext layoutCtx, ParameterizedCommand<com.google.gwt.user.client.ui.IsWidget> afterBuild, ParameterizedCommand<LayoutRecursionIssue> onInfiniteRecursion)
buildPerspectiveWidget
in interface PerspectivePluginManager
public NavGroup getLastBuildPerspectiveNavGroup()
buildPerspectiveWidget(String, LayoutTemplateContext, ParameterizedCommand, ParameterizedCommand)
call.getLastBuildPerspectiveNavGroup
in interface PerspectivePluginManager
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)
public void loadPlugins()
loadPlugins
in interface PerspectivePluginManager
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.