Package org.emftrace.ui.util.UIHelper

Examples of org.emftrace.ui.util.UIHelper.ModelExchangeState


    {
        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)
View Full Code Here


    {
        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)
View Full Code Here

TOP

Related Classes of org.emftrace.ui.util.UIHelper.ModelExchangeState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.