Сделал сворачивание через меню настроек.
This commit is contained in:
@@ -12,9 +12,6 @@ import Visual_DVM_2021.Passes.PassCode_2021;
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
public class FileMenuBar extends VisualiserMenuBar {
|
||||
public ExpandCollapseButton LeftECButton;
|
||||
public ExpandCollapseButton DownECButton;
|
||||
//--
|
||||
public JSpinner sToGo;
|
||||
JLabel LineCountLabel;
|
||||
public JLabel CurrentSymbolLabel;
|
||||
@@ -22,20 +19,6 @@ public class FileMenuBar extends VisualiserMenuBar {
|
||||
FileSettingsMenu fileSettingsMenu;
|
||||
public FileMenuBar(SPFEditor editor_in) {
|
||||
editor = editor_in;
|
||||
add(LeftECButton = new ExpandCollapseButton("область графов файла", ECButtonPosition.Left) {
|
||||
{
|
||||
addActionListener(e -> {
|
||||
Current.getFile().form.SwitchGraphs();
|
||||
});
|
||||
}
|
||||
});
|
||||
add(DownECButton = new ExpandCollapseButton("область сообщений файла", ECButtonPosition.Down) {
|
||||
{
|
||||
addActionListener(e -> {
|
||||
Current.getFile().form.SwitchMessages();
|
||||
});
|
||||
}
|
||||
});
|
||||
add(new MenuBarButton() {
|
||||
{
|
||||
setToolTipText("Поиск(Ctrl+F)");
|
||||
|
||||
Reference in New Issue
Block a user