Convenience function to deserialize a gzipped byte array into a single object. If
multiple objects are found, they will be discarded. Warnings are logged to the given logger. If
data is null or empty, null is returned.
This event bus schedules event notification on the swing EDT. This is opposed to the event bus
found on CommonContext.getEventBus(), which schedules event notification on a
background thread.
Returns the appropriate named query rpc for the context. In the gateway and client, we only
want to use named queries that have been saved. In the designer, we want to use the current
version so that reports and bindings can be seen and used for testing before the project is
saved.
Returns:
The correct NamedQueryManager implementation for the scope.
Returns the project that this client is running. Note that this may be null before the client
is fully logged in and started, because the context is created before the project is
downloaded.