com.intellij.usages
Interface UsageTarget

All Superinterfaces:
Navigatable, NavigationItem

public interface UsageTarget
extends NavigationItem

Created by IntelliJ IDEA. User: max Date: Dec 16, 2004 Time: 4:15:46 PM To change this template use File | Settings | File Templates.


Method Summary
 void findUsages()
          Should display a usage dialog, open usage view and look for usages of itself
 void findUsagesInEditor(FileEditor editor)
          Should look for usages in one specific editor.
 VirtualFile[] getFiles()
           
 boolean isReadOnly()
           
 boolean isValid()
           
 void update()
           
 
Methods inherited from interface com.intellij.navigation.NavigationItem
getFileStatus, getName, getPresentation
 
Methods inherited from interface com.intellij.pom.Navigatable
canNavigate, canNavigateToSource, navigate
 

Method Detail

findUsages

void findUsages()
Should display a usage dialog, open usage view and look for usages of itself


findUsagesInEditor

void findUsagesInEditor(FileEditor editor)
Should look for usages in one specific editor. This typicaly shows other kind of dialog and doesn't result in usage view display.


isValid

boolean isValid()

isReadOnly

boolean isReadOnly()

getFiles

@Nullable
VirtualFile[] getFiles()
Returns:
the files this usage target is in. Might be null is usage target is not file-based

update

void update()