tmf.ui: Introduce TmfFileDialogFactory
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.timing.ui / src / org / eclipse / tracecompass / internal / analysis / timing / ui / views / segmentstore / ExportToTsvAction.java
index 1f5eb40b9657c8635ac2e3e3c8128111fa731d4e..21a9c90763b1b2c1fc4af04a19dfcbca4ce725e0 100644 (file)
@@ -18,6 +18,7 @@ import org.eclipse.jface.action.Action;
 import org.eclipse.swt.widgets.FileDialog;
 import org.eclipse.swt.widgets.Shell;
 import org.eclipse.tracecompass.internal.analysis.timing.ui.Activator;
+import org.eclipse.tracecompass.tmf.ui.dialog.TmfFileDialogFactory;
 
 /**
  * The export to TSV abstract action
@@ -55,7 +56,7 @@ public abstract class ExportToTsvAction extends Action {
         if (shell == null) {
             return;
         }
-        FileDialog fd = new FileDialog(shell);
+        FileDialog fd = TmfFileDialogFactory.create(shell);
         fd.setFilterExtensions(getExtension());
         String fileName = fd.open();
         if (fileName == null) {
This page took 0.024874 seconds and 5 git commands to generate.