dialog.setContentProvider(new FileStructuredContentProvider(".tmlscript"));
dialog.setLabelProvider(new FileLabelProvider());
dialog.setInput(_model.getTMLScriptDirectory());
dialog.setTitle("Please select a disconnection script");
int result = dialog.open();
if (result == ListDialog.OK) {
IFile selectedScript = (IFile) dialog.getResult()[0];
IPath selectedScriptPath = selectedScript.getLocation();
IPath tmlScriptDirectoryPath = new Path(_model.getTMLScriptDirectory().getAbsolutePath());
_txtDisconnectionScript.setText(computePathToScriptFrom(tmlScriptDirectoryPath,selectedScriptPath));