com.intellij.pom
Interface Navigatable

All Known Subinterfaces:
JspImplicitVariable, NavigationItem, PomAnnotationType, PomAnonymousClass, PomClass, PomDeclaration, PomDeclarationOwner, PomDeclaredElement, PomDirectory, PomElement, PomEnum, PomEnumConst, PomField, PomFile, PomInterface, PomLocalVariable, PomMember, PomMemberOwner, PomMethod, PomModule, PomPackage, PomParameter, PomProject, PomReferenceTypeElement, PomTypeVariable, PomVariable, PsiAnnotationMethod, PsiAnonymousClass, PsiAspect, PsiAspectField, PsiAspectMethod, PsiClass, PsiClassInitializer, PsiDirectory, PsiDocCommentOwner, PsiElementUsage, PsiEnumConstant, PsiEnumConstantInitializer, PsiField, PsiIntertypeField, PsiIntertypeMethod, PsiMember, PsiMethod, PsiPackage, PsiPointcutDef, PsiTypeParameter, PsiTypeParameterListOwner, ReadWriteAccessUsage, StructureViewTreeElement<V>, Usage, UsageGroup, UsageInFile, UsageInLibrary, UsageInModule, UsageTarget, WebDirectoryElement
All Known Implementing Classes:
AbstractTreeNode, ASTWrapperPsiElement, FileGroupingRule.FileUsageGroup, OpenFileDescriptor, ProjectViewNode, ReadWriteAccessUsageInfo2UsageAdapter, SourcePosition, UsageInfo2UsageAdapter

public interface Navigatable


Method Summary
 boolean canNavigate()
           
 boolean canNavigateToSource()
           
 void navigate(boolean requestFocus)
          Open editor and select/navigate to the object there if possible.
 

Method Detail

navigate

void navigate(boolean requestFocus)
Open editor and select/navigate to the object there if possible. Just do nothing if navigation is not possible like in case of a package

Parameters:
requestFocus -

canNavigate

boolean canNavigate()
Returns:
false if navigation is not possible for any reason.

canNavigateToSource

boolean canNavigateToSource()
Returns:
false if navigation to source is not possible for any reason. Source means some kind of editor