Created
March 16, 2020 20:03
-
-
Save romartin/fc796e87c5e5cf850d61d74babeb3c3b to your computer and use it in GitHub Desktop.
org.kie.workbench.common.stunner.kogito.client.editor.BPMNDiagramEditor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static java.util.logging.Logger LOGGER = java.util.logging.Logger.getLogger(BaseCanvasHandler.class.getName()); | |
@SetContent | |
@Override | |
public void setContent(final String path, final String value) { | |
LOGGER.severe("HELLOOOOO!!!!"); | |
superOnClose(); | |
diagramServices.transform(value, | |
new ServiceCallback<Diagram>() { | |
@Override | |
public void onSuccess(final Diagram diagram) { | |
getEditor().open(diagram); | |
} | |
@Override | |
public void onError(final ClientRuntimeError error) { | |
BPMNDiagramEditor.this.getEditor().onLoadError(error); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment