RmdDiscoveredTemplate template = event.getData();
eventBus_.fireEvent(new RmdTemplateDiscoveredEvent(template));
}
else if (type.equals(ClientEvent.RmdTemplateDiscoveryCompleted))
{
eventBus_.fireEvent(new RmdTemplateDiscoveryCompletedEvent());
}
else if (type.equals(ClientEvent.RmdShinyDocStarted))
{
RmdShinyDocInfo docInfo = event.getData();
eventBus_.fireEvent(new RmdShinyDocStartedEvent(docInfo));