|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.DrJavaRoot
public class DrJavaRoot
Main class for DrJava.
| Field Summary | |
|---|---|
private static PrintStream |
_consoleErr
|
private static PrintStream |
_consoleOut
|
private static SimpleInteractionsWindow |
_debugConsole
|
private static MainFrame |
_mainFrame
Main frame of this DrJava instance. |
private static boolean |
anyLineNumbersSpecified
|
static String |
PLASTIC_THEMES_PACKAGE
|
static String |
TEST_DEBUGGER_CLASS
Class to probe to see if the debugger is available |
| Constructor Summary | |
|---|---|
DrJavaRoot()
|
|
| Method Summary | |
|---|---|
private static void |
_openCommandLineFiles(MainFrame mf,
String[] filesToOpen,
int len,
boolean jump)
|
static PrintStream |
consoleErr()
Get the actual System.err stream. |
static PrintStream |
consoleOut()
Get the actual System.out stream. |
static void |
dragEnter(DropTargetDragEvent dropTargetDragEvent)
User dragged something into the component. |
static void |
drop(DropTargetDropEvent dropTargetDropEvent)
User dropped something on the component. |
static void |
handleRemoteOpenFile(File f,
int lineNo)
Handles an "open file" request, either from the remote control server or the operating system. |
static void |
installModalWindowAdapter(Window w,
Runnable1<? super WindowEvent> toFrontAction,
Runnable1<? super WindowEvent> closeAction)
Installs the modal window adapter if available, otherwise installs a non-modal dummy listener. |
static void |
main(String[] args)
|
(package private) static void |
openCommandLineFiles(MainFrame mf,
String[] filesToOpen,
boolean jump)
Handle the list of files specified on the command line. |
(package private) static void |
openCommandLineFiles(MainFrame mf,
String[] filesToOpen,
int len,
boolean jump)
Handle the list of files specified on the command line. |
static void |
removeModalWindowAdapter(Window w)
Removes the modal window adapter. |
static void |
showDrJavaDebugConsole(MainFrame mf)
Shows a separate interactions window with a reference to DrJava's MainFrame defined as "mainFrame". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TEST_DEBUGGER_CLASS
public static final String PLASTIC_THEMES_PACKAGE
private static final PrintStream _consoleOut
private static final PrintStream _consoleErr
private static SimpleInteractionsWindow _debugConsole
private static boolean anyLineNumbersSpecified
private static MainFrame _mainFrame
| Constructor Detail |
|---|
public DrJavaRoot()
| Method Detail |
|---|
public static void main(String[] args)
static void openCommandLineFiles(MainFrame mf,
String[] filesToOpen,
boolean jump)
static void openCommandLineFiles(MainFrame mf,
String[] filesToOpen,
int len,
boolean jump)
private static void _openCommandLineFiles(MainFrame mf,
String[] filesToOpen,
int len,
boolean jump)
public static void showDrJavaDebugConsole(MainFrame mf)
mf - MainFrame to define in the new windowpublic static PrintStream consoleErr()
public static PrintStream consoleOut()
public static void dragEnter(DropTargetDragEvent dropTargetDragEvent)
public static void drop(DropTargetDropEvent dropTargetDropEvent)
public static void installModalWindowAdapter(Window w,
Runnable1<? super WindowEvent> toFrontAction,
Runnable1<? super WindowEvent> closeAction)
w - window trying to get the modal window listenertoFrontAction - action to be performed after the window has been moved to the front againcloseAction - action to be performed when the window is closingpublic static void removeModalWindowAdapter(Window w)
w - window releasing the modal window adapter
public static void handleRemoteOpenFile(File f,
int lineNo)
f - file to openlineNo - line number to jump to, or -1 of not specified
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||