added javadoc to loadPerspectiveSwitch