@ApplicationScoped public class RuntimeClientLoader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
IMPORT_ID_PARAM |
| Constructor and Description |
|---|
RuntimeClientLoader() |
RuntimeClientLoader(org.jboss.errai.common.client.api.Caller<RuntimeModelService> runtimeModelServiceCaller,
RuntimePerspectiveGenerator perspectiveEditorGenerator,
RuntimePerspectivePluginManager runtimePerspectivePluginManager,
NavigationManager navigationManager,
BusyIndicatorView loading) |
| Modifier and Type | Method and Description |
|---|---|
void |
load(Consumer<RuntimeServiceResponse> responseConsumer,
BiConsumer<Object,Throwable> error) |
void |
loadModel(Consumer<RuntimeModel> modelLoaded,
Command emptyModel,
BiConsumer<Object,Throwable> error) |
void |
loadModel(String importId,
Consumer<RuntimeModel> modelLoaded,
Command emptyModel,
BiConsumer<Object,Throwable> error) |
public static final String IMPORT_ID_PARAM
public RuntimeClientLoader()
@Inject public RuntimeClientLoader(org.jboss.errai.common.client.api.Caller<RuntimeModelService> runtimeModelServiceCaller, RuntimePerspectiveGenerator perspectiveEditorGenerator, RuntimePerspectivePluginManager runtimePerspectivePluginManager, NavigationManager navigationManager, BusyIndicatorView loading)
public void load(Consumer<RuntimeServiceResponse> responseConsumer, BiConsumer<Object,Throwable> error)
public void loadModel(Consumer<RuntimeModel> modelLoaded, Command emptyModel, BiConsumer<Object,Throwable> error)
public void loadModel(String importId, Consumer<RuntimeModel> modelLoaded, Command emptyModel, BiConsumer<Object,Throwable> error)
Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.