1 19 20 21 package org.netbeans.spi.palette; 22 23 import javax.swing.Action ; 24 import org.openide.util.Lookup; 25 26 32 public abstract class PaletteActions { 33 34 39 public abstract Action [] getImportActions(); 40 41 44 public abstract Action [] getCustomPaletteActions(); 45 46 51 public abstract Action [] getCustomCategoryActions( Lookup category ); 52 53 58 public abstract Action [] getCustomItemActions( Lookup item ); 59 60 61 68 public abstract Action getPreferredAction( Lookup item ); 69 70 78 public Action getRefreshAction() { 79 return null; 80 } 81 } 82 | Popular Tags |