1 19 20 package org.netbeans.modules.xml.xam.ui.category; 21 22 import java.awt.Component ; 23 import java.beans.PropertyChangeListener ; 24 import javax.swing.JToolBar ; 25 import org.openide.util.Lookup; 26 27 34 public interface CategoryPane { 35 36 public static final String PROP_CATEGORY = "category"; 37 38 44 void addCategory(Category category); 45 46 51 void addPropertyChangeListener(PropertyChangeListener listener); 52 53 59 void addPropertyChangeListener(String name, PropertyChangeListener listener); 60 61 66 Category getCategory(); 67 68 73 Component getComponent(); 74 75 82 SearchComponent getSearchComponent(); 83 84 91 void populateToolbar(JToolBar toolbar); 92 93 98 void removePropertyChangeListener(PropertyChangeListener listener); 99 100 106 void removePropertyChangeListener(String name, PropertyChangeListener listener); 107 108 114 void setCategory(Category category); 115 } 116 | Popular Tags |