org.pentaho.di.ui.core.dialog
Class EnterMappingDialog

java.lang.Object
  extended by Dialog
      extended by org.pentaho.di.ui.core.dialog.EnterMappingDialog

public class EnterMappingDialog
extends 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

Field Summary
static String STRING_ORIGIN_SEPARATOR
           
 
Constructor Summary
EnterMappingDialog(Shell parent, String[] source, String[] target)
          Create a new dialog allowing the user to enter a mapping
EnterMappingDialog(Shell parent, String[] source, String[] target, List<SourceToTargetMapping> mappings)
          Create a new dialog allowing the user to enter a mapping
 
Method Summary
 void dispose()
           
 void getData()
           
 List<SourceToTargetMapping> open()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_ORIGIN_SEPARATOR

public static final String STRING_ORIGIN_SEPARATOR
See Also:
Constant Field Values
Constructor Detail

EnterMappingDialog

public EnterMappingDialog(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(Shell parent,
                          String[] source,
                          String[] target,
                          List<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<SourceToTargetMapping> open()

dispose

public void dispose()

getData

public void getData()