no message
This commit is contained in:
@@ -17,12 +17,18 @@ import java.awt.*;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
public class MainMenuBar extends VisualiserMenuBar {
|
||||
JMenu analyses;
|
||||
JMenu transformations;
|
||||
MenuBarButton componentsButton;
|
||||
public MenuBarButton MachineButton;
|
||||
public MenuBarButton UserButton;
|
||||
public MenuBarButton CompilerButton;
|
||||
JMenu analyses;
|
||||
JMenu transformations;
|
||||
MenuBarButton componentsButton;
|
||||
ActionListener credentialsListener = new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Global.mainModule.getUI().getMainWindow().FocusCredentials();
|
||||
}
|
||||
};
|
||||
public MainMenuBar() {
|
||||
addMenus(new LastOpenedProjectsMenu());
|
||||
addPasses(PassCode.OpenCurrentProject, PassCode.CreateEmptyProject);
|
||||
@@ -100,12 +106,6 @@ public class MainMenuBar extends VisualiserMenuBar {
|
||||
CompilerButton.addActionListener(credentialsListener);
|
||||
ShowProject(false);
|
||||
}
|
||||
ActionListener credentialsListener= new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Global.mainModule.getUI().getMainWindow().FocusCredentials();
|
||||
}
|
||||
};
|
||||
public void ShowUpdatesIcon() {
|
||||
componentsButton.setIcon(Global.components.getButtonIconPath());
|
||||
}
|
||||
|
||||
@@ -11,6 +11,6 @@ public class VersionsComparisonMenu extends PropertiesSubmenu {
|
||||
"FortranWrapsOn",
|
||||
"ExtensionsOn",
|
||||
"ComparsionDiffMergeOn"
|
||||
);
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,11 +17,10 @@ public class VisualiserSettingsMenu extends VisualiserMenu {
|
||||
if (Utils_.isWindows()) {
|
||||
add(new PropertiesSubmenu("Компиляция на локальной машине", null,
|
||||
Global.normalProperties,
|
||||
|
||||
"LocalMakePathWindows",
|
||||
"Kernels"
|
||||
));
|
||||
}else {
|
||||
} else {
|
||||
add(new PropertiesSubmenu("Компиляция на локальной машине", null,
|
||||
Global.normalProperties,
|
||||
"Kernels"
|
||||
|
||||
@@ -35,7 +35,7 @@ public class ProjectSettingsMenu extends VisualiserMenu {
|
||||
addSeparator();
|
||||
add(new PropertiesSubmenu("Анализ", null,
|
||||
Global.mainModule.getProject().sapforProperties,
|
||||
"Precompilation",
|
||||
"Precompilation",
|
||||
"KEEP_DVM_DIRECTIVES",
|
||||
"IGNORE_IO_SAPFOR",
|
||||
"MPI_PROGRAM",
|
||||
@@ -59,9 +59,9 @@ public class ProjectSettingsMenu extends VisualiserMenu {
|
||||
"SaveModifications"
|
||||
));
|
||||
addSeparator();
|
||||
add( Global.mainModule.getProject().sapforProperties.getMenuItem("TRANSLATE_MESSAGES"));
|
||||
add( Global.mainModule.getProject().sapforProperties.getMenuItem("DEBUG_PRINT_ON"));
|
||||
add( Global.mainModule.getProject().sapforProperties.getMenuItem("GCOVLimit"));
|
||||
add(Global.mainModule.getProject().sapforProperties.getMenuItem("TRANSLATE_MESSAGES"));
|
||||
add(Global.mainModule.getProject().sapforProperties.getMenuItem("DEBUG_PRINT_ON"));
|
||||
add(Global.mainModule.getProject().sapforProperties.getMenuItem("GCOVLimit"));
|
||||
}
|
||||
public void ShowLanguage() {
|
||||
mLanguage.setText("Язык: " + Global.mainModule.getProject().languageName.getDescription());
|
||||
|
||||
Reference in New Issue
Block a user