{
Shell shell = HandlerUtil.getActiveWorkbenchWindow(event).getShell();
final List<EObject> exportModelElements = getSelfContainedModelElementTree(event);
String filePath = getFilePathByFileDialog(Activator.getAccessLayer().getNameOfModel(exportModelElements.get(0)), FILTER_NAMES, FILTER_EXTS, FILE_EXTS);
ModelExchangeState state = ModelExchangeState.Misc_Error;
try
{
state = EMFTraceExportHelper.exportModel(exportModelElements, filePath, FILE_EXTS, UIHelper.TEMPLATE_PATH + TEMPL_NAME + UIHelper.TEMPLATE_EXTENSION);
}
catch (IOException e)