1 11 12 package org.eclipse.ui.forms; 13 14 import org.eclipse.jface.dialogs.IMessageProvider; 15 import org.eclipse.jface.fieldassist.ControlDecoration; 16 import org.eclipse.swt.widgets.Control; 17 import org.eclipse.ui.forms.widgets.Form; 18 19 52 53 public interface IMessageManager { 54 71 void addMessage(Object key, String messageText, Object data, int type); 72 73 90 void addMessage(Object key, String messageText, Object data, int type, 91 Control control); 92 93 100 void removeMessage(Object key); 101 102 108 void removeMessages(); 109 110 119 void removeMessage(Object key, Control control); 120 121 128 void removeMessages(Control control); 129 130 134 void removeAllMessages(); 135 136 148 void update(); 149 150 159 void setAutoUpdate(boolean enabled); 160 161 168 boolean isAutoUpdate(); 169 170 178 void setMessagePrefixProvider(IMessagePrefixProvider provider); 179 180 184 IMessagePrefixProvider getMessagePrefixProvider(); 185 186 194 void setDecorationPosition(int position); 195 196 201 202 int getDecorationPosition(); 203 204 217 String createSummary(IMessage[] messages); 218 } | Popular Tags |