aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Perot2014-06-27 18:30:12 (EDT)
committerPatrick Tasse2014-07-04 15:22:21 (EDT)
commit94774e0ec3083861484b900918bcdbe837baa7bb (patch)
tree439e36ecd8817f4a30af27f6e4e7ce4f2cc350ba
parentaa936322ee188afbe4cfae03bca7b5a65290cdc3 (diff)
downloadorg.eclipse.linuxtools-94774e0ec3083861484b900918bcdbe837baa7bb.zip
org.eclipse.linuxtools-94774e0ec3083861484b900918bcdbe837baa7bb.tar.gz
org.eclipse.linuxtools-94774e0ec3083861484b900918bcdbe837baa7bb.tar.bz2
tmf: Fix the import/export of the filter viewrefs/changes/47/29147/2
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>
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/filter/FilterView.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/filter/FilterView.java b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/filter/FilterView.java
index 4bc7677..d490781 100644
--- a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/filter/FilterView.java
+++ b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/filter/FilterView.java
@@ -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();