本文整理汇总了Java中com.gwtplatform.mvp.client.proxy.PlaceManager类的典型用法代码示例。如果您正苦于以下问题:Java PlaceManager类的具体用法?Java PlaceManager怎么用?Java PlaceManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PlaceManager类属于com.gwtplatform.mvp.client.proxy包,在下文中一共展示了PlaceManager类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: ApplicationPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
ApplicationPresenter(EventBus eventBus,
MyView view,
MyProxy proxy,
RestDispatch dispatch,
UserService userService,
CurrentUser currentUser,
PlaceManager placeManager) {
super(eventBus, view, proxy, RevealType.Root);
this.dispatch = dispatch;
this.userService = userService;
this.currentUser = currentUser;
this.placeManager = placeManager;
getView().setUiHandlers(this);
}
开发者ID:imrabti,项目名称:gwtp-spring-security,代码行数:18,代码来源:ApplicationPresenter.java
示例2: LoginPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
LoginPresenter(EventBus eventBus,
MyView view,
MyProxy proxy,
PlaceManager placeManager,
RestDispatch dispatcher,
UserService userService,
CurrentUser currentUser) {
super(eventBus, view, proxy, RevealType.Root);
this.placeManager = placeManager;
this.dispatcher = dispatcher;
this.userService = userService;
this.currentUser = currentUser;
getView().setUiHandlers(this);
}
开发者ID:imrabti,项目名称:gwtp-spring-security,代码行数:18,代码来源:LoginPresenter.java
示例3: PlayerPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
public PlayerPresenter(
PlaceManager placeManager,
EventBus eventBus,
PlayerView view,
Proxy proxy,
DealService dealService,
DrawingService drawingService,
User currentUser,
ApplicationDialogs applicationDialogs
) {
super(eventBus, view, proxy, ApplicationPresenter.MAIN_SLOT);
this.placeManager = placeManager;
this.dealService = dealService;
this.drawingService = drawingService;
this.currentUser = currentUser;
this.applicationDialogs = applicationDialogs;
getView().setUiHandlers(this);
}
开发者ID:Unisay,项目名称:preferanser,代码行数:20,代码来源:PlayerPresenter.java
示例4: EditorPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
public EditorPresenter(PlaceManager placeManager,
EventBus eventBus,
EditorView view,
Proxy proxy,
Editor editor,
DealService dealService,
ApplicationDialogs applicationDialogs) {
super(eventBus, view, proxy, ApplicationPresenter.MAIN_SLOT);
this.placeManager = placeManager;
this.editor = editor;
this.dealService = dealService;
this.applicationDialogs = applicationDialogs;
getView().setUiHandlers(this);
initEditor();
}
开发者ID:Unisay,项目名称:preferanser,代码行数:17,代码来源:EditorPresenter.java
示例5: PersonPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
/**
* constructor injecting parameters.
*/
@Inject
public PersonPresenter(final EventBus peventBus, final MyView pview, final MyProxy pproxy,
final PlaceManager pplaceManager, final PersonConstants pconstants,
final RestDispatch pdispatcher, final PersonRestService ppersonService,
final Session psession) {
super(peventBus, pview, pproxy, AbstractBasePagePresenter.SLOT_MAIN_CONTENT);
this.placeManager = pplaceManager;
this.constants = pconstants;
this.dispatcher = pdispatcher;
this.personService = ppersonService;
this.session = psession;
this.getView().setPresenter(this);
this.fillForm(new Person(), null);
}
开发者ID:ManfredTremmel,项目名称:gwt-bean-validators-example,代码行数:18,代码来源:PersonPresenter.java
示例6: GWTPTabPanel
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
/**
* Create a new GWTPTabPanel.
*
* @param placeManager the place manager to use when processing tab
* selections.
*/
public GWTPTabPanel(final PlaceManager placeManager) {
_layout = new LayoutPanel();
_layout.addStyleName("fill-layout"); //$NON-NLS-1$
_tabBar = new DefaultTabLayoutPanel(40, Unit.PX);
// _tabBar = new TabBar();
_tabBar.addSelectionHandler(new SelectionHandler<Integer>() {
@Override
public void onSelection(SelectionEvent<Integer> event) {
if (_modifyingTabs) {
// add/remove tab may change the selection
return;
}
if (event.getSelectedItem() < 0) {
// TODO: WHAT????
return;
}
final PlaceRequest current = placeManager.getCurrentPlaceRequest();
final String selectedToken = _tabs.get(event.getSelectedItem()).getTargetHistoryToken();
final String currentToken = current == null ? null : current.getNameToken();
if (!selectedToken.equals(currentToken)) {
placeManager.revealPlace(new PlaceRequest(selectedToken));
}
}
});
_content = new LayoutPanel();
_content.setStyleName("fill-layout"); //$NON-NLS-1$
_layout.add(_tabBar);
_layout.add(_content);
((LayoutPanel) _layout).setWidgetTopHeight(_tabBar, 0, Unit.PX, 40, Unit.PX);
((LayoutPanel) _layout).setWidgetTopHeight(_content, 40, Unit.PX, 100, Unit.PCT);
}
开发者ID:jboss-switchyard,项目名称:switchyard,代码行数:42,代码来源:GWTPTabPanel.java
示例7: AbstractSharePresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
AbstractSharePresenter(final EventBus eventBus,
final MyView view,
final PlaceManager placeManager) {
super(eventBus, view);
this.placeManager = placeManager;
view.setUiHandlers(this);
view.setAutoHideOnNavigationEventEnabled(true);
}
开发者ID:donbeave,项目名称:grails-console-charts,代码行数:11,代码来源:AbstractSharePresenter.java
示例8: ApplicationDesktopPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
ApplicationDesktopPresenter(final EventBus eventBus,
final MyView view,
final MyProxy proxy,
final TopDesktopPresenterWidget topPresenter,
final EditorDesktopPresenterWidget editorPresenter,
final PlaceManager placeManager,
final ShareDesktopPresenter sharePresenter) {
super(eventBus, view, proxy, RevealType.RootLayout, placeManager, sharePresenter);
this.topPresenter = topPresenter;
this.editorPresenter = editorPresenter;
}
开发者ID:donbeave,项目名称:grails-console-charts,代码行数:14,代码来源:ApplicationDesktopPresenter.java
示例9: AbstractApplicationPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
public AbstractApplicationPresenter(final EventBus eventBus,
final MyView view,
final MyProxy proxy,
final RevealType slot,
final PlaceManager placeManager,
final AbstractSharePresenter sharePresenter) {
super(eventBus, view, proxy, slot);
this.placeManager = placeManager;
this.sharePresenter = sharePresenter;
view.setUiHandlers(this);
}
开发者ID:donbeave,项目名称:grails-console-charts,代码行数:14,代码来源:AbstractApplicationPresenter.java
示例10: AbstractConnectionPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
AbstractConnectionPresenter(final EventBus eventBus,
final MyView view,
final PlaceManager placeManager) {
super(eventBus, view);
this.placeManager = placeManager;
view.setUiHandlers(this);
view.setAutoHideOnNavigationEventEnabled(true);
}
开发者ID:donbeave,项目名称:grails-console-charts,代码行数:11,代码来源:AbstractConnectionPresenter.java
示例11: AbstractEditorPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
AbstractEditorPresenter(final EventBus eventBus,
final MyView view,
final PlaceManager placeManager) {
super(eventBus, view);
this.placeManager = placeManager;
view.setUiHandlers(this);
}
开发者ID:donbeave,项目名称:grails-console-charts,代码行数:10,代码来源:AbstractEditorPresenter.java
示例12: BootstrapperImpl
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
BootstrapperImpl(PlaceManager placeManager,
CurrentUser currentUser,
RestDispatch dispatcher,
UserService userService,
@UnauthorizedPlace String unauthorizedPlace) {
this.currentUser = currentUser;
this.dispatcher = dispatcher;
this.userService = userService;
this.unauthorizedPlace = unauthorizedPlace;
this.placeManager = placeManager;
}
开发者ID:imrabti,项目名称:gwtp-spring-security,代码行数:13,代码来源:BootstrapperImpl.java
示例13: DealPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
public DealPresenter(EventBus eventBus,
DealView view,
Proxy proxy,
PlaceManager placeManager,
DealService dealService,
User user
) {
super(eventBus, view, proxy, MainPresenter.MAIN_SLOT);
this.placeManager = placeManager;
this.user = user;
getView().setUiHandlers(this);
this.dealService = dealService;
}
开发者ID:Unisay,项目名称:preferanser,代码行数:15,代码来源:DealPresenter.java
示例14: DealView
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
public DealView(Binder uiBinder, PreferanserConstants constants, PlaceManager placeManager) {
this.constants = constants;
this.placeManager = placeManager;
dealTable = new FlexTable();
HTMLTable.ColumnFormatter columnFormatter = dealTable.getColumnFormatter();
columnFormatter.setWidth(COLUMN_TIME, "40px");
initWidget(uiBinder.createAndBindUi(this));
}
开发者ID:Unisay,项目名称:preferanser,代码行数:10,代码来源:DealView.java
示例15: AuthBootstrapper
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
public AuthBootstrapper(PlaceManager placeManager, AuthService authService, User user) {
this.placeManager = placeManager;
this.authService = authService;
this.user = user;
this.currentUserDtoResponse = new CurrentUserDtoResponse();
}
开发者ID:Unisay,项目名称:preferanser,代码行数:8,代码来源:AuthBootstrapper.java
示例16: AppView
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
public AppView(PlaceManager placeManager) {
this.placeManager = placeManager;
widget = uiBinder.createAndBindUi(this);
this.mainContent.getElement().setId("wrapper");
this.contentPanel.getElement().setId("contentWrapper");
this.signOut.setVisible(false);
buyMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(buyUrl, 5)));
sellMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(sellUrl, 3)));
rentMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(rentUrl, 3)));
moveMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(moveUrl, 4)));
appraisalMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(appraisalUrl, 5)));
mortgageMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(mortgageUrl, 4)));
creditReportMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(creditReportUrl, 3)));
lawsMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(lawsUrl, 20)));
legalMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(legalUrl, 7)));
termsMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(termsUrl, 15)));
mortgageCalcSvcMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(mortgageCalcSvcUrl,
2)));
;
mortgageSvcMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(mortgageSvcUrl, 2)));
;
appraisalSvcMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(appraisalSvcUrl, 2)));
;
insuranceSvcMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(insuranceSvcUrl, 2)));
;
movingSvcMenu.setCommand(new LoadMenuItemCommand(NameTokens.articlePage, getReqParams(movingSvcUrl, 2)));
;
Map<String, String> reqParams = new HashMap<String, String>();
reqParams.put("mode", new Integer(1).toString());
saleMapMenu.setCommand(new LoadMenuItemCommand(NameTokens.resultsWMapPage, reqParams));
reqParams = new HashMap<String, String>();
reqParams.put("mode", new Integer(2).toString());
rentMapMenu.setCommand(new LoadMenuItemCommand(NameTokens.resultsWMapPage, reqParams));
blur.setVisible(false);
}
开发者ID:jchaganti,项目名称:gharonda,代码行数:38,代码来源:AppView.java
示例17: AdvancedSearchPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
public AdvancedSearchPresenter(final EventBus eventBus, final PlaceManager placeManager, final MyView view,
final MyProxy proxy, final DispatchAsync dispatcher) {
super(dispatcher, eventBus, view, proxy);
this.placeManager = placeManager;
getView().setUiHandlers(this);
}
开发者ID:jchaganti,项目名称:gharonda,代码行数:8,代码来源:AdvancedSearchPresenter.java
示例18: HomePresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
public HomePresenter(final EventBus eventBus, final PlaceManager placeManager, final MyView view,
final MyProxy proxy, final DispatchAsync dispatcher) {
super(dispatcher, eventBus, view, proxy);
this.dispatcher = dispatcher;
this.placeManager = placeManager;
getView().setUiHandlers(this);
}
开发者ID:jchaganti,项目名称:gharonda,代码行数:9,代码来源:HomePresenter.java
示例19: AppPresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
public AppPresenter(EventBus eventBus, MyView view, MyProxy proxy, final PlaceManager placeManager,
final LoginPresenterWidget loginPresenter, final RegisterPresenterWidget registerPresenter,
final DispatchAsync dispatcher) {
super(eventBus, view, proxy);
this.placeManager = placeManager;
this.loginDlog = loginPresenter;
this.registerDlog = registerPresenter;
this.dispatcher = dispatcher;
getView().setUiHandlers(this);
loginPresenter.getView().setUiHandlers(this);
registerPresenter.getView().setUiHandlers(this);
}
开发者ID:jchaganti,项目名称:gharonda,代码行数:14,代码来源:AppPresenter.java
示例20: MyProfilePresenter
import com.gwtplatform.mvp.client.proxy.PlaceManager; //导入依赖的package包/类
@Inject
public MyProfilePresenter(final EventBus eventBus, final PlaceManager placeManager, final MyView view,
final MyProxy proxy, final DispatchAsync dispatcher) {
super(dispatcher, eventBus, view, proxy);
this.dispatcher = dispatcher;
getView().setUiHandlers(this);
}
开发者ID:jchaganti,项目名称:gharonda,代码行数:8,代码来源:MyProfilePresenter.java
注:本文中的com.gwtplatform.mvp.client.proxy.PlaceManager类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论