public void ok_actionPerformed(ActionEvent e)
{
String format = new IdentifyFile().Identify(getText(), "Paste");
+ // TODO: identify feature, annotation or tree file and parse appropriately.
Alignment al = null;
if (FormatAdapter.isValidFormat(format))