public void itemSelected(final JavaScriptObject obj)
{
if (!getEntityType(obj.toString()).equals("NOTSET"))
{
EventBus.getInstance().notifyObservers(
new StreamScopeAddedEvent(new StreamScope(getDisplayName(obj.toString()), ScopeType
.valueOf(getEntityType(obj.toString())), getUniqueId(obj.toString()), Long
.parseLong(getStreamScopeId(obj.toString())))));
}
}
});