1 28 29 package ist.coach.coachEmfClientComponents.ManagedObjectClientComposition; 30 31 import java.text.DateFormat ; 32 import ist.coach.coachEmfCommon.Utils; 33 34 40 public class objectCreationSegImpl 41 extends ist.coach.coachEmfClientComponents.ManagedObjectClientComposition.objectCreationSeg 42 { 43 49 55 public objectCreationSegImpl() 56 { 57 58 } 59 60 66 69 public void 70 push(ist.coach.itut_q816Components.ObjectCreation event) 71 { 72 80 java.util.Date event_date = new java.util.Date (event.eventTime.time); 81 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT); 82 String time_str = df.format(event_date); 83 84 ManagedObjectClientImpl main_segment = (ManagedObjectClientImpl) get_main_segment(); 85 main_segment.ui_client.print_alarm(time_str, 86 ist.coach.coachEmfClientComponents.gui.GuiMessages.object_creation_alarm, 87 Utils.name2string(event.source), event.sourceClass, 88 String.valueOf(event.notificationIdentifier), " "); 89 } 90 91 } 92 | Popular Tags |