Package org.pentaho.di.ui.core.dialog
Class EnterMappingDialog
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- org.pentaho.di.ui.core.dialog.EnterMappingDialog
-
public class EnterMappingDialog extends org.eclipse.swt.widgets.DialogShows a user 2 lists of strings and allows the linkage of values between values in the 2 lists- Since:
- 23-03-2006
- Author:
- Matt
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classEnterMappingDialog.GuessPair
-
Field Summary
Fields Modifier and Type Field Description static StringSTRING_ORIGIN_SEPARATORstatic StringSTRING_SFORCE_EXTERNALID_SEPARATOR
-
Constructor Summary
Constructors Constructor Description EnterMappingDialog(org.eclipse.swt.widgets.Shell parent, String[] source, String[] target)Create a new dialog allowing the user to enter a mappingEnterMappingDialog(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()voidgetData()List<org.pentaho.di.core.SourceToTargetMapping>open()
-
-
-
Field Detail
-
STRING_ORIGIN_SEPARATOR
public static final String STRING_ORIGIN_SEPARATOR
- See Also:
- Constant Field Values
-
STRING_SFORCE_EXTERNALID_SEPARATOR
public static final String STRING_SFORCE_EXTERNALID_SEPARATOR
- See Also:
- Constant Field Values
-
-
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 shellsource- the source valuestarget- 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 shellsource- the source valuestarget- the target valuesmappings- the already selected mappings (ArrayList containingSourceToTargetMappings)
-
-
Method Detail
-
open
public List<org.pentaho.di.core.SourceToTargetMapping> open()
-
dispose
public void dispose()
-
getData
public void getData()
-
-