本文整理汇总了Java中org.uberfire.client.mvp.PlaceManager类的典型用法代码示例。如果您正苦于以下问题:Java PlaceManager类的具体用法?Java PlaceManager怎么用?Java PlaceManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PlaceManager类属于org.uberfire.client.mvp包,在下文中一共展示了PlaceManager类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: NavRootNodeEditor
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public NavRootNodeEditor(NavRootNodeEditorView view,
SyncBeanManager beanManager,
PlaceManager placeManager,
PerspectiveTreeProvider perspectiveTreeProvider,
TargetPerspectiveEditor targetPerspectiveEditor,
PerspectivePluginManager perspectivePluginManager,
Event<NavItemEditStartedEvent> navItemEditStartedEvent,
Event<NavItemEditCancelledEvent> navItemEditCancelledEvent) {
super(view, beanManager,
placeManager,
perspectiveTreeProvider,
targetPerspectiveEditor,
perspectivePluginManager,
navItemEditStartedEvent,
navItemEditCancelledEvent);
this.view = view;
this.view.init(this);
super.setChildEditorClass(NavItemDefaultEditor.class);
}
开发者ID:kiegroup,项目名称:appformer,代码行数:24,代码来源:NavRootNodeEditor.java
示例2: registerNewActivity
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
private static void registerNewActivity(final SyncBeanManager beanManager,
final ActivityBeansCache activityBeansCache,
final JSNativeEditor newNativeEditor,
final PlaceManager placeManager) {
final JSEditorActivity activity;
activity = new JSEditorActivity(newNativeEditor,
placeManager);
final Set<Annotation> qualifiers = new HashSet<Annotation>(Arrays.asList(DEFAULT_QUALIFIERS));
final SingletonBeanDef<JSEditorActivity, JSEditorActivity> beanDef = new SingletonBeanDef<JSEditorActivity, JSEditorActivity>(activity,
JSEditorActivity.class,
qualifiers,
newNativeEditor.getId(),
true,
WorkbenchEditorActivity.class,
Activity.class);
beanManager.registerBean(beanDef);
beanManager.registerBeanTypeAlias(beanDef,
WorkbenchEditorActivity.class);
beanManager.registerBeanTypeAlias(beanDef,
Activity.class);
activityBeansCache.addNewEditorActivity(beanManager.lookupBeans(newNativeEditor.getId()).iterator().next(),
newNativeEditor.getPriority(),
newNativeEditor.getResourceType());
}
开发者ID:kiegroup,项目名称:appformer,代码行数:27,代码来源:EditorJSExporter.java
示例3: registerNewActivity
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
private static void registerNewActivity(final SyncBeanManager beanManager,
final ActivityBeansCache activityBeansCache,
final JSNativeScreen newNativePlugin) {
final JSWorkbenchScreenActivity activity;
activity = new JSWorkbenchScreenActivity(newNativePlugin,
beanManager.lookupBean(PlaceManager.class).getInstance());
final Set<Annotation> qualifiers = new HashSet<Annotation>(Arrays.asList(DEFAULT_QUALIFIERS));
final SingletonBeanDef<JSWorkbenchScreenActivity, JSWorkbenchScreenActivity> beanDef =
new SingletonBeanDef<JSWorkbenchScreenActivity, JSWorkbenchScreenActivity>(activity,
JSWorkbenchScreenActivity.class,
qualifiers,
newNativePlugin.getId(),
true,
WorkbenchScreenActivity.class,
Activity.class);
beanManager.registerBean(beanDef);
beanManager.registerBeanTypeAlias(beanDef,
WorkbenchScreenActivity.class);
beanManager.registerBeanTypeAlias(beanDef,
Activity.class);
activityBeansCache.addNewScreenActivity(beanManager.lookupBeans(newNativePlugin.getId()).iterator().next());
}
开发者ID:kiegroup,项目名称:appformer,代码行数:25,代码来源:PluginJSExporter.java
示例4: DisplayerScreenPresenter
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public DisplayerScreenPresenter(SyncBeanManager beanManager,
DataSetClientServices dataSetClientServices,
UUIDGenerator uuidGenerator,
PerspectiveManager perspectiveManager,
PlaceManager placeManager,
DisplayerViewer displayerViewer,
PanelManager panelManager,
PerspectiveCoordinator perspectiveCoordinator,
Event<ChangeTitleWidgetEvent> changeTitleEvent) {
this.beanManager = beanManager;
this.dataSetClientServices = dataSetClientServices;
this.uuidGenerator = uuidGenerator;
this.placeManager = placeManager;
this.perspectiveManager = perspectiveManager;
this.displayerViewer = displayerViewer;
this.panelManager = panelManager;
this.perspectiveCoordinator = perspectiveCoordinator;
this.menuActionsButton = getMenuActionsButton();
this.changeTitleEvent = changeTitleEvent;
this.jsonMarshaller = DisplayerSettingsJSONMarshaller.get();
}
开发者ID:kiegroup,项目名称:appformer,代码行数:24,代码来源:DisplayerScreenPresenter.java
示例5: SecurityExplorerScreen
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public SecurityExplorerScreen(final View view,
final RolesExplorer rolesExplorer,
final GroupsExplorer groupsExplorer,
final UsersExplorer usersExplorer,
final ErrorPopupPresenter errorPopupPresenter,
final PlaceManager placeManager,
final ClientUserSystemManager userSystemManager,
final ClientSecurityExceptionMessageResolver exceptionMessageResolver) {
this.view = view;
this.rolesExplorer = rolesExplorer;
this.groupsExplorer = groupsExplorer;
this.usersExplorer = usersExplorer;
this.errorPopupPresenter = errorPopupPresenter;
this.placeManager = placeManager;
this.userSystemManager = userSystemManager;
this.exceptionMessageResolver = exceptionMessageResolver;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:19,代码来源:SecurityExplorerScreen.java
示例6: TreeHierarchyStructurePresenter
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public TreeHierarchyStructurePresenter(final View view,
final Caller<PreferenceBeanServerStore> preferenceBeanServerStoreCaller,
final ManagedInstance<TreeHierarchyInternalItemPresenter> treeHierarchyInternalItemPresenterProvider,
final ManagedInstance<TreeHierarchyLeafItemPresenter> treeHierarchyLeafItemPresenterProvider,
final Event<HierarchyItemFormInitializationEvent> hierarchyItemFormInitializationEvent,
final PlaceManager placeManager,
final PreferenceBeanStore store,
final Event<NotificationEvent> notification,
final PreferenceFormBeansInfo preferenceFormBeansInfo) {
this.view = view;
this.preferenceBeanServerStoreCaller = preferenceBeanServerStoreCaller;
this.treeHierarchyInternalItemPresenterProvider = treeHierarchyInternalItemPresenterProvider;
this.treeHierarchyLeafItemPresenterProvider = treeHierarchyLeafItemPresenterProvider;
this.hierarchyItemFormInitializationEvent = hierarchyItemFormInitializationEvent;
this.placeManager = placeManager;
this.store = store;
this.notification = notification;
this.preferenceFormBeansInfo = preferenceFormBeansInfo;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:21,代码来源:TreeHierarchyStructurePresenter.java
示例7: DataSetDefWizardScreen
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public DataSetDefWizardScreen(final SyncBeanManager beanManager,
final DataSetEditorWorkflowFactory workflowFactory,
final Caller<DataSetDefVfsServices> services,
final DataSetClientServices clientServices,
final Event<NotificationEvent> notification,
final PlaceManager placeManager,
final ErrorPopupPresenter errorPopupPresenter,
final SavePopUpPresenter savePopUpPresenter,
final DataSetDefScreenView view) {
this.beanManager = beanManager;
this.workflowFactory = workflowFactory;
this.services = services;
this.clientServices = clientServices;
this.notification = notification;
this.placeManager = placeManager;
this.errorPopupPresenter = errorPopupPresenter;
this.savePopUpPresenter = savePopUpPresenter;
this.view = view;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:21,代码来源:DataSetDefWizardScreen.java
示例8: OverflowTestScreen
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public OverflowTestScreen(PlaceManager placeManager) {
super(placeManager);
Button dumpHierarchyButton = new Button("Dump Layout Hierarchy to System.out");
dumpHierarchyButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
System.out.println(Layouts.getContainmentHierarchy(panel,
true));
}
});
panel.add(dumpHierarchyButton);
for (int i = 0; i < 100; i++) {
panel.add(new Label("Filler row " + i));
}
}
开发者ID:kiegroup,项目名称:appformer,代码行数:20,代码来源:OverflowTestScreen.java
示例9: PlaceButton
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
public PlaceButton(final PlaceManager placeManager,
final DefaultPlaceRequest goTo) {
checkNotNull("placeManager",
placeManager);
checkNotNull("goTo",
goTo);
button.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
placeManager.goTo(goTo);
}
});
button.setText(goTo.toString());
initWidget(button);
}
开发者ID:kiegroup,项目名称:appformer,代码行数:17,代码来源:PlaceButton.java
示例10: testScreenActivityOnlyCreatedOneTimeOnPerspectiveLoad
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
public void testScreenActivityOnlyCreatedOneTimeOnPerspectiveLoad() throws Exception {
final PlaceManager placeManager = IOC.getBeanManager().lookupBean(PlaceManager.class).getInstance();
DefaultScreenActivity.instanceCount = 0;
pollWhile(DEFAULT_SCREEN_NOT_LOADED)
.thenDo(new Runnable() {
@Override
public void run() {
assertEquals(1,
DefaultScreenActivity.instanceCount);
placeManager.goTo(new DefaultPlaceRequest(MultiPanelPerspective.class.getName()));
}
})
.thenPollWhile(NESTING_SCREEN_NOT_LOADED)
.thenDo(new Runnable() {
@Override
public void run() {
assertEquals(1,
NestingScreen.instanceCount);
}
});
}
开发者ID:kiegroup,项目名称:appformer,代码行数:24,代码来源:ScreenLifecycleTest.java
示例11: CloneRepositoryPresenter
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public CloneRepositoryPresenter(final RepositoryPreferences repositoryPreferences,
final CloneRepositoryView view,
final Caller<RepositoryService> repositoryService,
final Caller<OrganizationalUnitService> organizationalUnitService,
final PlaceManager placeManager,
final AuthorizationManager authorizationManager,
final SessionInfo sessionInfo) {
this.repositoryPreferences = repositoryPreferences;
this.view = view;
this.repositoryService = repositoryService;
this.organizationalUnitService = organizationalUnitService;
this.placeManager = placeManager;
this.authorizationManager = authorizationManager;
this.sessionInfo = sessionInfo;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:17,代码来源:CloneRepositoryPresenter.java
示例12: NavItemEditor
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
public NavItemEditor(View view,
SyncBeanManager beanManager,
PlaceManager placeManager,
PerspectiveTreeProvider perspectiveTreeProvider,
TargetPerspectiveEditor targetPerspectiveEditor,
PerspectivePluginManager perspectivePluginManager,
Event<NavItemEditStartedEvent> navItemEditStartedEvent,
Event<NavItemEditCancelledEvent> navItemEditCancelledEvent) {
this.beanManager = beanManager;
this.placeManager = placeManager;
this.perspectiveTreeProvider = perspectiveTreeProvider;
this.targetPerspectiveEditor = targetPerspectiveEditor;
this.targetPerspectiveEditor.setOnUpdateCommand(this::onTargetPerspectiveUpdated);
this.perspectivePluginManager = perspectivePluginManager;
this.navItemEditStartedEvent = navItemEditStartedEvent;
this.navItemEditCancelledEvent = navItemEditCancelledEvent;
this.view = view;
this.view.init(this);
}
开发者ID:kiegroup,项目名称:appformer,代码行数:21,代码来源:NavItemEditor.java
示例13: NavItemDefaultEditor
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public NavItemDefaultEditor(NavItemDefaultEditorView view,
SyncBeanManager beanManager,
PlaceManager placeManager,
PerspectiveTreeProvider perspectiveTreeProvider,
TargetPerspectiveEditor targetPerspectiveEditor,
PerspectivePluginManager perspectivePluginManager,
Event<NavItemEditStartedEvent> navItemEditStartedEvent,
Event<NavItemEditCancelledEvent> navItemEditCancelledEvent) {
super(view, beanManager,
placeManager,
perspectiveTreeProvider,
targetPerspectiveEditor,
perspectivePluginManager,
navItemEditStartedEvent,
navItemEditCancelledEvent);
super.setChildEditorClass(NavItemDefaultEditor.class);
}
开发者ID:kiegroup,项目名称:appformer,代码行数:21,代码来源:NavItemDefaultEditor.java
示例14: registerEditor
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
public static void registerEditor(final Object _obj) {
final JavaScriptObject obj = (JavaScriptObject) _obj;
if (JSNativeEditor.hasStringProperty(obj,
"id")) {
final SyncBeanManager beanManager = IOC.getBeanManager();
final ActivityBeansCache activityBeansCache = beanManager.lookupBean(ActivityBeansCache.class).getInstance();
final JSNativeEditor newNativeEditor = beanManager.lookupBean(JSNativeEditor.class).getInstance();
newNativeEditor.build(obj);
PlaceManager placeManager = beanManager.lookupBean(PlaceManager.class).getInstance();
JSEditorActivity activity = JSExporterUtils.findActivityIfExists(beanManager,
newNativeEditor.getId(),
JSEditorActivity.class);
if (activity == null) {
registerNewActivity(beanManager,
activityBeansCache,
newNativeEditor,
placeManager);
} else {
updateExistentActivity(newNativeEditor,
activity);
}
}
}
开发者ID:kiegroup,项目名称:appformer,代码行数:28,代码来源:EditorJSExporter.java
示例15: UberfireBreadcrumbs
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public UberfireBreadcrumbs(UberfireBreadcrumbsContainer uberfireBreadcrumbsContainer,
ManagedInstance<BreadcrumbsPresenter> breadcrumbsPresenters,
PlaceManager placeManager,
View view) {
this.uberfireBreadcrumbsContainer = uberfireBreadcrumbsContainer;
this.breadcrumbsPresenters = breadcrumbsPresenters;
this.placeManager = placeManager;
this.view = view;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:11,代码来源:UberfireBreadcrumbs.java
示例16: PreferencesCentralActionsScreen
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public PreferencesCentralActionsScreen(final View view,
final PlaceManager placeManager,
final Event<PreferencesCentralPreSaveEvent> preSaveEvent,
final Event<PreferencesCentralSaveEvent> saveEvent,
final Event<PreferencesCentralUndoChangesEvent> undoChangesEvent,
final Event<NotificationEvent> notification) {
this.view = view;
this.placeManager = placeManager;
this.preSaveEvent = preSaveEvent;
this.saveEvent = saveEvent;
this.undoChangesEvent = undoChangesEvent;
this.notification = notification;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:15,代码来源:PreferencesCentralActionsScreen.java
示例17: PreferencesRootScreen
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public PreferencesRootScreen(final View view,
final PlaceManager placeManager,
final PreferenceFormBeansInfo preferenceFormBeansInfo,
final Event<HierarchyItemFormInitializationEvent> hierarchyItemFormInitializationEvent) {
this.view = view;
this.placeManager = placeManager;
this.preferenceFormBeansInfo = preferenceFormBeansInfo;
this.hierarchyItemFormInitializationEvent = hierarchyItemFormInitializationEvent;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:11,代码来源:PreferencesRootScreen.java
示例18: AdminPageItemPresenter
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public AdminPageItemPresenter(final View view,
final PlaceManager placeManager,
final Event<PreferencesCentralActionsConfigurationEvent> adminPageConfigurationEvent) {
this.view = view;
this.placeManager = placeManager;
this.adminPageConfigurationEvent = adminPageConfigurationEvent;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:9,代码来源:AdminPageItemPresenter.java
示例19: AdminPageImpl
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public AdminPageImpl(final PlaceManager placeManager,
final Event<PreferencesCentralInitializationEvent> preferencesCentralInitializationEvent,
@Customizable final PreferenceScopeResolutionStrategy resolutionStrategy,
final UberfireBreadcrumbs breadcrumbs,
final TranslationService translationService) {
this.placeManager = placeManager;
this.preferencesCentralInitializationEvent = preferencesCentralInitializationEvent;
this.resolutionStrategy = resolutionStrategy;
this.breadcrumbs = breadcrumbs;
this.translationService = translationService;
this.toolsByCategoryByScreen = new HashMap<>();
this.screenTitleByIdentifier = new HashMap<>();
}
开发者ID:kiegroup,项目名称:appformer,代码行数:15,代码来源:AdminPageImpl.java
示例20: DocksBars
import org.uberfire.client.mvp.PlaceManager; //导入依赖的package包/类
@Inject
public DocksBars(PlaceManager placeManager,
MenuBuilder menuBuilder,
Event<UberfireDocksInteractionEvent> dockInteractionEvent,
UberfireDocksContainer uberfireDocksContainer,
PlaceHistoryHandler placeHistoryHandler) {
this.placeManager = placeManager;
this.menuBuilder = menuBuilder;
this.dockInteractionEvent = dockInteractionEvent;
this.uberfireDocksContainer = uberfireDocksContainer;
this.placeHistoryHandler = placeHistoryHandler;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:13,代码来源:DocksBars.java
注:本文中的org.uberfire.client.mvp.PlaceManager类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论