tabProperties.put(LayoutParts.ComponentID.name(), componentId);
tabProperties.put(LayoutParts.Subject.name(), getInstanceSubject(instanceId));
tabInstances.put(instanceId, JSONUtilCli.encodeMap(tabProperties));
bus.subscribe(getInstanceSubject(instanceId),
new MessageCallback() {
private Map<String, Set<Object>> toUnregister = ((ClientMessageBus) bus).getCapturedRegistrations();
public void callback(Message message) {
switch (LayoutCommands.valueOf(message.getCommandType())) {