WGADesignStructureHelper helper = new WGADesignStructureHelper(syncInfo);
dialog.setInput(helper.getTmlRoot());
dialog.setAllowMultiple(false);
dialog.setHelpAvailable(false);
dialog.setTitle("TML layout selection");
dialog.setValidator(new ISelectionStatusValidator() {
public IStatus validate(Object[] selection) {
if (selection != null && selection.length == 1) {
if (selection[0] instanceof IFile) {
return new Status(Status.OK, Plugin.PLUGIN_ID, ((IFile)selection[0]).getFullPath().toString());