本文整理汇总了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);
}
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}