Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sarah.grebing
ProofScriptParser
Commits
83df2985
Commit
83df2985
authored
Jun 04, 2018
by
Sarah Grebing
Browse files
bugfix filter inapplicable rules
parent
f80ca40f
Pipeline
#22326
passed with stages
in 3 minutes and 29 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rt-key/src/main/java/edu/kit/iti/formal/psdbg/interpreter/KeYProofFacade.java
View file @
83df2985
...
...
@@ -112,6 +112,8 @@ public class KeYProofFacade {
protected
void
succeeded
()
{
System
.
out
.
println
(
"KeYProofFacade.succeeded"
);
environment
.
set
(
getValue
().
getEnv
());
//SaG: this needs to be set to filter inapplicable rules
getEnvironment
().
getProofControl
().
setMinimizeInteraction
(
true
);
proof
.
set
(
getValue
().
getProof
());
contract
.
set
(
null
);
setLoading
(
false
);
...
...
rt-key/src/main/java/edu/kit/iti/formal/psdbg/interpreter/funchdl/SaveCommand.java
View file @
83df2985
...
...
@@ -15,8 +15,10 @@ import org.apache.logging.log4j.LogManager;
import
org.apache.logging.log4j.Logger
;
import
javax.annotation.Nullable
;
import
javax.xml.bind.JAXBException
;
import
java.io.File
;
import
java.io.IOException
;
import
java.io.StringWriter
;
import
java.util.Optional
;
import
java.util.concurrent.CyclicBarrier
;
import
java.util.concurrent.Semaphore
;
...
...
@@ -73,12 +75,13 @@ public class SaveCommand implements CommandHandler<KeyData> {
if
(
execute
.
get
())
interpreter
.
getSelectedNode
().
getData
().
getProof
().
saveToFile
(
newFile
);
//KeyPersistentFacade.write();
//TODO Call to key persistend facade
KeyPersistentFacade
.
write
(
interpreter
.
getCurrentState
(),
new
StringWriter
());
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
catch
(
InterruptedException
e
)
{
e
.
printStackTrace
();
}
catch
(
JAXBException
e
)
{
e
.
printStackTrace
();
}
}
...
...
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controller/DebuggerMain.java
View file @
83df2985
...
...
@@ -1137,8 +1137,7 @@ public class DebuggerMain implements Initializable {
interactiveModeController
.
setDebuggerFramework
(
model
.
getDebuggerFramework
());
interactiveModeController
.
setKeYServices
(
this
.
getFacade
().
getService
());
interactiveModeController
.
setActivated
(
true
);
//SaG: this needs to be set to filter inapplicable rules
this
.
getFacade
().
getEnvironment
().
getProofControl
().
setMinimizeInteraction
(
true
);
interactiveModeController
.
start
(
getFacade
().
getProof
(),
getInspectionViewsController
().
getActiveInspectionViewTab
().
getModel
());
interactive_undo
.
setDisable
(
false
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment