1 11 package org.eclipse.ui; 12 13 25 public interface IPerspectiveRegistry { 26 38 public IPerspectiveDescriptor clonePerspective(String id, String label, 39 IPerspectiveDescriptor desc) throws IllegalArgumentException ; 40 41 48 public void deletePerspective(IPerspectiveDescriptor persp); 49 50 57 public IPerspectiveDescriptor findPerspectiveWithId(String perspectiveId); 58 59 66 public IPerspectiveDescriptor findPerspectiveWithLabel(String label); 67 68 77 public String getDefaultPerspective(); 78 79 84 public IPerspectiveDescriptor[] getPerspectives(); 85 86 96 public void setDefaultPerspective(String id); 97 98 106 public void revertPerspective(IPerspectiveDescriptor perspToRevert); 107 } 108 | Popular Tags |