Kie Workbench - Common - UI 6.2.0.Final

org.kie.workbench.common.widgets.client.callbacks
Class CommandBuilder

java.lang.Object
  extended by org.kie.workbench.common.widgets.client.callbacks.CommandBuilder

public class CommandBuilder
extends Object

Utility class to build the Commands for CommandDrivenErrorCallback.


Constructor Summary
CommandBuilder()
           
 
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
 

Constructor Detail

CommandBuilder

public CommandBuilder()
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.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()

Kie Workbench - Common - UI 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.