added possibility to open a circuit from the command line

This commit is contained in:
hneemann 2017-04-21 22:00:12 +02:00
parent 42ff6cc424
commit 1942749fa9
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,8 @@
Release Notes
planed as v0.12
- added the possibility to open a circuit from the command line
v0.11, released on 20. Apr 2017
- Added floating gate FETs.
- Better detecting of missing signals in test cases.

View File

@ -1190,7 +1190,7 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
private Component parent;
private ElementLibrary library;
private Circuit circuit;
private boolean allowAllFileActions=true;
private boolean allowAllFileActions = true;
/**
* @param fileToOpen the file to open
@ -1220,7 +1220,7 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
}
/**
* @param circuit the circuitto show
* @param circuit the circuit to show
* @return this for chained calls
*/
public MainBuilder setCircuit(Circuit circuit) {
@ -1229,7 +1229,8 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
}
/**
* If called most file actions are denied
* If called, most file actions are denied
*
* @return this for chained calls
*/
public MainBuilder denyMostFileActions() {