1 package net.suberic.pooka.gui; 2 import net.suberic.util.swing.ProgressDialog; 3 import net.suberic.util.gui.ConfigurableToolbar; 4 import net.suberic.util.gui.IconManager; 5 6 public interface PookaUIFactory extends ErrorHandler { 7 8 11 public net.suberic.util.swing.ThemeManager getPookaThemeManager(); 12 13 16 public MessageUI createMessageUI(MessageProxy mp) throws javax.mail.MessagingException ; 17 18 22 public MessageUI createMessageUI(MessageProxy mp, MessageUI mui) throws javax.mail.MessagingException ; 23 24 30 public void doDefaultOpen(MessageProxy mp); 31 32 36 public FolderDisplayUI createFolderDisplayUI(net.suberic.pooka.FolderInfo fi); 37 38 41 public ContentPanel createContentPanel(); 42 43 46 public ConfigurableToolbar createMainToolbar(); 47 48 51 public ConfigurableToolbar createFolderPanelToolbar(); 52 53 57 public void showEditorWindow(String title, String property); 58 59 64 public void showEditorWindow(String title, String property, String template); 65 66 69 public net.suberic.util.gui.propedit.PropertyEditorFactory getEditorFactory(); 70 73 public void setEditorFactory(net.suberic.util.gui.propedit.PropertyEditorFactory pEditorFactory); 74 75 78 public int showConfirmDialog(String message, String title, int type); 79 80 83 public int showConfirmDialog(Object [] messageComponents, String title, int type); 84 85 88 public String showInputDialog(String inputMessage, String title); 89 90 93 public String showInputDialog(Object [] inputPanels, String title); 94 95 98 public void showStatusMessage(String newMessage); 99 100 103 public void showMessage(String newMessage, String title); 104 105 108 public ProgressDialog createProgressDialog(int min, int max, int initialValue, String title, String content); 109 110 113 public void clearStatus(); 114 115 119 public void showSearchForm(net.suberic.pooka.FolderInfo[] selectedFolders, java.util.Vector allowedValues); 120 121 125 public void showSearchForm(net.suberic.pooka.FolderInfo[] selectedFolders); 126 127 131 public void setShowing(boolean newValue); 132 133 136 public MessageNotificationManager getMessageNotificationManager(); 137 138 141 public net.suberic.util.gui.IconManager getIconManager(); 142 143 146 public void setIconManager(net.suberic.util.gui.IconManager pIconManager); 147 148 149 } 150 | Popular Tags |