1 19 20 package org.netbeans.core.multiview; 21 22 import org.netbeans.core.spi.multiview.MultiViewDescription; 23 import org.netbeans.core.spi.multiview.MultiViewElement; 24 import org.netbeans.core.spi.multiview.MultiViewElementCallback; 25 import org.netbeans.core.spi.multiview.CloseOperationHandler; 26 27 31 public abstract class SpiAccessor { 32 33 protected static SpiAccessor DEFAULT = null; 34 35 static { 36 Class c = MultiViewElementCallback.class; 39 try { 40 Class.forName(c.getName(), true, c.getClassLoader()); 41 } catch (Exception ex) { 42 ex.printStackTrace(); 43 } 44 } 45 46 public abstract MultiViewElementCallback createCallback(MultiViewElementCallbackDelegate delegate); 47 48 public abstract CloseOperationHandler createDefaultCloseHandler(); 49 50 } 51 | Popular Tags |