Class EnterMappingDialog


  • public class EnterMappingDialog
    extends org.eclipse.swt.widgets.Dialog
    Shows a user 2 lists of strings and allows the linkage of values between values in the 2 lists
    Since:
    23-03-2006
    Author:
    Matt
    • Constructor Detail

      • EnterMappingDialog

        public EnterMappingDialog​(org.eclipse.swt.widgets.Shell parent,
                                  String[] source,
                                  String[] target)
        Create a new dialog allowing the user to enter a mapping
        Parameters:
        parent - the parent shell
        source - the source values
        target - the target values
      • EnterMappingDialog

        public EnterMappingDialog​(org.eclipse.swt.widgets.Shell parent,
                                  String[] source,
                                  String[] target,
                                  List<org.pentaho.di.core.SourceToTargetMapping> mappings)
        Create a new dialog allowing the user to enter a mapping
        Parameters:
        parent - the parent shell
        source - the source values
        target - the target values
        mappings - the already selected mappings (ArrayList containing SourceToTargetMappings)
    • Method Detail

      • open

        public List<org.pentaho.di.core.SourceToTargetMapping> open()
      • dispose

        public void dispose()
      • getData

        public void getData()