org.kie.workbench.common.widgets.client.callbacks
Class CommandBuilder
java.lang.Object
org.kie.workbench.common.widgets.client.callbacks.CommandBuilder
public class CommandBuilder
- extends Object
Utility class to build the Commands for CommandDrivenErrorCallback.
|
Method Summary |
CommandBuilder |
add(Class<? extends Throwable> throwable,
org.uberfire.mvp.Command command)
|
CommandBuilder |
addFileSystemNotFoundException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.workbench.model.menu.Menus menus)
|
CommandBuilder |
addFileSystemNotFoundException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.ext.widgets.common.client.common.MultiPageEditor editor,
org.uberfire.workbench.model.menu.Menus menus)
|
CommandBuilder |
addNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.client.callbacks.Callback<com.google.gwt.user.client.ui.IsWidget> callback)
|
CommandBuilder |
addNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.workbench.model.menu.Menus menus)
|
CommandBuilder |
addNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.ext.widgets.common.client.common.MultiPageEditor editor)
|
CommandBuilder |
addNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.ext.widgets.common.client.common.MultiPageEditor editor,
org.uberfire.workbench.model.menu.Menus menus)
|
CommandBuilder |
addSourceCodeGenerationFailedException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
ViewDRLSourceWidget sourceWidget)
|
Map<Class<? extends Throwable>,org.uberfire.mvp.Command> |
build()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandBuilder
public CommandBuilder()
add
public CommandBuilder add(Class<? extends Throwable> throwable,
org.uberfire.mvp.Command command)
addNoSuchFileException
public CommandBuilder addNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.client.callbacks.Callback<com.google.gwt.user.client.ui.IsWidget> callback)
addNoSuchFileException
public CommandBuilder addNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.ext.widgets.common.client.common.MultiPageEditor editor)
addNoSuchFileException
public CommandBuilder addNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.ext.widgets.common.client.common.MultiPageEditor editor,
org.uberfire.workbench.model.menu.Menus menus)
addNoSuchFileException
public CommandBuilder addNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.workbench.model.menu.Menus menus)
addFileSystemNotFoundException
public CommandBuilder addFileSystemNotFoundException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.ext.widgets.common.client.common.MultiPageEditor editor,
org.uberfire.workbench.model.menu.Menus menus)
addFileSystemNotFoundException
public CommandBuilder addFileSystemNotFoundException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.uberfire.workbench.model.menu.Menus menus)
addSourceCodeGenerationFailedException
public CommandBuilder addSourceCodeGenerationFailedException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
ViewDRLSourceWidget sourceWidget)
build
public Map<Class<? extends Throwable>,org.uberfire.mvp.Command> build()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.