viewer.expandToLevel(element, 1);
if (element instanceof HasDoubleClickAction) {
HasDoubleClickAction hdc = (HasDoubleClickAction) element;
Action doubleClickAction = hdc.getDoubleClickAction();
if (doubleClickAction != null) {
doubleClickAction.run();
}
} else if (element instanceof Fabric) {
final Fabric fabric = (Fabric) element;
UIJob job = new UIJob("Connect to Fabric: " + fabric.toString()) {