Tests for file structure

This commit is contained in:
Nikolay Krasko
2014-05-19 20:49:09 +04:00
parent 63d5897d93
commit dfd66440b4
14 changed files with 178 additions and 1 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2013 JetBrains s.r.o.
* Copyright 2010-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -78,6 +78,7 @@ public class JetStructureViewElement implements StructureViewTreeElement {
return myElement.canNavigateToSource();
}
@NotNull
@Override
public ItemPresentation getPresentation() {
return new ColoredItemPresentation() {
@@ -115,6 +116,7 @@ public class JetStructureViewElement implements StructureViewTreeElement {
};
}
@NotNull
@Override
public TreeElement[] getChildren() {
if (myElement instanceof JetFile) {