getCurrentEditor().insertTextInCursorPosition(contents.get(0));
validate(getCurrentEditor());
} else {
ArrayList<ToggleEditor> editors = display.getEditors();
for (int i = 0; i < contents.size(); i++) {
ToggleEditor editor = editors.get(i);
editor.setTextAndValidate(contents.get(i));
}
}
eventBus.fireEvent(new NotificationEvent(Severity.Info, messages
.notifyCopied()));
}