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.
-
-
Constructor Summary
Constructors Constructor Description CommandBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandBuilderadd(Class<? extends Throwable> throwable, org.uberfire.mvp.Command command)CommandBuilderaddFileSystemNotFoundException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, org.uberfire.client.workbench.widgets.multipage.MultiPageEditor editor, org.uberfire.workbench.model.menu.Menus menus)CommandBuilderaddFileSystemNotFoundException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, org.uberfire.workbench.model.menu.Menus menus)CommandBuilderaddNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, org.uberfire.client.callbacks.Callback<com.google.gwt.user.client.ui.IsWidget> callback)CommandBuilderaddNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, org.uberfire.client.workbench.widgets.multipage.MultiPageEditor editor)CommandBuilderaddNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, org.uberfire.client.workbench.widgets.multipage.MultiPageEditor editor, org.uberfire.workbench.model.menu.Menus menus)CommandBuilderaddNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, org.uberfire.workbench.model.menu.Menus menus)CommandBuilderaddSourceCodeGenerationFailedException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, ViewDRLSourceWidget sourceWidget)Map<Class<? extends Throwable>,org.uberfire.mvp.Command>build()
-
-
-
Method Detail
-
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.client.workbench.widgets.multipage.MultiPageEditor editor)
-
addNoSuchFileException
public CommandBuilder addNoSuchFileException(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, org.uberfire.client.workbench.widgets.multipage.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.client.workbench.widgets.multipage.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)
-
-