use of org.pentaho.di.ui.core.events.dialog.ProviderFilterType in project pentaho-kettle by pentaho.
the class JobEntryTransDialog method selectTransformation.
private void selectTransformation(ProviderFilterType providerFilterType) {
SelectionAdapterFileDialogTextVar selectionAdapterFileDialogTextVar = new SelectionAdapterFileDialogTextVar(log, wPath, jobMeta, new SelectionAdapterOptions(SelectionOperation.FILE, new FilterType[] { FilterType.KTR, FilterType.XML, FilterType.ALL }, FilterType.KTR, new ProviderFilterType[] { providerFilterType }));
selectionAdapterFileDialogTextVar.widgetSelected(null);
if (wPath.getText() != null && Const.isWindows()) {
wPath.setText(wPath.getText().replace('\\', '/'));
}
}
use of org.pentaho.di.ui.core.events.dialog.ProviderFilterType in project pentaho-kettle by pentaho.
the class JobEntryJobDialog method selectJob.
private void selectJob(ProviderFilterType providerFilterType) {
SelectionAdapterFileDialogTextVar selectionAdapterFileDialogTextVar = new SelectionAdapterFileDialogTextVar(log, wPath, jobMeta, new SelectionAdapterOptions(SelectionOperation.FILE, new FilterType[] { FilterType.KJB, FilterType.XML, FilterType.ALL }, FilterType.KJB, new ProviderFilterType[] { providerFilterType }));
selectionAdapterFileDialogTextVar.widgetSelected(null);
if (wPath.getText() != null && Const.isWindows()) {
wPath.setText(wPath.getText().replace('\\', '/'));
}
}
Aggregations