edu.rice.cs.drjava.ui
Class MainFrameStatics.GoToFileListEntry

java.lang.Object
  extended by edu.rice.cs.drjava.ui.MainFrameStatics.AutoCompletePopupEntry
      extended by edu.rice.cs.drjava.ui.MainFrameStatics.GoToFileListEntry
All Implemented Interfaces:
Comparable<MainFrameStatics.AutoCompletePopupEntry>
Enclosing class:
MainFrameStatics

public static class MainFrameStatics.GoToFileListEntry
extends MainFrameStatics.AutoCompletePopupEntry

Wrapper class for the "Go to File" dialog list entries. Provides the ability to have the same OpenDefinitionsDocument in there multiple times with different toString() results.


Field Summary
private  OpenDefinitionsDocument doc
           
private  String fullPackage
           
private  String str
           
 
Constructor Summary
MainFrameStatics.GoToFileListEntry(OpenDefinitionsDocument d, String s)
           
 
Method Summary
 String getClassName()
          Return the simple class name, e.g.
 String getFullPackage()
          Return the full package including the last period, e.g.
 OpenDefinitionsDocument getOpenDefinitionsDocument()
          Return the OpenDefinitionsDocument associated with this entry, or null if none.
 String toString()
           
 
Methods inherited from class edu.rice.cs.drjava.ui.MainFrameStatics.AutoCompletePopupEntry
compareTo, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

doc

private final OpenDefinitionsDocument doc

fullPackage

private String fullPackage

str

private final String str
Constructor Detail

MainFrameStatics.GoToFileListEntry

public MainFrameStatics.GoToFileListEntry(OpenDefinitionsDocument d,
                                          String s)
Method Detail

getFullPackage

public String getFullPackage()
Description copied from class: MainFrameStatics.AutoCompletePopupEntry
Return the full package including the last period, e.g. "java.lang.".

Specified by:
getFullPackage in class MainFrameStatics.AutoCompletePopupEntry

getClassName

public String getClassName()
Description copied from class: MainFrameStatics.AutoCompletePopupEntry
Return the simple class name, e.g. "Integer".

Specified by:
getClassName in class MainFrameStatics.AutoCompletePopupEntry

toString

public String toString()
Overrides:
toString in class Object

getOpenDefinitionsDocument

public OpenDefinitionsDocument getOpenDefinitionsDocument()
Description copied from class: MainFrameStatics.AutoCompletePopupEntry
Return the OpenDefinitionsDocument associated with this entry, or null if none.

Specified by:
getOpenDefinitionsDocument in class MainFrameStatics.AutoCompletePopupEntry