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

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

public static class MainFrame.GoToFileListEntry
extends Object

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


Field Summary
 OpenDefinitionsDocument doc
           
protected  String fullPackage
           
protected  String str
           
 
Constructor Summary
MainFrame.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.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

doc

public final OpenDefinitionsDocument doc

fullPackage

protected String fullPackage

str

protected final String str
Constructor Detail

MainFrame.GoToFileListEntry

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

getFullPackage

public String getFullPackage()
Return the full package including the last period, e.g. "java.lang.".


getClassName

public String getClassName()
Return the simple class name, e.g. "Integer".


toString

public String toString()
Overrides:
toString in class Object