当前位置: 首页>>代码示例>>Java>>正文


Java TransitionAnchor类代码示例

本文整理汇总了Java中org.jboss.errai.ui.nav.client.local.TransitionAnchor的典型用法代码示例。如果您正苦于以下问题:Java TransitionAnchor类的具体用法?Java TransitionAnchor怎么用?Java TransitionAnchor使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


TransitionAnchor类属于org.jboss.errai.ui.nav.client.local包,在下文中一共展示了TransitionAnchor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onSubmitComplete

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * @see com.google.gwt.user.client.ui.FormPanel.SubmitCompleteHandler#onSubmitComplete(com.google.gwt.user.client.ui.FormPanel.SubmitCompleteEvent)
 */
@Override
public void onSubmitComplete(SubmitCompleteEvent event) {
    dialog.destroy();

    AddResult results = AddResult.fromResult(event.getResults());
    if (results.isError()) {
        if (results.getError() != null) {
            notificationService.completeProgressNotification(
                    notification.getUuid(),
                    i18n.format("add-deployment-submit.error-adding-deployment"), //$NON-NLS-1$
                    results.getError());
        } else {
            notificationService.completeProgressNotification(
                    notification.getUuid(),
                    i18n.format("add-deployment-submit.error-adding-deployment"), //$NON-NLS-1$
                    i18n.format("add-deployment-submit.error-adding-deployment-msg")); //$NON-NLS-1$
        }
    } else if (results.isBatch()) {
        String message = i18n.format("add-deployment-submit.upload-complete-msg", results.getBatchNumSuccess(), results.getBatchNumFailed()); //$NON-NLS-1$
        notificationService.completeProgressNotification(
                notification.getUuid(),
                i18n.format("add-deployment-submit.upload-complete"), //$NON-NLS-1$
                message);
    } else {
        Widget ty = new InlineLabel(i18n.format("add-deployment-submit.thanks")); //$NON-NLS-1$
        TransitionAnchor<DeploymentDetailsPage> clickHere = toDetailsFactory.get("uuid", results.getUuid()); //$NON-NLS-1$
        clickHere.setText(i18n.format("add-deployment-submit.click-here-1")); //$NON-NLS-1$
        Widget postAmble = new InlineLabel(i18n.format("add-deployment-submit.click-here-2")); //$NON-NLS-1$
        FlowPanel body = new FlowPanel();
        body.add(ty);
        body.add(clickHere);
        body.add(postAmble);
        notificationService.completeProgressNotification(
                notification.getUuid(),
                i18n.format("add-deployment-submit.successfully-added"), //$NON-NLS-1$
                body);
    }
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:42,代码来源:AddDeploymentFormSubmitHandler.java

示例2: getBackToDashboard

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Gets the back to dashboard.
 * 
 * @return the back to dashboard
 */
public TransitionAnchor<DashboardPage> getBackToDashboard() {
    return _backToDashboard;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:9,代码来源:WorkflowQueriesPage.java

示例3: getCreateQuery

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Gets the creates the query.
 * 
 * @return the creates the query
 */
public TransitionAnchor<WorkflowQueryPage> getCreateQuery() {
    return _createQuery;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:9,代码来源:WorkflowQueriesPage.java

示例4: setBackToDashboard

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Sets the back to dashboard.
 * 
 * @param backToDashboard
 *            the new back to dashboard
 */
public void setBackToDashboard(TransitionAnchor<DashboardPage> backToDashboard) {
    this._backToDashboard = backToDashboard;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:10,代码来源:WorkflowQueriesPage.java

示例5: setCreateQuery

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Sets the creates the query.
 * 
 * @param createQuery
 *            the new creates the query
 */
public void setCreateQuery(TransitionAnchor<WorkflowQueryPage> createQuery) {
    this._createQuery = createQuery;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:10,代码来源:WorkflowQueriesPage.java

示例6: get_backToDashboard

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Gets the _back to dashboard.
 *
 * @return the _back to dashboard
 */
public TransitionAnchor<DashboardPage> get_backToDashboard() {
    return _backToDashboard;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:9,代码来源:WorkflowQueryPage.java

示例7: getBackToQueries

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Gets the back to queries.
 *
 * @return the back to queries
 */
public TransitionAnchor<WorkflowQueriesPage> getBackToQueries() {
    return _backToQueries;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:9,代码来源:WorkflowQueryPage.java

示例8: set_backToDashboard

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Sets the _back to dashboard.
 *
 * @param _backToDashboard
 *            the new _back to dashboard
 */
public void set_backToDashboard(TransitionAnchor<DashboardPage> _backToDashboard) {
    this._backToDashboard = _backToDashboard;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:10,代码来源:WorkflowQueryPage.java

示例9: setBackToQueries

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Sets the back to queries.
 *
 * @param backToQueries
 *            the new back to queries
 */
public void setBackToQueries(TransitionAnchor<WorkflowQueriesPage> backToQueries) {
    this._backToQueries = backToQueries;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:10,代码来源:WorkflowQueryPage.java

示例10: getBackToDashboard

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Gets the back to dashboard.
 *
 * @return the back to dashboard
 */
public TransitionAnchor<DashboardPage> getBackToDashboard() {
    return _backToDashboard;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:9,代码来源:TargetsPage.java

示例11: setBackToDashboard

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Sets the back to dashboard.
 *
 * @param backToDashboard
 *            the new back to dashboard
 */
public void setBackToDashboard(TransitionAnchor<DashboardPage> backToDashboard) {
    this._backToDashboard = backToDashboard;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:10,代码来源:TargetsPage.java

示例12: getCreateTarget

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Gets the creates the target.
 *
 * @return the creates the target
 */
public TransitionAnchor<TargetPage> getCreateTarget() {
    return _createTarget;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:9,代码来源:TargetsPage.java

示例13: setCreateTarget

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Sets the creates the target.
 *
 * @param createTarget
 *            the new creates the target
 */
public void setCreateTarget(TransitionAnchor<TargetPage> createTarget) {
    this._createTarget = createTarget;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:10,代码来源:TargetsPage.java

示例14: getBackToTargets

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Gets the back to targets.
 *
 * @return the back to targets
 */
public TransitionAnchor<TargetsPage> getBackToTargets() {
    return _backToTargets;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:9,代码来源:TargetPage.java

示例15: setBackToTargets

import org.jboss.errai.ui.nav.client.local.TransitionAnchor; //导入依赖的package包/类
/**
 * Sets the back to targets.
 *
 * @param backToTargets
 *            the new back to targets
 */
public void setBackToTargets(TransitionAnchor<TargetsPage> backToTargets) {
    this._backToTargets = backToTargets;
}
 
开发者ID:Governance,项目名称:dtgov,代码行数:10,代码来源:TargetPage.java


注:本文中的org.jboss.errai.ui.nav.client.local.TransitionAnchor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。