aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Weigelt2012-03-26 09:27:13 (EDT)
committerMichael Jastram2012-04-05 06:10:42 (EDT)
commit0bdc5a6cc2291ea39c8ef47972c81743785bd5b6 (patch)
tree35fe4d4dc9e4c9843f070c58132f8641b0a20b8e
parent45b6f99d46ea07df39b0a4b23aeb79edd50abd3c (diff)
downloadorg.eclipse.rmf-0bdc5a6cc2291ea39c8ef47972c81743785bd5b6.zip
org.eclipse.rmf-0bdc5a6cc2291ea39c8ef47972c81743785bd5b6.tar.gz
org.eclipse.rmf-0bdc5a6cc2291ea39c8ef47972c81743785bd5b6.tar.bz2
fixed bug 375236
decode escaped uris before displaying them in the ReqifMainForm
-rw-r--r--org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/presentation/ReqifMainForm.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/presentation/ReqifMainForm.java b/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/presentation/ReqifMainForm.java
index 2ebd57a..b97830e 100644
--- a/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/presentation/ReqifMainForm.java
+++ b/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/presentation/ReqifMainForm.java
@@ -12,6 +12,7 @@ package org.eclipse.rmf.pror.reqif10.editor.presentation;
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.edit.command.SetCommand;
import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
@@ -78,7 +79,7 @@ public class ReqifMainForm {
toolkit = new FormToolkit(parent.getDisplay());
form = toolkit.createScrolledForm(parent);
- form.setText("ReqIf-File: " + reqif.eResource().getURI().lastSegment());
+ form.setText("ReqIf-File: " + URI.decode(reqif.eResource().getURI().lastSegment()));
TableWrapLayout layout = new TableWrapLayout();
form.getBody().setLayout(layout);