import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Platform;
+import org.eclipse.core.runtime.URIUtil;
import org.eclipse.linuxtools.internal.tmf.ui.Activator;
import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
import org.eclipse.linuxtools.tmf.core.parsers.custom.CustomTxtEvent;
private Map<String, String> getTraceProperties() {
for (ITmfTrace openedTrace : TmfTraceManager.getInstance().getOpenedTraces()) {
for (ITmfTrace singleTrace : TmfTraceManager.getTraceSet(openedTrace)) {
- if (this.getLocation().toString().endsWith(singleTrace.getPath())) {
+ if (this.getLocation().getPath().endsWith(singleTrace.getPath())) {
if (singleTrace instanceof ITmfTraceProperties) {
ITmfTraceProperties traceProperties = (ITmfTraceProperties) singleTrace;
return traceProperties.getTraceProperties();
}
if (sfLocation.equals(id)) {
- return getLocation().toString();
+ return URIUtil.toUnencodedString(getLocation());
}
if (sfIsLinked.equals(id)) {