Skip to content

Commit

Permalink
updated match tool ui
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanmontt committed Nov 17, 2021
1 parent d9aae61 commit a76d8ed
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/RewriteRuleTools/MatchToolPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,21 @@ MatchToolPresenter >> getBindingsItemsForMatch: bindingsAssociation [
{ #category : #initialization }
MatchToolPresenter >> initializeLayout [

| rulePanel codePanel matchesListPanel |
| rulePanel codePanel matchesWithLabelPanel |
rulePanel := SpBoxLayout newTopToBottom
add: methodCheckbox expand: false;
add: (SpBoxLayout newLeftToRight
add: methodCheckbox expand: false;
addLast: executeButton expand: false;
yourself)
expand: false;
add: ruleEditor;
yourself.
codePanel := SpBoxLayout newTopToBottom
add: codeLabel expand: false;
add: codeEditor;
yourself.
matchesListPanel := SpBoxLayout newVertical
add: executeButton expand: false;
matchesWithLabelPanel := SpBoxLayout newTopToBottom
add: (self newLabel label: 'Matches') expand: false;
add: matchesList;
yourself.

Expand All @@ -122,8 +126,8 @@ MatchToolPresenter >> initializeLayout [
add: rulePanel;
add: codePanel;
yourself);
add: (SpPanedLayout newHorizontal
add: matchesListPanel;
add: (SpPanedLayout newLeftToRight
add: matchesWithLabelPanel;
add: bindingsTable;
yourself);
yourself)
Expand Down

0 comments on commit a76d8ed

Please sign in to comment.