RCS file: /disk/cvs/proofgen/eclipse/ed.inf.proofgeneral/src/ed/inf/proofgeneral/sessionmanager/SessionManagerFactory.java,v
retrieving revision 1.3
diff -u -r1.3 SessionManagerFactory.java
|
|
|
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | | * Select the appropriate session manager (create it if necessary, and start |
51 | | * the prover) |
| 50 | * Select the appropriate session manager (create it if necessary, but do not start |
| 51 | * the prover). |
52 | 52 | * |
53 | 53 | * @param fileName |
54 | 54 | * name of the file |
… |
… |
|
63 | 63 | String fileExtn = fileName.substring(lastDot+1); |
64 | 64 | Prover prover = registry.getProverForFileExtension(fileExtn); |
65 | 65 | String pName = prover.getName(); |
66 | | return getSessionManagerForProver(pName,true); |
| 66 | return getSessionManagerForProver(pName,false); |
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
… |
… |
|
84 | 84 | |
85 | 85 | /** |
86 | 86 | * Gets the Session Manager controlling the given prover. If there is |
87 | | * no session manager associated, one is created (but the prover is not |
88 | | * started in it). |
| 87 | * no session manager associated, one is created and the prover is |
| 88 | * started in it if the given flag is true. |
89 | 89 | * @param proverName |
| 90 | * @param startup |
90 | 91 | * @return the session manager for this prover. |
91 | 92 | */ |
92 | 93 | public SessionManager getSessionManagerForProver(String proverName,boolean startup) throws ProverRegistryException { |