@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, waitbuildPerspectiveWidget@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 PerspectivePluginManagerpublic boolean isRuntimePerspective(Plugin plugin)
isRuntimePerspective in interface PerspectivePluginManagerpublic boolean isRuntimePerspective(NavItem navItem)
isRuntimePerspective in interface PerspectivePluginManagerpublic boolean isRuntimePerspective(String perspectiveId)
isRuntimePerspective in interface PerspectivePluginManagerpublic String getRuntimePerspectiveId(NavItem navItem)
getRuntimePerspectiveId in interface PerspectivePluginManagerpublic boolean existsPerspectivePlugin(String perspectiveName)
existsPerspectivePlugin in interface PerspectivePluginManagerpublic void getLayoutTemplateInfo(String perspectiveName, ParameterizedCommand<LayoutTemplateInfo> callback)
getLayoutTemplateInfo in interface PerspectivePluginManagerpublic void getLayoutTemplateInfo(LayoutTemplate layoutTemplate, ParameterizedCommand<LayoutTemplateInfo> callback)
getLayoutTemplateInfo in interface PerspectivePluginManagerpublic void buildPerspectiveWidget(String perspectiveName, LayoutTemplateContext layoutCtx, ParameterizedCommand<com.google.gwt.user.client.ui.IsWidget> afterBuild, ParameterizedCommand<LayoutRecursionIssue> onInfiniteRecursion)
buildPerspectiveWidget in interface PerspectivePluginManagerpublic NavGroup getLastBuildPerspectiveNavGroup()
buildPerspectiveWidget(String, LayoutTemplateContext, ParameterizedCommand, ParameterizedCommand) call.getLastBuildPerspectiveNavGroup in interface PerspectivePluginManagerNavGroup 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 PerspectivePluginManagerCopyright © 2012–2021 JBoss by Red Hat. All rights reserved.