ProcedureManager.Observer

public static interface ProcedureManager.Observer

Callback listener for changes regarding procedures on the workspace.

Public Method Summary

abstract void
onClear()
Called when all workspace procedures are removed.
abstract void
onProcedureBlockAdded(String procedureName, Block block)
Called when a procedure is added to the workspace.
abstract void
onProcedureBlocksRemoved(String procedureName, List<Block> blocks)
Called when a procedure is removed from the workspace.
abstract void
onProcedureMutated(ProcedureInfo oldProcInfo, ProcedureInfo newProcInfo)
Called when a procedure name or definition changes.

Public Methods

public abstract void onClear ()

Called when all workspace procedures are removed.

public abstract void onProcedureBlockAdded (String procedureName, Block block)

Called when a procedure is added to the workspace.

Parameters
procedureName
block

public abstract void onProcedureBlocksRemoved (String procedureName, List<Block> blocks)

Called when a procedure is removed from the workspace.

Parameters
procedureName
blocks

public abstract void onProcedureMutated (ProcedureInfo oldProcInfo, ProcedureInfo newProcInfo)

Called when a procedure name or definition changes.

Parameters
oldProcInfo
newProcInfo