@Dependent public class SaveDiagramSessionCommand extends AbstractClientSessionCommand<EditorSession>
CanvasHandler.getDiagram().
This is responsible to generate the diagram SVG and save it as well.
Does not support undo operation.ClientSessionCommand.Callback<V>| Constructor and Description |
|---|
SaveDiagramSessionCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(ClientSession session) |
<V> void |
execute(ClientSessionCommand.Callback<V> callback) |
bind, checkEventContext, destroy, doDestroy, enable, execute, fire, getCanvasHandler, getElement, getSession, isEnabled, listen, loadCanvasFactory, newDefaultCallback, setEnabledpublic <V> void execute(ClientSessionCommand.Callback<V> callback)
public boolean accepts(ClientSession session)
accepts in class AbstractClientSessionCommand<EditorSession>Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.