@ApplicationScoped public class ClientRuntimeModelLoader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
IMPORT_ID_PARAM |
| Constructor and Description |
|---|
ClientRuntimeModelLoader() |
ClientRuntimeModelLoader(org.jboss.errai.common.client.api.Caller<RuntimeModelService> importModelServiceCaller,
RuntimePerspectiveGenerator perspectiveEditorGenerator) |
| Modifier and Type | Method and Description |
|---|---|
void |
loadModel(Consumer<RuntimeModel> modelLoaded,
Command emptyModel,
BiConsumer<Object,Throwable> error) |
void |
loadModel(String modelId,
Consumer<RuntimeModel> modelLoaded,
Command emptyModel,
BiConsumer<Object,Throwable> error) |
public static final String IMPORT_ID_PARAM
public ClientRuntimeModelLoader()
@Inject public ClientRuntimeModelLoader(org.jboss.errai.common.client.api.Caller<RuntimeModelService> importModelServiceCaller, RuntimePerspectiveGenerator perspectiveEditorGenerator)
public void loadModel(Consumer<RuntimeModel> modelLoaded, Command emptyModel, BiConsumer<Object,Throwable> error)
public void loadModel(String modelId, Consumer<RuntimeModel> modelLoaded, Command emptyModel, BiConsumer<Object,Throwable> error)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.