|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fmrisc.ProofNavigator.SWT.MainSWT
public final class MainSWT
Main method for ProofNavigator with SWT-based GUI.
Constructor Summary | |
---|---|
MainSWT()
|
Method Summary | |
---|---|
static void |
displayFile(java.lang.String title,
java.io.File file,
boolean state)
Display file. |
static void |
enter(java.lang.String string)
Enter input denoted by string |
static org.eclipse.swt.graphics.Color |
getBackgroundColor()
Get background color. |
static org.eclipse.swt.graphics.Color |
getClosedColor()
Get color for closed proof tree nodes. |
static org.eclipse.swt.graphics.Color |
getCurrentColor()
Get color for current proof node. |
static org.eclipse.swt.graphics.Color |
getOpenColor()
Get color for open proof tree nodes. |
static java.lang.Thread |
getThread()
Get interpreter thread |
static boolean |
isRestarted()
Check whether program is to be restarted. |
static void |
process(Command command)
Process command. |
static void |
process(java.lang.String cstring)
Process command denoted by string. |
static void |
resize()
Resize shell based on font setting |
static void |
restart(boolean signal)
Set signal whether program is to be restarted. |
static void |
run()
Run program after command line processing. |
static void |
setInputFocus()
Set focus to input field. |
static void |
setProof(Proof proof)
Set current proof. |
static void |
setProofState(ProofState state)
Signal current proof state. |
static void |
signalRunning(boolean running)
Signals that prover is running in the background. |
static void |
updateMenu()
Updates menu depending on current system state. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MainSWT()
Method Detail |
---|
public static void run()
public static java.lang.Thread getThread()
public static void restart(boolean signal)
signal
- true iff program is to be restarted.public static boolean isRestarted()
public static void setProof(Proof proof)
proof
- the current proof.public static void setProofState(ProofState state)
state
- the current proof state.public static void displayFile(java.lang.String title, java.io.File file, boolean state)
title
- the title of the display.file
- the file to be displayed.state
- true iff file displays proof state.public static org.eclipse.swt.graphics.Color getOpenColor()
public static org.eclipse.swt.graphics.Color getClosedColor()
public static org.eclipse.swt.graphics.Color getCurrentColor()
public static org.eclipse.swt.graphics.Color getBackgroundColor()
public static void signalRunning(boolean running)
running
- true if running starts, false if running stops.public static void updateMenu()
public static void resize()
public static void process(java.lang.String cstring)
cstring
- the string denoting the commandpublic static void process(Command command)
command
- the command to be processed.public static void setInputFocus()
public static void enter(java.lang.String string)
string
- the input to be added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |