edu.rice.cs.drjava.ui
Class MainFrameStatics.GoToFileListEntry
java.lang.Object
edu.rice.cs.drjava.ui.MainFrameStatics.AutoCompletePopupEntry
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.
doc
private final OpenDefinitionsDocument doc
fullPackage
private String fullPackage
str
private final String str
MainFrameStatics.GoToFileListEntry
public MainFrameStatics.GoToFileListEntry(OpenDefinitionsDocument d,
String s)
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