1 19 20 package org.netbeans.core.api.multiview; 21 22 import org.netbeans.core.multiview.MultiViewHandlerDelegate; 23 24 30 public final class MultiViewHandler { 31 32 static { 33 AccessorImpl.createAccesor(); 34 } 35 36 private MultiViewHandlerDelegate del; 37 38 MultiViewHandler(MultiViewHandlerDelegate delegate) { 39 del = delegate; 40 } 41 45 public MultiViewPerspective[] getPerspectives() { 46 return del.getDescriptions(); 47 } 48 49 54 public MultiViewPerspective getSelectedPerspective() { 55 return del.getSelectedDescription(); 56 } 57 58 62 67 72 public void requestActive(MultiViewPerspective desc) { 73 del.requestActive(desc); 74 } 75 76 81 82 public void requestVisible(MultiViewPerspective desc) { 83 del.requestVisible(desc); 84 } 85 86 87 88 } 89 | Popular Tags |