Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
sarah.grebing
ProofScriptParser
Commits
08f17a39
Commit
08f17a39
authored
Jul 02, 2018
by
Sarah Grebing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor view change
parent
724ad2c0
Pipeline
#23398
failed with stages
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controls/TacletContextMenu.java
.../kit/iti/formal/psdbg/gui/controls/TacletContextMenu.java
+3
-9
ui/src/main/resources/edu/kit/iti/formal/psdbg/gui/controls/TacletContextMenu.fxml
.../kit/iti/formal/psdbg/gui/controls/TacletContextMenu.fxml
+3
-1
No files found.
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controls/TacletContextMenu.java
View file @
08f17a39
...
...
@@ -134,14 +134,13 @@ public class TacletContextMenu extends ContextMenu {
final
ImmutableList
<
BuiltInRule
>
builtInRules
=
c
.
getBuiltInRule
(
goal
,
occ
);
try
{
createMacroMenu
(
KeYApi
.
getScriptCommandApi
().
getScriptCommands
(),
KeYApi
.
getMacroApi
().
getMacros
());
ImmutableList
<
TacletApp
>
findTaclet
=
c
.
getFindTaclet
(
goal
,
occ
);
createTacletMenu
(
removeRewrites
(
findTaclet
)
.
prepend
(
c
.
getRewriteTaclet
(
goal
,
occ
)),
c
.
getNoFindTaclet
(
goal
),
builtInRules
);
createMacroMenu
(
KeYApi
.
getScriptCommandApi
().
getScriptCommands
(),
KeYApi
.
getMacroApi
().
getMacros
());
}
catch
(
NullPointerException
e
)
{
createDummyMenuItem
();
}
...
...
@@ -174,10 +173,7 @@ public class TacletContextMenu extends ContextMenu {
this
.
scriptCommands
.
getItems
().
add
(
item
);
}
}
rootMenu
.
getItems
().
add
(
scriptCommands
);
// rootMenu.getItems().add(scriptCommands);
}
/**
...
...
@@ -271,7 +267,6 @@ public class TacletContextMenu extends ContextMenu {
}
else
{
noRules
.
setVisible
(
true
);
}
if
(
occ
!=
null
)
createAbbrevSection
(
pos
.
getPosInOccurrence
().
subTerm
());
}
...
...
@@ -385,7 +380,6 @@ public class TacletContextMenu extends ContextMenu {
/*if (!insertHiddenController.isEmpty())
insertHiddenController.setVisible(true);
*/
}
/**
...
...
ui/src/main/resources/edu/kit/iti/formal/psdbg/gui/controls/TacletContextMenu.fxml
View file @
08f17a39
...
...
@@ -10,7 +10,6 @@
<!-- <fx:include fx:id="insertHidden" visible="false" source="InsertHiddenMenuView.fxml"/>-->
<Menu
fx:id=
"moreRules"
visible=
"false"
text=
"More rules"
/>
<Menu
fx:id=
"scriptCommands"
visible=
"true"
text=
"Script Commands"
/>
<!-- <SeparatorMenuItem/> -->
<!-- <MenuItem mnemonicParsing="false" onAction="#handleFocussedRuleApplication"
...
...
@@ -19,6 +18,9 @@
<!--
<fx:include fx:id="proofMacroMenu" source="ProofMacroMenuView.fxml"/>
-->
<SeparatorMenuItem/>
<Menu
fx:id=
"scriptCommands"
visible=
"true"
text=
"Script Commands"
/>
<SeparatorMenuItem/>
...
...
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