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
08f17a39
Commit
08f17a39
authored
Jul 02, 2018
by
Sarah Grebing
Browse files
minor view change
parent
724ad2c0
Pipeline
#23398
failed with stages
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
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
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