/* void testEditBasicFilter() { BasicFilter basicFilter = new BasicFilter("FROM", Data.FromTag, StringContaining.getInstance(), "TEST2"); BasicFilter basicFilter2 = new BasicFilter("TO", Data.FromTag, StringContaining.getInstance(), "TEST5"); Data.insertFilter(basicFilter); Data.insertFilter(basicFilter2); basicFilter.edit("TO", Data.ToTag, StringEquals.getInstance(), "Sender5"); Data.ActionHandler.undo(); Data.ActionHandler.redo(); } */ void printEmail(ITag tag, IEmail email) { System.Windows.Forms.MessageBox.Show(tag.getEmailTag(email)); }