1 26 package org.objectweb.util.explorer.swing.api; 27 28 import javax.swing.JMenuBar ; 29 import javax.swing.JToolBar ; 30 import javax.swing.JTree ; 31 32 38 39 public interface Explorer { 40 41 42 public static String EXPLORER = "explorer"; 43 44 48 public JTree getTree(); 49 50 54 public void setMenuBar(JMenuBar menuBar); 55 56 60 public void setToolBar(JToolBar toolBar); 61 62 66 public void setMultipleRoles(boolean multipleRolesEnabled); 67 68 72 public boolean isMultipleRoles(); 73 74 78 public void setCurrentRoles(String [] roleIds); 79 80 84 public void setPopupEnabled(boolean popupEnabled); 85 86 90 public boolean isPopupEnabled(); 91 92 96 public void setDragAndDropEnabled(boolean dndEnabled); 97 98 102 public boolean isDragAndDropEnabled(); 103 104 } 105 | Popular Tags |