本文整理汇总了Java中org.jboss.errai.ui.nav.client.local.PageShown类的典型用法代码示例。如果您正苦于以下问题:Java PageShown类的具体用法?Java PageShown怎么用?Java PageShown使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PageShown类属于org.jboss.errai.ui.nav.client.local包,在下文中一共展示了PageShown类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: setCurrentState
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
@PageShown
@SuppressWarnings("unused")
private void setCurrentState() {
onPageShown();
if (navigation.getCurrentPage()!=null) {
String currentPage = navigation.getCurrentPage().getURL();
updateTabSelection(currentPage);
}
}
开发者ID:baldram,项目名称:tristar-eye,代码行数:10,代码来源:BasePage.java
示例2: onPageShown
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
/**
* Called whenver the page is shown.
*/
@PageShown
public void onPageShown() {
GWT.log("Subscribing to SitWatch topic."); //$NON-NLS-1$
bus.subscribe("SitWatch", new MessageCallback() { //$NON-NLS-1$
@Override
public void callback(Message message) {
SituationEventBean sitEvent = message.get(SituationEventBean.class, "situation"); //$NON-NLS-1$
onNewSituation(sitEvent);
}
});
}
开发者ID:Governance,项目名称:rtgov-ui,代码行数:15,代码来源:SituationsPage.java
示例3: onPageShown
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
/**
* Called whenver the page is shown.
*/
@PageShown
public void onPageShown() {
this.servicesService.getApplicationNames(new IRpcServiceInvocationHandler<List<QName>>() {
@Override
public void onReturn(List<QName> data) {
filtersPanel.setApplicationNames(data);
}
@Override
public void onError(Throwable error) {
}
});
}
开发者ID:Governance,项目名称:rtgov-ui,代码行数:16,代码来源:ServicesPage.java
示例4: sync
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
/**
* Performs a full two-way data synchronization between the client and the
* server: the server gets all new and updated UserComplaint objects from
* us, and we get all new and updated UserComplaint objects from the server.
*/
@PageShown
private void sync() {
loadComplaints();
app.sync(new RemoteCallback<List<SyncResponse<UserComplaint>>>() {
@Override
public void callback(List<SyncResponse<UserComplaint>> response) {
logger.debug("Received sync response:" + response);
loadComplaints();
}
});
}
开发者ID:chalu,项目名称:errai-polymer,代码行数:18,代码来源:Admin.java
示例5: pageShown
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
@PageShown
public void pageShown() {
// radioGrp.setAcceptableValues(Arrays.asList("Normal", "Urgent",
// "Critical"));
String p1 ="Your complaint has been recorded, and we will respond as soon as possible! In the mean time, you can review documentation and FAQs from the polymer-project.org";
review.addParagraphContent(p1);
PaperButton cancel = new PaperButton();
cancel.setLabel("Dismiss");
PaperButton ok = new PaperButton();
ok.setLabel("Got it!");
review.addActionButtons(cancel, 0, ok);
}
开发者ID:chalu,项目名称:errai-polymer,代码行数:16,代码来源:ComplaintForm.java
示例6: pageShown
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
/**
* Refreshes the contents of this page.
*/
@PageShown
private void pageShown() {
// Raise event
pageChangeEvent.fire(new PageChange(getClass().getName()));
// Load
load();
// Update widgets
update();
}
开发者ID:pd-pmueller,项目名称:cpa,代码行数:13,代码来源:AbstractListPage.java
示例7: onShown
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
@PageShown
public void onShown() {
loadEvent.fire(new LoadEvent(false));
}
开发者ID:kevzlou7979,项目名称:gwt-material-chat,代码行数:5,代码来源:SettingsPage.java
示例8: addNavBarButtons
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
@PageShown
public void addNavBarButtons() {
navbar.add(newContactAnchor);
navbar.add(sortContactsAnchor);
}
开发者ID:mbarkley,项目名称:errai-crud,代码行数:6,代码来源:ContactListPage.java
示例9: onPageShown
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
/**
* Called whenver the page is shown.
*/
@PageShown
public void onPageShown() {
}
开发者ID:Governance,项目名称:rtgov-ui,代码行数:7,代码来源:DashboardPage.java
示例10: addNavBarButtons
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
/**
* This method is invoked when this {@link Page} is attached to the {@link NavigationPanel}.
*/
@PageShown
public void addNavBarButtons() {
navbar.add(newContactAnchor);
navbar.add(sortContactsAnchor);
}
开发者ID:errai,项目名称:errai-tutorial,代码行数:9,代码来源:ContactListPage.java
示例11: onPageShown
import org.jboss.errai.ui.nav.client.local.PageShown; //导入依赖的package包/类
/**
* Called whenver the page is shown.
*/
@PageShown
public void onPageShown() {
// doSearch();
}
开发者ID:Governance,项目名称:dtgov,代码行数:8,代码来源:WorkflowQueriesPage.java
注:本文中的org.jboss.errai.ui.nav.client.local.PageShown类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论