import javax.inject.Inject;
import javax.inject.Named;
+import org.apache.commons.lang.StringUtils;
import org.eclipse.e4.core.contexts.ContextInjectionFactory;
import org.eclipse.e4.core.contexts.IEclipseContext;
import org.eclipse.e4.core.di.annotations.Optional;
}
}
+ if (StringUtils.isNotBlank(page.getFamilyString())) {
+ configurator.setFamilyStr(page.getFamilyString());
+ }
+ CdmStore.getExportManager().runMoniteredOperation(configurator, urlString);
- CdmStore.getExportManager().runMoniteredOperation(configurator, urlString);
return true;
}
private Combo orderSelectionCombo;
+ private Text text_familyString;
+
protected ExportToFileDestinationWizardPage(String pageName, String type, String title, String description,
String extension, ExportConfiguratorBase<?, ?, ?> configurator) {
super(pageName);
Label familyString = new Label(wfoComp, SWT.NONE);
familyString.setText("Family");
- Text text_familyString = new Text(wfoComp, SWT.BORDER);
+ text_familyString = new Text(wfoComp, SWT.BORDER);
text_familyString.setText(generateFamilyName(selectedNodes));
text_familyString.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
return text_exportFileName.getText();
}
+ /**
+ * @return the familyString
+ */
+ public String getFamilyString() {
+ return text_familyString.getText();
+ }
+
public String getFolderText() {
return text_folder.getText();
}