Search in sources :

Example 1 with ICommand

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();
}
Also used : ICommand(org.jowidgets.api.command.ICommand) IActionBuilder(org.jowidgets.api.command.IActionBuilder)

Example 2 with ICommand

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();
}
Also used : ICommand(org.jowidgets.api.command.ICommand) IActionBuilder(org.jowidgets.api.command.IActionBuilder)

Example 3 with ICommand

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();
}
Also used : ICommand(org.jowidgets.api.command.ICommand) IActionBuilder(org.jowidgets.api.command.IActionBuilder)

Example 4 with ICommand

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();
}
Also used : ICommand(org.jowidgets.api.command.ICommand) IActionBuilder(org.jowidgets.api.command.IActionBuilder)

Aggregations

IActionBuilder (org.jowidgets.api.command.IActionBuilder)4 ICommand (org.jowidgets.api.command.ICommand)4