IStructuredSelection selection = getStructuredSelection();
List elements = selection.toList();
for (Object obj : elements) {
if (obj instanceof LiveBean) {
LiveBean bean = (LiveBean) obj;
LiveBeansSession appName = bean.getSession();
String beanClass = bean.getBeanType();
if (appName != null) {
if (beanClass != null && beanClass.trim().length() > 0) {
if (beanClass.startsWith("com.sun.proxy")) {
// Special case for proxy beans, extract the type