@@ -52,7 +52,7 @@ public Toolbar(final ToolbarController toolbarController) {
52
52
openBtn = buildOpenButton ();
53
53
backBtn = buildBackButton ();
54
54
viewBtn = buildViewButton ();
55
- // mappingBtn = buildMappingsButton();
55
+ mappingBtn = buildMappingsButton ();
56
56
exportButton = buildExportButton ();
57
57
recentArchivesBtn = buildRecentArchivesButton ();
58
58
leftPanelToggleBtn = buildLeftPanelToggleButton ();
@@ -62,7 +62,7 @@ public Toolbar(final ToolbarController toolbarController) {
62
62
add (backBtn );
63
63
add (viewBtn );
64
64
add (typingArea );
65
- // add(mappingBtn);
65
+ add (mappingBtn );
66
66
add (exportButton );
67
67
add (recentArchivesBtn );
68
68
@@ -199,11 +199,10 @@ public void actionPerformed(ActionEvent e) {
199
199
return result ;
200
200
}
201
201
202
- /*
203
202
private JButton buildMappingsButton () {
204
203
205
- JButton result = new JButton("#");
206
- result.setFont( new Font("Menlo", Font.PLAIN, 18 ));
204
+ JButton result =
205
+ new JButton ( new ImageIcon ( getClass (). getResource ( IconSchemes . EXPORT_ICON_PATH ) ));
207
206
208
207
result .addActionListener (new ActionListener () {
209
208
@ Override
@@ -212,15 +211,12 @@ public void actionPerformed(ActionEvent e) {
212
211
}
213
212
});
214
213
215
- result.setToolTipText("Export ");
214
+ result .setToolTipText ("Mappings " );
216
215
result .setBorderPainted (false );
217
- result.setForeground(ColorScheme.FOREGROUND_YELLOW);
218
- result.setBackground(ColorScheme.BLACK);
219
216
result .setEnabled (true );
220
217
221
218
return result ;
222
219
}
223
- */
224
220
225
221
private JButton buildRecentArchivesButton () {
226
222
RecentArchivesButton result = new RecentArchivesButton ();
0 commit comments