Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
ProofScriptParser
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sarah.grebing
ProofScriptParser
Commits
4d8c19c8
Commit
4d8c19c8
authored
Sep 13, 2017
by
Sarah Grebing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Button for laoding a java file with an exmpty script
parent
126a35d7
Pipeline
#13604
failed with stage
in 2 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
1 deletion
+43
-1
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controls/WelcomePane.java
...va/edu/kit/iti/formal/psdbg/gui/controls/WelcomePane.java
+33
-0
ui/src/main/resources/edu/kit/iti/formal/psdbg/gui/controls/WelcomePane.fxml
...es/edu/kit/iti/formal/psdbg/gui/controls/WelcomePane.fxml
+10
-1
No files found.
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controls/WelcomePane.java
View file @
4d8c19c8
...
...
@@ -17,6 +17,11 @@ public class WelcomePane extends AnchorPane {
Utils
.
createWithFXML
(
this
);
}
/**
* Load the contraposition example
*
* @param event
*/
public
void
loadContraPosition
(
ActionEvent
event
)
{
proofScriptDebugger
.
getWelcomePaneDock
().
close
();
proofScriptDebugger
.
showActiveInspector
(
null
);
...
...
@@ -35,6 +40,10 @@ public class WelcomePane extends AnchorPane {
*/
}
/**
* Load a test example
* @param event
*/
public
void
loadJavaTest
(
ActionEvent
event
)
{
proofScriptDebugger
.
getWelcomePaneDock
().
close
();
proofScriptDebugger
.
showActiveInspector
(
null
);
...
...
@@ -50,6 +59,10 @@ public class WelcomePane extends AnchorPane {
new File("src/test/resources/edu/kit/formal/psdb/interpreter/javaExample/Test.java"));*/
}
/**
* Load teh help page documentation
* @param event
*/
public
void
loadHelpPage
(
ActionEvent
event
)
{
proofScriptDebugger
.
getWelcomePaneDock
().
close
();
proofScriptDebugger
.
showCommandHelp
(
event
);
...
...
@@ -58,6 +71,10 @@ public class WelcomePane extends AnchorPane {
}
/**
* Load a Java problem with an existing script
* @param event
*/
public
void
loadJavaProblem
(
ActionEvent
event
)
{
proofScriptDebugger
.
getWelcomePaneDock
().
close
();
proofScriptDebugger
.
showActiveInspector
(
null
);
...
...
@@ -81,5 +98,21 @@ public class WelcomePane extends AnchorPane {
proofScriptDebugger
.
openScript
();
}
/**
* Load a Java File and an Empty Script
*
* @param event
*/
public
void
loadJavaProblemWithNewScript
(
ActionEvent
event
)
{
proofScriptDebugger
.
getWelcomePaneDock
().
close
();
proofScriptDebugger
.
showActiveInspector
(
null
);
proofScriptDebugger
.
openJavaFile
();
proofScriptDebugger
.
getScriptController
().
newScript
();
}
}
ui/src/main/resources/edu/kit/iti/formal/psdbg/gui/controls/WelcomePane.fxml
View file @
4d8c19c8
...
...
@@ -14,7 +14,8 @@
</font>
</Label>
<Label
alignment=
"TOP_LEFT"
layoutX=
"14.0"
layoutY=
"71.0"
prefHeight=
"129.0"
prefWidth=
"573.0"
text=
"This application is the Proof Script debugger for the KeY system."
wrapText=
"true"
/>
text=
"This application is the Proof Script debugger for the KeY system. It allows to perform proofs using a proof scripting language on top of the KeY system."
wrapText=
"true"
/>
<HBox
fillHeight=
"true"
layoutX=
"117.0"
layoutY=
"200.0"
maxHeight=
"1.7976931348623157E308"
maxWidth=
"1.7976931348623157E308"
spacing=
"25.0"
>
<padding>
...
...
@@ -74,6 +75,14 @@
<MaterialDesignIconView
glyphName=
"HELP_CIRCLE"
size=
"24"
/>
</graphic>
</Button>
<Button
contentDisplay=
"TOP"
maxWidth=
"1.7976931348623157E308"
text=
"Java File with Empty Script"
onAction=
"#loadJavaProblemWithNewScript"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"2"
>
<graphic>
<MaterialDesignIconView
glyphName=
"BOOK_OPEN_VARIANT"
size=
"24"
/>
</graphic>
</Button>
</children>
<StackPane.margin>
<Insets
bottom=
"10.0"
left=
"10.0"
right=
"10.0"
top=
"10.0"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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