888990919293949596
/** * Constructs the MailerVisualizer and initializes its GUI. */ public MailerVisualizer() { super(); setModel(new MailerResultCollector()); // initialize GUI. initGui(); }
302303304305306307308309310311312
*/ @Override public TestElement createTestElement() { ResultCollector model = getModel(); if (model == null) { model = new MailerResultCollector(); setModel(model); } modifyTestElement(model); return model; }
325326327328329330331332333334
*/ public TestElement createTestElement() { if (getModel() == null) { setModel( new MailerResultCollector()); } modifyTestElement(getModel()); return getModel(); }
96979899100101102103104
367368369370371372373374375376377
362363364365366367368369370371372
868788899091929394
296297298299300301302303304305
/** * Makes MailerVisualizer storable. */ public TestElement createTestElement() { if (getModel() == null) { setModel(new MailerResultCollector()); } modifyTestElement(getModel()); return getModel(); }
321322323324325326327328329330