114115116117118119120121122123124
} } //Open perspective TopComponentGroup tpg = WindowManager.getDefault().findTopComponentGroup(perspective.getName()); tpg.open(); PerspectiveMember[] members = Lookup.getDefault().lookupAll(PerspectiveMember.class).toArray(new PerspectiveMember[0]); //Close members Perspective closingPerspective = getPerspective(selectedPerspective);