public interface TopologyLayerCallback
| Modifier and Type | Method and Description |
|---|---|
void |
domainModelChanged(Object root)
Called when the domain model has changed.
|
void |
onError(SynchronizeFXException error)
Called when an error occurred in the meta model layer.
|
void |
sendCommands(List<Command> commands)
Called when the meta model layer has produced commands that need to be shared with other meta models.
|
void sendCommands(List<Command> commands)
This method should not block as this may could block the GUI thread. The order of the commands passed in sequential calls to this methods however needs to be retained.
When you've called MetaModel.commandsForDomainModel(CommandsForDomainModelCallback) to get the initial
domain model for a new peer, you don't need to send the commands from this method to this peer as long as your
callback CommandsForDomainModelCallback.commandsReady(List) has not been called. They are incorporated
automatically.
commands - The commands that need to be shared.void domainModelChanged(Object root)
root - The root object of the new domain model.void onError(SynchronizeFXException error)
error - The exception that caused the error.Copyright © 2016 Saxonia Systems AG. All Rights Reserved.