Kie Workbench - Common - UI 6.1.0.CR1

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 addNoSuchFileException(HasBusyIndicator view, org.uberfire.client.common.MultiPageEditor editor)
           
 CommandBuilder addNoSuchFileException(HasBusyIndicator view, org.uberfire.client.common.MultiPageEditor editor, org.uberfire.workbench.model.menu.Menus menus)
           
 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(HasBusyIndicator view,
                                             org.uberfire.client.common.MultiPageEditor editor)

addNoSuchFileException

public CommandBuilder addNoSuchFileException(HasBusyIndicator view,
                                             org.uberfire.client.common.MultiPageEditor editor,
                                             org.uberfire.workbench.model.menu.Menus menus)

build

public Map<Class<? extends Throwable>,org.uberfire.mvp.Command> build()

Kie Workbench - Common - UI 6.1.0.CR1

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