tmf: Fix the import/export of the filter view
authorVincent Perot <vincent.perot@ericsson.com>
Fri, 27 Jun 2014 22:30:12 +0000 (18:30 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Fri, 4 Jul 2014 19:22:21 +0000 (15:22 -0400)
Change-Id: I45e22113b54076bb3bcacf88c623f990413f0b8d
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29147
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/filter/FilterView.java

index 4bc767740061a280b171436dc2c6e112a38636b5..d490781679cd995e50cbc9d41dacd18e6ff3349a 100644 (file)
@@ -234,8 +234,8 @@ public class FilterView extends TmfView {
         public void run() {
             try {
                 FileDialog dlg = new FileDialog(new Shell(), SWT.SAVE);
-                dlg.setFilterNames(new String[] { Messages.FilterView_FileDialogFilterName + " (*.filter.xml)" }); //$NON-NLS-1$
-                dlg.setFilterExtensions(new String[] { "*.filter.xml" }); //$NON-NLS-1$
+                dlg.setFilterNames(new String[] { Messages.FilterView_FileDialogFilterName + " (*.xml)" }); //$NON-NLS-1$
+                dlg.setFilterExtensions(new String[] { "*.xml" }); //$NON-NLS-1$
 
                 String fn = dlg.open();
                 if (fn != null) {
@@ -256,8 +256,8 @@ public class FilterView extends TmfView {
                 ITmfFilterTreeNode root = null;
                 try {
                     FileDialog dlg = new FileDialog(new Shell(), SWT.OPEN);
-                    dlg.setFilterNames(new String[] { Messages.FilterView_FileDialogFilterName + " (*.filter.xml)" }); //$NON-NLS-1$
-                    dlg.setFilterExtensions(new String[] { "*.filter.xml" }); //$NON-NLS-1$
+                    dlg.setFilterNames(new String[] { Messages.FilterView_FileDialogFilterName + " (*.xml)" }); //$NON-NLS-1$
+                    dlg.setFilterExtensions(new String[] { "*.xml" }); //$NON-NLS-1$
 
                     TmfFilterXMLParser parserXML = null;
                     String fn = dlg.open();
This page took 0.027028 seconds and 5 git commands to generate.