промежуточный. сворачивание сообщений и левых графов. завтра еще доотлажу.
This commit is contained in:
@@ -20,9 +20,9 @@ public class GlobalProperties extends Properties {
|
||||
@Expose
|
||||
public Current.Mode Mode = Current.Mode.Normal;
|
||||
@Expose
|
||||
public String ServerAddress="alex-freenas.ddns.net";
|
||||
public String ServerAddress = "alex-freenas.ddns.net";
|
||||
@Expose
|
||||
public String ServerUserName ="testuser";
|
||||
public String ServerUserName = "testuser";
|
||||
@Expose
|
||||
public int ServerUserSHHPort = 23;
|
||||
@Expose
|
||||
@@ -84,7 +84,7 @@ public class GlobalProperties extends Properties {
|
||||
@Expose
|
||||
public String PerformanceAnalyzerPath = "";
|
||||
@Expose
|
||||
public int ComponentsBackUpsCount=10;
|
||||
public int ComponentsBackUpsCount = 10;
|
||||
//- тестирование.
|
||||
@Expose
|
||||
public int TestingKernels = 4; //число ядер для тестирования
|
||||
@@ -95,12 +95,14 @@ public class GlobalProperties extends Properties {
|
||||
@Expose
|
||||
public boolean EmailOnTestingProgress = false; //включено ли оповещение по email о результатах тестирования.
|
||||
@Expose
|
||||
public boolean collapseCredentials=false;
|
||||
public boolean collapseCredentials = false;
|
||||
@Expose
|
||||
public boolean collapseFileGraphs = false;
|
||||
@Expose
|
||||
public boolean collapseFileMessages = false;
|
||||
//-
|
||||
@Override
|
||||
public File getFile() {
|
||||
return Paths.get(System.getProperty("user.dir"),"properties").toFile();
|
||||
return Paths.get(System.getProperty("user.dir"), "properties").toFile();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,10 +14,10 @@ public class ExpandCollapseButton extends MenuBarButton {
|
||||
prefix = "Развернуть";
|
||||
switch (position) {
|
||||
case Up:
|
||||
icon_name = "ExpandUp";
|
||||
icon_name = "ExpandDown";
|
||||
break;
|
||||
case Down:
|
||||
icon_name = "CollapseDown";
|
||||
icon_name = "CollapseUp";
|
||||
break;
|
||||
case Left:
|
||||
icon_name = "SilwerArrowLeft";
|
||||
@@ -30,10 +30,10 @@ public class ExpandCollapseButton extends MenuBarButton {
|
||||
prefix = "Свернуть";
|
||||
switch (position) {
|
||||
case Up:
|
||||
icon_name = "ExpandDown";
|
||||
icon_name = "CollapseUp";
|
||||
break;
|
||||
case Down:
|
||||
icon_name = "CollapseUp";
|
||||
icon_name = "ExpandDown";
|
||||
break;
|
||||
case Left:
|
||||
icon_name = "SilwerArrowRight";
|
||||
|
||||
@@ -13,6 +13,8 @@ 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;
|
||||
@@ -27,6 +29,13 @@ public class FileMenuBar extends VisualiserMenuBar {
|
||||
});
|
||||
}
|
||||
});
|
||||
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