1 19 20 package org.netbeans.core.multiview; 21 22 import org.netbeans.core.api.multiview.MultiViewHandler; 23 import org.netbeans.core.api.multiview.MultiViewPerspective; 24 import org.netbeans.core.spi.multiview.MultiViewDescription; 25 import org.netbeans.core.spi.multiview.MultiViewElement; 26 27 30 public abstract class Accessor { 31 32 protected static Accessor DEFAULT = null; 33 34 static { 35 Class c = MultiViewPerspective.class; 38 try { 39 Class.forName(c.getName(), true, c.getClassLoader()); 40 } catch (Exception ex) { 41 ex.printStackTrace(); 42 } 43 } 44 45 public abstract MultiViewPerspective createPerspective(MultiViewDescription desc); 46 47 49 public abstract MultiViewHandler createHandler(MultiViewHandlerDelegate delegate); 50 51 53 public abstract MultiViewDescription extractDescription(MultiViewPerspective perspective); 54 55 } 56 | Popular Tags |