use of org.jowidgets.api.command.ICommand in project jo-client-platform by jo-source.
the class LinkDeleterActionBuilderImpl method buildAction.
private IAction buildAction() {
setDefaultTextIfNecessary();
setDefaultToolTipTextIfNecessary();
final ICommand command = new BeanLinkDeleterCommand<SOURCE_BEAN_TYPE, LINKED_BEAN_TYPE>(deleterService, deletionConfirmDialog, source, sourceSelectionAutoRefresh, sourceMultiSelection, sourceModificationPolicy, sourceMessageStatePolicy, sourceExecutableCheckers, linkedModel, linkedMultiSelection, linkedModificationPolicy, linkedMessageStatePolicy, linkedExecutableCheckers, enabledCheckers, autoSelection, executionInterceptors, exceptionConverter);
final IActionBuilder builder = getBuilder();
builder.setCommand(command);
return builder.build();
}
use of org.jowidgets.api.command.ICommand in project jo-client-platform by jo-source.
the class PasteLinkActionBuilderImpl method buildAction.
private IAction buildAction() {
setDefaultTextIfNecessary();
final ICommand command = new PasteLinkCommand<SOURCE_BEAN_TYPE, LINK_BEAN_TYPE, LINKABLE_BEAN_TYPE>(linkCreatorService, source, sourceSelectionAutoRefresh, sourceMultiSelection, sourceModificationPolicy, sourceMessageStatePolicy, sourceExecutableCheckers, linkedModel, linkedCardinality, linkBeanTypeId, linkBeanType, linkDefaultFactory, linkableBeanTypeId, linkableBeanType, enabledCheckers, serviceBasedEnabledChecking, executionInterceptors, exceptionConverter, disposeObservable);
final IActionBuilder builder = getBuilder();
builder.setCommand(command);
return builder.build();
}
use of org.jowidgets.api.command.ICommand in project jo-client-platform by jo-source.
the class RefreshLookUpsActionBuilderImpl method doBuild.
@Override
protected IAction doBuild() {
final ICommand command = new RefreshLookUpsCommand();
final IActionBuilder builder = getBuilder();
builder.setCommand(command);
return builder.build();
}
use of org.jowidgets.api.command.ICommand in project jo-client-platform by jo-source.
the class LinkCreatorActionBuilderImpl method buildAction.
private IAction buildAction() {
setDefaultTextIfNecessary();
final ICommand command = new BeanLinkCreatorCommand<SOURCE_BEAN_TYPE, LINK_BEAN_TYPE, LINKABLE_BEAN_TYPE>(linkCreatorService, source, sourceSelectionAutoRefresh, sourceMultiSelection, sourceModificationPolicy, sourceMessageStatePolicy, sourceExecutableCheckers, linkedModel, linkedCardinality, linkBeanTypeId, linkBeanType, linkBeanForm, linkDefaultFactory, linkBeanPropertyValidators, linkableBeanTypeId, linkableBeanType, linkableBeanForm, linkableTable, linkableBeanPropertyValidators, enabledCheckers, executionInterceptors, exceptionConverter);
final IActionBuilder builder = getBuilder();
builder.setCommand(command);
return builder.build();
}
Aggregations