Commit | Line | Data |
---|---|---|
cb8c854e FC |
1 | /******************************************************************************* |
2 | * Copyright (c) 2012 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: | |
10 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.core.tests.trace; | |
14 | ||
15 | import org.eclipse.linuxtools.tmf.core.trace.TmfLocation; | |
16 | ||
17 | /** | |
18 | * <b><u>TmfStringLocation</u></b> | |
19 | * <p> | |
20 | * Implement me. Please. | |
21 | * <p> | |
22 | */ | |
1e1bef82 | 23 | public class TmfStringLocation extends TmfLocation { |
cb8c854e | 24 | |
577ee847 FC |
25 | /** |
26 | * @param location the concrete trace location | |
27 | */ | |
cb8c854e FC |
28 | public TmfStringLocation(String location) { |
29 | super(location); | |
30 | } | |
31 | ||
577ee847 FC |
32 | /** |
33 | * @param other the other location | |
34 | */ | |
1e1bef82 | 35 | public TmfStringLocation(TmfStringLocation other) { |
5976d44a | 36 | super(other.getLocationInfo()); |
cb8c854e FC |
37 | } |
38 | ||
577ee847 FC |
39 | /* (non-Javadoc) |
40 | * @see org.eclipse.linuxtools.tmf.core.trace.ITmfLocation#getLocationInfo() | |
41 | */ | |
42 | @Override | |
43 | public String getLocationInfo() { | |
44 | return (String) super.getLocationInfo(); | |
45 | } | |
46 | ||
cb8c854e | 47 | } |