With this fix the analysis properties, e.g. ID, size on disk or
backend type (for state system analyses) are shown again.
Change-Id: Iea1a673e56f66405ed8e265d0763003aef7c4979
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
*/
private Map<String, String> getAnalysisProperties() {
ITmfProjectModelElement parent = getParent();
-
+ if (!(parent instanceof TmfViewsElement)) {
+ return Collections.EMPTY_MAP;
+ }
+ parent = parent.getParent();
if (parent instanceof TmfCommonProjectElement) {
ITmfTrace trace = ((TmfCommonProjectElement) parent).getTrace();
if (trace == null) {