本文整理汇总了Java中com.intellij.navigation.NavigationItemFileStatus类的典型用法代码示例。如果您正苦于以下问题:Java NavigationItemFileStatus类的具体用法?Java NavigationItemFileStatus怎么用?Java NavigationItemFileStatus使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
NavigationItemFileStatus类属于com.intellij.navigation包,在下文中一共展示了NavigationItemFileStatus类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getFileStatus
import com.intellij.navigation.NavigationItemFileStatus; //导入依赖的package包/类
@Override
public FileStatus getFileStatus() {
for(BasePsiNode<? extends PsiElement> child: myChildren) {
final PsiElement value = child.getValue();
if (value == null || !value.isValid()) continue;
final FileStatus fileStatus = NavigationItemFileStatus.get(child);
if (fileStatus != FileStatus.NOT_CHANGED) {
return fileStatus;
}
}
return FileStatus.NOT_CHANGED;
}
示例2: getFileStatus
import com.intellij.navigation.NavigationItemFileStatus; //导入依赖的package包/类
@Nullable
@Override
public FileStatus getFileStatus()
{
T element = myPointer.getElement();
if(element == null)
{
return null;
}
return NavigationItemFileStatus.get((NavigationItem) element);
}
示例3: getFileStatus
import com.intellij.navigation.NavigationItemFileStatus; //导入依赖的package包/类
@Override
public FileStatus getFileStatus() {
return isValid() ? NavigationItemFileStatus.get(getPsiClass()) : null;
}
示例4: getFileStatus
import com.intellij.navigation.NavigationItemFileStatus; //导入依赖的package包/类
@Override
public FileStatus getFileStatus() {
PsiFile file = myMethodPointer.getContainingFile();
return file == null ? null : NavigationItemFileStatus.get(file);
}
示例5: getFileStatus
import com.intellij.navigation.NavigationItemFileStatus; //导入依赖的package包/类
@Override
public FileStatus getFileStatus() {
return isValid() ? NavigationItemFileStatus.get(getElement()) : null;
}
示例6: getFileStatus
import com.intellij.navigation.NavigationItemFileStatus; //导入依赖的package包/类
@Override
public FileStatus getFileStatus() {
return isValid() ? NavigationItemFileStatus.get(getMethod()) : null;
}