1 19 20 package org.netbeans.core.api.multiview; 21 22 import java.awt.Image ; 23 import org.netbeans.core.spi.multiview.MultiViewDescription; 24 import org.openide.util.HelpCtx; 25 26 31 public final class MultiViewPerspective { 32 33 static { 34 AccessorImpl.createAccesor(); 35 } 36 37 private MultiViewDescription description; 38 39 MultiViewPerspective(MultiViewDescription desc) { 40 description = desc; 41 } 42 MultiViewDescription getDescription() { 44 return description; 45 } 46 47 48 55 public int getPersistenceType() { 56 return description.getPersistenceType(); 57 } 58 59 63 public String getDisplayName() { 64 return description.getDisplayName(); 65 } 66 67 71 public Image getIcon () { 72 return description.getIcon(); 73 } 74 75 77 public HelpCtx getHelpCtx () { 78 return description.getHelpCtx(); 79 } 80 81 87 public String preferredID() { 88 return description.preferredID(); 89 } 90 91 92 } | Popular Tags |