Class ECPExportHandlerHelper


  • public final class ECPExportHandlerHelper
    extends java.lang.Object
    A utility class which provides support for exporting model elements.
    Author:
    David
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] FILTER_EXTS
      These filter extensions are used to filter which files are displayed.
      static java.lang.String[] FILTER_NAMES
      These filter names are used to filter which files are displayed.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void export​(org.eclipse.swt.widgets.Shell shell, java.util.List<org.eclipse.emf.ecore.EObject> eObjects)
      Export a list of model elements.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • FILTER_NAMES

        public static final java.lang.String[] FILTER_NAMES
        These filter names are used to filter which files are displayed.
      • FILTER_EXTS

        public static final java.lang.String[] FILTER_EXTS
        These filter extensions are used to filter which files are displayed.
    • Method Detail

      • export

        public static void export​(org.eclipse.swt.widgets.Shell shell,
                                  java.util.List<org.eclipse.emf.ecore.EObject> eObjects)
        Export a list of model elements.
        Parameters:
        shell - The shell which should be used for the file dialog
        eObjects - The EObjects which should be exported