super(windowContext);
_configuration = configuration;
_file = file;
_metadata = metadata;
_openAnalysisJobActionListenerProvider = openAnalysisJobActionListenerProvider;
_sourceColumnMapping = new SourceColumnMapping(metadata);
_variableTextFields = new HashMap<String, JXTextField>();
_openButton = new JButton("Open job");
_openButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
JaxbJobReader reader = new JaxbJobReader(_configuration);
try {
SourceColumnMapping sourceColumnMapping = getSourceColumnMapping();
Map<String, String> variableOverrides = new HashMap<String, String>();
for (Entry<String, JXTextField> entry : _variableTextFields.entrySet()) {
variableOverrides.put(entry.getKey(), entry.getValue().getText());
}