1 18 19 package org.objectweb.jac.core; 20 21 import org.objectweb.jac.core.rtti.*; 22 import java.util.Map ; 23 24 41 42 public interface Display { 43 44 50 String getDisplayID(); 51 52 58 void setDisplayID(String displayID); 59 60 70 void show(Object object); 71 72 84 void show(Object object, 85 String viewType, Object [] viewParams); 86 87 96 void openView(Object object); 97 98 117 boolean showModal(Object object, String title, String header, 118 Object parent, 119 boolean canValidate, boolean canCancel, 120 boolean canClose); 121 122 139 boolean showModal(Object object, 140 String viewType, Object [] viewParams, 141 String title, String header, 142 Object parent, 143 boolean okButton, boolean cancelButton, 144 boolean closeButton); 145 146 154 void showCustomized(String id, Object customized); 155 156 165 void showCustomized(String id, Object customized, Map panels); 166 167 170 void fullRefresh(); 171 172 187 boolean showInput(Object object, AbstractMethodItem method, 188 Object [] parameters); 189 190 199 void refresh(); 200 201 211 boolean showMessage(String message, String title, 212 boolean canValidate, boolean canCancel, 213 boolean canClose); 214 215 223 void showMessage(String title, String message); 224 225 234 Object showRefreshMessage(String title, String message); 235 236 244 void showError(String title, String message); 245 246 251 252 void applicationStarted(); 253 254 257 void close(); 258 259 264 boolean fillParameters(AbstractMethodItem method, Object [] parameters); 265 266 269 void onInvocationReturn(Object substance, AbstractMethodItem method); 270 } 271 272 273 274 | Popular Tags |