no message
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Global;
|
||||
@@ -163,7 +163,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
BugReportCommentAddition.setWrapStyleWord(true);
|
||||
//----------------------------------------------
|
||||
//тут развилка на то вкладки или поля.
|
||||
SwitchScreen(((GlobalDatabase)CommonUtils.db).settings.get(SettingName.SmallScreen).toBoolean());
|
||||
SwitchScreen(((GlobalDatabase) Utils_.db).settings.get(SettingName.SmallScreen).toBoolean());
|
||||
//-
|
||||
Global.componentsServer.db.bugReports.mountUI(bugReportsPanel);
|
||||
Global.componentsServer.db.subscribers.mountUI(subscribersPanel);
|
||||
@@ -287,7 +287,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
CommentFields commentFields = new CommentFields();
|
||||
@Override
|
||||
public void SwitchScreen(boolean small) {
|
||||
CommonUI.Clear(descriptionPanel);
|
||||
UI_.Clear(descriptionPanel);
|
||||
//------------------------------------------------------------------
|
||||
descriptionInterface = small ? descriptionTabs : descriptionFields;
|
||||
descriptionInterface.setEditorScroll(bugDescriptionScroll);
|
||||
@@ -297,7 +297,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
descriptionPanel.revalidate();
|
||||
descriptionPanel.repaint();
|
||||
//---------
|
||||
CommonUI.Clear(commentPanel);
|
||||
UI_.Clear(commentPanel);
|
||||
//------------------------------------------------------------------
|
||||
commentInterface = small ? commentTabs : commentFields;
|
||||
commentInterface.setEditorScroll(bugCommentScroll);
|
||||
@@ -367,7 +367,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
settingsTools = new VisualiserMenuBar();
|
||||
}
|
||||
public void EnableBugreports() {
|
||||
CommonUI.Clear(accountPanel);
|
||||
UI_.Clear(accountPanel);
|
||||
accountPanel.add(SC10);
|
||||
UI.getMainWindow().SwitchTestingTabs(true);
|
||||
}
|
||||
@@ -436,9 +436,9 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
}
|
||||
@Override
|
||||
public void ShowAccount() {
|
||||
lAccountName.setText(CommonUtils.Brackets(Current.getAccount().name));
|
||||
lAccountMail.setText(CommonUtils.Brackets(Current.getAccount().email));
|
||||
lAccountRole.setText(CommonUtils.Brackets(Current.getAccount().role.getDescription()));
|
||||
lAccountName.setText(Utils_.Brackets(Current.getAccount().name));
|
||||
lAccountMail.setText(Utils_.Brackets(Current.getAccount().email));
|
||||
lAccountRole.setText(Utils_.Brackets(Current.getAccount().role.getDescription()));
|
||||
switch (Current.getAccount().role) {
|
||||
case Undefined:
|
||||
/// UI.Clear(accountPanel);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.CommonConstants;
|
||||
import Common.Current_;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import _VisualDVM.Visual.Editor.BaseEditor;
|
||||
@@ -81,7 +81,7 @@ public abstract class ComparisonForm<T> {
|
||||
applyObject();
|
||||
showObject();
|
||||
} else
|
||||
CommonUI.Info(log.toString());
|
||||
UI_.Info(log.toString());
|
||||
}
|
||||
public void ApplyObject(DBObject object_in){
|
||||
RemoveObject();
|
||||
@@ -254,7 +254,7 @@ public abstract class ComparisonForm<T> {
|
||||
int master_lineNum = Body.getCaretLineNumber();
|
||||
slave.Body.setCaretPosition(slave.Body.getLineStartOffset(master_lineNum));
|
||||
} catch (Exception ex) {
|
||||
CommonUtils.MainLog.PrintException(ex);
|
||||
Utils_.MainLog.PrintException(ex);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Utils.Utils_;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Visual.Interface.DebugWindow;
|
||||
import _VisualDVM.Visual.Interface.FormWithSplitters;
|
||||
@@ -68,22 +68,22 @@ public class DebugForm implements DebugWindow, FormWithSplitters {
|
||||
//-
|
||||
@Override
|
||||
public void ShowAll() {
|
||||
((GlobalDatabase)CommonUtils.db).makefiles.ShowUI();
|
||||
((GlobalDatabase)CommonUtils.db).runConfigurations.ShowUI();
|
||||
((GlobalDatabase)CommonUtils.db).compilationTasks.ShowUI(); //их видимость зависит от текущего проекта.
|
||||
((GlobalDatabase)CommonUtils.db).runTasks.ShowUI();
|
||||
((GlobalDatabase) Utils_.db).makefiles.ShowUI();
|
||||
((GlobalDatabase) Utils_.db).runConfigurations.ShowUI();
|
||||
((GlobalDatabase) Utils_.db).compilationTasks.ShowUI(); //их видимость зависит от текущего проекта.
|
||||
((GlobalDatabase) Utils_.db).runTasks.ShowUI();
|
||||
}
|
||||
public DebugForm(){
|
||||
LoadSplitters();
|
||||
//--
|
||||
((GlobalDatabase)CommonUtils.db).makefiles.mountUI(makefilesPanel);
|
||||
((GlobalDatabase)CommonUtils.db).modules.mountUI(modulesPanel);
|
||||
((GlobalDatabase)CommonUtils.db).runConfigurations.mountUI(runConfigurationsPanel);
|
||||
((GlobalDatabase)CommonUtils.db).environmentValues.mountUI(environmentsPanel);
|
||||
((GlobalDatabase)CommonUtils.db).dvmParameters.mountUI(dvmParametersPanel);
|
||||
((GlobalDatabase) Utils_.db).makefiles.mountUI(makefilesPanel);
|
||||
((GlobalDatabase) Utils_.db).modules.mountUI(modulesPanel);
|
||||
((GlobalDatabase) Utils_.db).runConfigurations.mountUI(runConfigurationsPanel);
|
||||
((GlobalDatabase) Utils_.db).environmentValues.mountUI(environmentsPanel);
|
||||
((GlobalDatabase) Utils_.db).dvmParameters.mountUI(dvmParametersPanel);
|
||||
//-
|
||||
((GlobalDatabase)CommonUtils.db).compilationTasks.mountUI(compilationTasksPanel);
|
||||
((GlobalDatabase)CommonUtils.db).runTasks.mountUI(runTasksPanel);
|
||||
((GlobalDatabase) Utils_.db).compilationTasks.mountUI(compilationTasksPanel);
|
||||
((GlobalDatabase) Utils_.db).runTasks.mountUI(runTasksPanel);
|
||||
//--
|
||||
singleCompilationTaskMaster = new CompilationTasksComparisonForm(singleCompilationTaskSlave = new CompilationTasksComparisonForm(null));
|
||||
singleRunTaskMaster = new RunTasksComparisonForm(singleRunTaskSlave = new RunTasksComparisonForm(null));
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.CommonConstants;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Visual.Editor.Viewer;
|
||||
@@ -173,29 +173,29 @@ public class FileForm implements FileWindow, FormWithSplitters {
|
||||
//----
|
||||
@Override
|
||||
public void ShowWarningsCount() {
|
||||
boolean flag = ((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
boolean flag = ((GlobalDatabase) Utils_.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
messagesTabs.setTitleAt(1, (flag ? "Предупреждения: " : "") + file.father.db.warnings.getVisibleKeys().size());
|
||||
}
|
||||
@Override
|
||||
public void ShowErrorsCount() {
|
||||
boolean flag = ((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
boolean flag = ((GlobalDatabase) Utils_.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
messagesTabs.setTitleAt(2, (flag ? "Ошибки: " : "") + file.father.db.errors.getVisibleKeys().size());
|
||||
}
|
||||
@Override
|
||||
public void ShowNotesCount() {
|
||||
boolean flag = ((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
boolean flag = ((GlobalDatabase) Utils_.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
messagesTabs.setTitleAt(0, (flag ? "Примечания: " : "") + file.father.db.notes.getVisibleKeys().size());
|
||||
}
|
||||
@Override
|
||||
public void ShowRecommendationsCount() {
|
||||
boolean flag = ((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
boolean flag = ((GlobalDatabase) Utils_.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
messagesTabs.setTitleAt(3, (flag ? "Рекомендации: " : "") + file.father.db.recommendations.getVisibleKeys().size());
|
||||
}
|
||||
//---
|
||||
@Override
|
||||
public void RefreshTabsNames() {
|
||||
UI.ShowTabsNames(graphsTabs);
|
||||
boolean flag = ((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
boolean flag = ((GlobalDatabase) Utils_.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
//--
|
||||
ShowNotesCount();
|
||||
ShowWarningsCount();
|
||||
@@ -216,7 +216,7 @@ public class FileForm implements FileWindow, FormWithSplitters {
|
||||
}
|
||||
@Override
|
||||
public void ShowText() {
|
||||
CommonUI.Clear(editorPanel);
|
||||
UI_.Clear(editorPanel);
|
||||
editorPanel.add(new RTextScrollPane(Body = new SPFEditor(file)));
|
||||
UI.getSearchReplaceWindow().updateEditor(Body);
|
||||
}
|
||||
@@ -235,7 +235,7 @@ public class FileForm implements FileWindow, FormWithSplitters {
|
||||
}
|
||||
@Override
|
||||
public void ShowNoMessages() {
|
||||
boolean full_tiles = ((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
boolean full_tiles = ((GlobalDatabase) Utils_.db).settings.get(SettingName.ShowFullTabsNames).toBoolean();
|
||||
file.father.db.notes.ClearUI();
|
||||
file.father.db.warnings.ClearUI();
|
||||
file.father.db.errors.ClearUI();
|
||||
@@ -367,31 +367,31 @@ public class FileForm implements FileWindow, FormWithSplitters {
|
||||
//--
|
||||
@Override
|
||||
public void CollapseGraphs() {
|
||||
CommonUtils.db.splitters.get("SC12").position = SC12.getDividerLocation();
|
||||
CommonUI.Clear(editorBackground);
|
||||
Utils_.db.splitters.get("SC12").position = SC12.getDividerLocation();
|
||||
UI_.Clear(editorBackground);
|
||||
editorBackground.add(editorPanel);
|
||||
}
|
||||
@Override
|
||||
public void ExpandGraphs() {
|
||||
CommonUI.Clear(editorBackground);
|
||||
UI_.Clear(editorBackground);
|
||||
SC12.setRightComponent(editorPanel);
|
||||
editorBackground.add(SC12);
|
||||
//--
|
||||
SC12.setDividerLocation(CommonUtils.db.splitters.get("SC12").position);
|
||||
SC12.setDividerLocation(Utils_.db.splitters.get("SC12").position);
|
||||
SC12.updateUI();
|
||||
}
|
||||
@Override
|
||||
public void CollapseMessages() {
|
||||
CommonUtils.db.splitters.get("SC1").position = SC1.getDividerLocation();
|
||||
CommonUI.Clear(content);
|
||||
Utils_.db.splitters.get("SC1").position = SC1.getDividerLocation();
|
||||
UI_.Clear(content);
|
||||
content.add(editorBackground);
|
||||
}
|
||||
@Override
|
||||
public void ExpandMessages() {
|
||||
CommonUI.Clear(content);
|
||||
UI_.Clear(content);
|
||||
SC1.setLeftComponent(editorBackground);
|
||||
content.add(SC1);
|
||||
SC1.setDividerLocation(CommonUtils.db.splitters.get("SC1").position);
|
||||
SC1.setDividerLocation(Utils_.db.splitters.get("SC1").position);
|
||||
SC1.updateUI();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import Common.Visual.TextField.StyledTextField;
|
||||
import _VisualDVM.ProjectData.SapforData.Functions.UI.Graph.FunctionsGraphForm;
|
||||
@@ -115,19 +115,19 @@ public class FunctionsForm implements FunctionsWindow {
|
||||
sDepth.setModel(new SpinnerNumberModel(1,
|
||||
0, 64, 1
|
||||
));
|
||||
CommonUI.MakeSpinnerRapid(sIterations, e -> {
|
||||
UI_.MakeSpinnerRapid(sIterations, e -> {
|
||||
Current.getProject().UpdatefgIterations((int) sIterations.getValue());
|
||||
FunctionsGraphUI.ffTimer.restart();
|
||||
});
|
||||
CommonUI.MakeSpinnerRapid(sResistance, e -> {
|
||||
UI_.MakeSpinnerRapid(sResistance, e -> {
|
||||
Current.getProject().UpdatefgResistance((int) sResistance.getValue());
|
||||
FunctionsGraphUI.ffTimer.restart();
|
||||
});
|
||||
CommonUI.MakeSpinnerRapid(sScreen, e -> {
|
||||
UI_.MakeSpinnerRapid(sScreen, e -> {
|
||||
Current.getProject().UpdatefgScreen((double) sScreen.getValue());
|
||||
FunctionsGraphUI.ffTimer.restart();
|
||||
});
|
||||
CommonUI.MakeSpinnerRapid(sDepth, e -> {
|
||||
UI_.MakeSpinnerRapid(sDepth, e -> {
|
||||
SPF_GetGraphFunctionPositions.depth = (int) sDepth.getValue();
|
||||
FunctionsGraphUI.ffTimer.restart();
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Global;
|
||||
@@ -61,7 +61,7 @@ public class MainForm extends Form implements MainWindow {
|
||||
if (UI.getDebugWindow() != null)
|
||||
((FormWithSplitters) UI.getDebugWindow()).SaveSplitters();
|
||||
//--
|
||||
((GlobalDatabase)CommonUtils.db).SaveCredentials();
|
||||
((GlobalDatabase) Utils_.db).SaveCredentials();
|
||||
//--
|
||||
Global.FinishApplication();
|
||||
}
|
||||
@@ -101,7 +101,7 @@ public class MainForm extends Form implements MainWindow {
|
||||
}
|
||||
private void InstallCallbackPanel() {
|
||||
globalTabs.insertTab("Обратная связь",
|
||||
CommonUtils.getIcon("/icons/Bug.png"),
|
||||
Utils_.getIcon("/icons/Bug.png"),
|
||||
(callbackForm = new CallbackForm()).getContent(),
|
||||
"Журнал ошибок и связь с разработчиками", 1);
|
||||
}
|
||||
@@ -113,7 +113,7 @@ public class MainForm extends Form implements MainWindow {
|
||||
}
|
||||
private void InstallTestsPanel() {
|
||||
globalTabs.insertTab("Тесты",
|
||||
CommonUtils.getIcon("/icons/Library.PNG"),
|
||||
Utils_.getIcon("/icons/Library.PNG"),
|
||||
(testsForm = new TestsForm()).getContent(),
|
||||
"Библиотека тестов на сервере", 2);
|
||||
}
|
||||
@@ -126,7 +126,7 @@ public class MainForm extends Form implements MainWindow {
|
||||
private void InstallTestingPanel() {
|
||||
testingForm = new TestingForm();
|
||||
globalTabs.insertTab("Тестирование",
|
||||
CommonUtils.getIcon("/icons/Session.png"),
|
||||
Utils_.getIcon("/icons/Session.png"),
|
||||
testingForm.getContent(),
|
||||
"Система тестирования", 3);
|
||||
}
|
||||
@@ -235,7 +235,7 @@ public class MainForm extends Form implements MainWindow {
|
||||
getTestsWindow().ShowAll();
|
||||
if (getTestingWindow() != null)
|
||||
getTestingWindow().ShowAll();
|
||||
CommonUI.windowsStack.push(this);
|
||||
UI_.windowsStack.push(this);
|
||||
super.Show();
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.Windows.Dialog.DialogFields;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Visual.Interface.FormWithSplitters;
|
||||
@@ -16,7 +16,7 @@ public class ProfilesFields implements DialogFields, FormWithSplitters {
|
||||
return content;
|
||||
}
|
||||
public ProfilesFields(){
|
||||
((GlobalDatabase)CommonUtils.db).sapforProfiles.mountUI(profilesPanel);
|
||||
((GlobalDatabase)CommonUtils.db).sapforProfilesSettings.mountUI(settingsPanel);
|
||||
((GlobalDatabase) Utils_.db).sapforProfiles.mountUI(profilesPanel);
|
||||
((GlobalDatabase) Utils_.db).sapforProfilesSettings.mountUI(settingsPanel);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.Windows.Dialog.Dialog;
|
||||
import Common.Database.Objects.DBForm.DBForm;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
@@ -18,13 +18,13 @@ public class ProfilesForm extends Dialog<Object, ProfilesFields> {
|
||||
}
|
||||
@Override
|
||||
public void Init(Object... params) {
|
||||
if (((GlobalDatabase)CommonUtils.db).sapforProfiles.size() > 0) {
|
||||
for (Object key : ((GlobalDatabase)CommonUtils.db).sapforProfiles.Data.keySet()) {
|
||||
((GlobalDatabase)CommonUtils.db).sapforProfiles.ShowUI(key);
|
||||
if (((GlobalDatabase) Utils_.db).sapforProfiles.size() > 0) {
|
||||
for (Object key : ((GlobalDatabase) Utils_.db).sapforProfiles.Data.keySet()) {
|
||||
((GlobalDatabase) Utils_.db).sapforProfiles.ShowUI(key);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
((GlobalDatabase)CommonUtils.db).sapforProfiles.ShowUI();
|
||||
((GlobalDatabase) Utils_.db).sapforProfiles.ShowUI();
|
||||
}
|
||||
}
|
||||
@Override
|
||||
@@ -58,8 +58,8 @@ public class ProfilesForm extends Dialog<Object, ProfilesFields> {
|
||||
return "Profiles"; //можно было бы через имя класса
|
||||
}
|
||||
public void LoadWindowParameters() throws Exception {
|
||||
if (((GlobalDatabase)CommonUtils.db).forms.Data.containsKey(getFormKey())) {
|
||||
info = ((GlobalDatabase)CommonUtils.db).forms.Data.get(getFormKey());
|
||||
if (((GlobalDatabase) Utils_.db).forms.Data.containsKey(getFormKey())) {
|
||||
info = ((GlobalDatabase) Utils_.db).forms.Data.get(getFormKey());
|
||||
info.Apply(this);
|
||||
return;
|
||||
}
|
||||
@@ -68,8 +68,8 @@ public class ProfilesForm extends Dialog<Object, ProfilesFields> {
|
||||
public void SaveWindowParameters() throws Exception {
|
||||
if (info != null) {
|
||||
info.Init(this);
|
||||
CommonUtils.db.Update(info);
|
||||
Utils_.db.Update(info);
|
||||
} else
|
||||
CommonUtils.db.Insert(new DBForm(getFormKey(), this));
|
||||
Utils_.db.Insert(new DBForm(getFormKey(), this));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Global;
|
||||
@@ -84,7 +84,7 @@ public class ProjectForm implements FormWithSplitters, ProjectWindow {
|
||||
UI.getDebugWindow().ShowAll();
|
||||
ShowAllAnalyses();
|
||||
ShowProjectView();
|
||||
SwitchScreen(((GlobalDatabase)CommonUtils.db).settings.get(SettingName.SmallScreen).toBoolean());
|
||||
SwitchScreen(((GlobalDatabase) Utils_.db).settings.get(SettingName.SmallScreen).toBoolean());
|
||||
RefreshTabsNames();
|
||||
//--
|
||||
if (Global.properties.collapseProjectTrees)
|
||||
@@ -172,7 +172,7 @@ public class ProjectForm implements FormWithSplitters, ProjectWindow {
|
||||
projectTabs.setSelectedIndex(0);
|
||||
}
|
||||
});
|
||||
CommonUI.Clear(fileBackground);
|
||||
UI_.Clear(fileBackground);
|
||||
//filesTabs.removeAll();
|
||||
}
|
||||
@Override
|
||||
@@ -254,10 +254,10 @@ public class ProjectForm implements FormWithSplitters, ProjectWindow {
|
||||
}
|
||||
@Override
|
||||
public void ShowProjectView() {
|
||||
CommonUI.Clear(projectViewPanel);
|
||||
UI_.Clear(projectViewPanel);
|
||||
ProjectView view = Current.getProjectView();
|
||||
menuBar.getProjectViewMenu().setToolTipText(view.getDescription());
|
||||
menuBar.getProjectViewMenu().setIcon(CommonUtils.getIcon(view.getIcon()));
|
||||
menuBar.getProjectViewMenu().setIcon(Utils_.getIcon(view.getIcon()));
|
||||
switch (view) {
|
||||
case Files:
|
||||
projectViewPanel.add(filesForm.getContent());
|
||||
@@ -277,13 +277,13 @@ public class ProjectForm implements FormWithSplitters, ProjectWindow {
|
||||
//-
|
||||
private void InstallVersionsPanel() {
|
||||
projectTabs.insertTab("",
|
||||
CommonUtils.getIcon("/icons/VersionsTree.png"),
|
||||
Utils_.getIcon("/icons/VersionsTree.png"),
|
||||
UI.getVersionsWindow().getContent(),
|
||||
"Версии", 5);
|
||||
}
|
||||
private void InstallDebugPanel() {
|
||||
projectTabs.insertTab("",
|
||||
CommonUtils.getIcon("/icons/Command.png"),
|
||||
Utils_.getIcon("/icons/Command.png"),
|
||||
UI.getDebugWindow().getContent(),
|
||||
"Компиляция и запуск", 6);
|
||||
}
|
||||
@@ -294,16 +294,16 @@ public class ProjectForm implements FormWithSplitters, ProjectWindow {
|
||||
//--
|
||||
@Override
|
||||
public void CollapseProjectTrees() {
|
||||
CommonUtils.db.splitters.get("SC3").position = SC3.getDividerLocation();
|
||||
Utils_.db.splitters.get("SC3").position = SC3.getDividerLocation();
|
||||
//---
|
||||
CommonUI.Clear(projectBackground);
|
||||
UI_.Clear(projectBackground);
|
||||
projectBackground.add(fileBackground);
|
||||
}
|
||||
@Override
|
||||
public void ExpandProjectTrees() {
|
||||
SC3.setLeftComponent(fileBackground);
|
||||
projectBackground.add(SC3);
|
||||
SC3.setDividerLocation(CommonUtils.db.splitters.get("SC3").position);
|
||||
SC3.setDividerLocation(Utils_.db.splitters.get("SC3").position);
|
||||
SC3.updateUI();
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.Windows.Dialog.VFileChooser_;
|
||||
import _VisualDVM.Constants;
|
||||
|
||||
@@ -12,7 +12,7 @@ public class ProjectsChooser extends VFileChooser_ {
|
||||
@Override
|
||||
public boolean accept(File f) {
|
||||
return
|
||||
!CommonUtils.ContainsCyrillic(f.getAbsolutePath()) &&
|
||||
!Utils_.ContainsCyrillic(f.getAbsolutePath()) &&
|
||||
!f.getName().equalsIgnoreCase(Constants.data)
|
||||
;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Current_;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import _VisualDVM.Visual.Controls.ShortLabel;
|
||||
@@ -75,7 +75,7 @@ public class SapforPackagesComparisonForm {
|
||||
showObject();
|
||||
}
|
||||
} else
|
||||
CommonUI.Info(log.toString());
|
||||
UI_.Info(log.toString());
|
||||
}
|
||||
public void ApplyObject(DBObject object_in) {
|
||||
RemoveObject();
|
||||
@@ -116,7 +116,7 @@ public class SapforPackagesComparisonForm {
|
||||
}
|
||||
//---
|
||||
public void showNoTree() {
|
||||
CommonUI.Clear(treePanel);
|
||||
UI_.Clear(treePanel);
|
||||
}
|
||||
public void showObject() {
|
||||
lObjectName.setText(object.getPK().toString() + (isMaster() ? "(эталон)" : ""));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Utils.Utils_;
|
||||
import _VisualDVM.Constants;
|
||||
import _VisualDVM.Current;
|
||||
import Common.Visual.Controls.MenuBarButton;
|
||||
@@ -82,10 +82,10 @@ public class SapforVersionsComparisonForm extends ComparisonForm<SapforVersion_j
|
||||
} else {
|
||||
if (isReady()) {
|
||||
if (getMaster().isReady()) {
|
||||
boolean ExtensionsOn = ((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ExtensionsOn).toBoolean();
|
||||
String name1 = ExtensionsOn ? getMaster().file.file.getName() : CommonUtils.getFileNameWithoutExtension(getMaster().file.file);
|
||||
String name2 = ExtensionsOn ? file.file.getName() : CommonUtils.getFileNameWithoutExtension(file.file);
|
||||
if (((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ComparsionDiffMergeOn).toBoolean()) {
|
||||
boolean ExtensionsOn = ((GlobalDatabase) Utils_.db).settings.get(SettingName.ExtensionsOn).toBoolean();
|
||||
String name1 = ExtensionsOn ? getMaster().file.file.getName() : Utils_.getFileNameWithoutExtension(getMaster().file.file);
|
||||
String name2 = ExtensionsOn ? file.file.getName() : Utils_.getFileNameWithoutExtension(file.file);
|
||||
if (((GlobalDatabase) Utils_.db).settings.get(SettingName.ComparsionDiffMergeOn).toBoolean()) {
|
||||
if (name1.equalsIgnoreCase(name2))
|
||||
master.DoComparePass(true);
|
||||
} else
|
||||
@@ -113,7 +113,7 @@ public class SapforVersionsComparisonForm extends ComparisonForm<SapforVersion_j
|
||||
@Override
|
||||
protected void showObject() {
|
||||
lObjectName.setText(object.toString());
|
||||
lObjectName.setToolTipText(object.Home.getName() + " : " + CommonUtils.Brackets(object.description));
|
||||
lObjectName.setToolTipText(object.Home.getName() + " : " + Utils_.Brackets(object.description));
|
||||
cbFile.removeAllItems();
|
||||
for (ProjectFile file : object.files.values())
|
||||
cbFile.addItem(file);
|
||||
@@ -155,15 +155,15 @@ public class SapforVersionsComparisonForm extends ComparisonForm<SapforVersion_j
|
||||
cbFile.setSelectedIndex(-1);
|
||||
for (int i = 0; i < cbFile.getItemCount(); ++i) {
|
||||
ProjectFile projectFile = cbFile.getItemAt(i);
|
||||
if (((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ExtensionsOn).toBoolean()) {
|
||||
if (((GlobalDatabase) Utils_.db).settings.get(SettingName.ExtensionsOn).toBoolean()) {
|
||||
//если учитываем расширения, ищем полное совпадение
|
||||
if (projectFile.file.getName().equals(file_name)) {
|
||||
cbFile.setSelectedIndex(i);
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
if (CommonUtils.getNameWithoutExtension(projectFile.file.getName()).equals(
|
||||
CommonUtils.getNameWithoutExtension(file_name))) {
|
||||
if (Utils_.getNameWithoutExtension(projectFile.file.getName()).equals(
|
||||
Utils_.getNameWithoutExtension(file_name))) {
|
||||
cbFile.setSelectedIndex(i);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import Common.Visual.Windows.Form;
|
||||
import _VisualDVM.Current;
|
||||
import Common.Visual.TextField.StyledTextField;
|
||||
@@ -104,8 +104,8 @@ public class SearchReplaceForm extends Form {
|
||||
}
|
||||
}
|
||||
public void applyParams() {
|
||||
String toFind = CommonUtils.hideRegularMetasymbols(tfFind.getText());
|
||||
String toReplace = CommonUtils.hideRegularMetasymbols(tfReplace.getText());
|
||||
String toFind = Utils_.hideRegularMetasymbols(tfFind.getText());
|
||||
String toReplace = Utils_.hideRegularMetasymbols(tfReplace.getText());
|
||||
context.setSearchFor(toFind);
|
||||
context.setMatchCase(registerOn.isSelected());
|
||||
context.setWholeWord(wholeWordOn.isSelected());
|
||||
@@ -148,7 +148,7 @@ public class SearchReplaceForm extends Form {
|
||||
}
|
||||
public void showNoFilesMatches() {
|
||||
lFilesMatchesCount.setText("—");
|
||||
CommonUI.Clear(filesTreePanel);
|
||||
UI_.Clear(filesTreePanel);
|
||||
}
|
||||
public void showFilesMatches() {
|
||||
long total = 0;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.Controls.MenuBarButton;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.GlobalData.Settings.SettingName;
|
||||
@@ -29,7 +29,7 @@ public abstract class TasksComparisonForm<T extends DBObject> extends Comparison
|
||||
//в отличие от комбо боксов, тут события нажатия на кнопку, нет.
|
||||
if (isReady()) {
|
||||
if (slave.isReady()) {
|
||||
if (((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ComparsionDiffMergeOn).toBoolean()) {
|
||||
if (((GlobalDatabase) Utils_.db).settings.get(SettingName.ComparsionDiffMergeOn).toBoolean()) {
|
||||
DoComparePass(true);
|
||||
} else
|
||||
DoShowPass(true);
|
||||
@@ -40,7 +40,7 @@ public abstract class TasksComparisonForm<T extends DBObject> extends Comparison
|
||||
} else {
|
||||
if (isReady()) {
|
||||
if (master.isReady()) {
|
||||
if (((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ComparsionDiffMergeOn).toBoolean()) {
|
||||
if (((GlobalDatabase) Utils_.db).settings.get(SettingName.ComparsionDiffMergeOn).toBoolean()) {
|
||||
master.DoComparePass(true);
|
||||
} else
|
||||
master.DoShowPass(true);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.CommonConstants;
|
||||
import Common.Current_;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Global;
|
||||
@@ -130,9 +130,9 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
SC65.addPropertyChangeListener(JSplitPane.DIVIDER_LOCATION_PROPERTY, sc65Listener);
|
||||
SC66.addPropertyChangeListener(JSplitPane.DIVIDER_LOCATION_PROPERTY, sc66Listener);
|
||||
//-
|
||||
((GlobalDatabase)CommonUtils.db).machines.mountUI(machinesPanel);
|
||||
((GlobalDatabase)CommonUtils.db).users.mountUI(usersPanel);
|
||||
((GlobalDatabase)CommonUtils.db).compilers.mountUI(compilersPanel);
|
||||
((GlobalDatabase) Utils_.db).machines.mountUI(machinesPanel);
|
||||
((GlobalDatabase) Utils_.db).users.mountUI(usersPanel);
|
||||
((GlobalDatabase) Utils_.db).compilers.mountUI(compilersPanel);
|
||||
//-
|
||||
Global.testingServer.db.dvm_configurations.mountUI(configurationsPanel);
|
||||
Global.testingServer.db.dvmPackages.mountUI(dvmPackagesPanel);
|
||||
@@ -150,7 +150,7 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
//-
|
||||
@Override
|
||||
public void ShowAll() {
|
||||
((GlobalDatabase)CommonUtils.db).machines.ShowUI();
|
||||
((GlobalDatabase) Utils_.db).machines.ShowUI();
|
||||
Global.testingServer.db.dvm_configurations.ShowUI();
|
||||
Global.testingServer.db.dvmPackages.ShowUI();
|
||||
Global.testingServer.db.sapforPackages.ShowUI();
|
||||
@@ -273,33 +273,33 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
public void RestoreLastCredentials() {
|
||||
Credentials credentials = (Credentials) Current_.get(Current.Credentials);
|
||||
if (credentials.machine_id != CommonConstants.Nan) {
|
||||
if (((GlobalDatabase)CommonUtils.db).machines.containsKey(credentials.machine_id)) {
|
||||
((GlobalDatabase)CommonUtils.db).machines.ShowUI(credentials.machine_id);
|
||||
if (((GlobalDatabase)CommonUtils.db).users.containsKey(credentials.user_id)) {
|
||||
((GlobalDatabase)CommonUtils.db).users.ShowUI(credentials.user_id);
|
||||
if (((GlobalDatabase) Utils_.db).machines.containsKey(credentials.machine_id)) {
|
||||
((GlobalDatabase) Utils_.db).machines.ShowUI(credentials.machine_id);
|
||||
if (((GlobalDatabase) Utils_.db).users.containsKey(credentials.user_id)) {
|
||||
((GlobalDatabase) Utils_.db).users.ShowUI(credentials.user_id);
|
||||
} else {
|
||||
credentials.user_id = CommonConstants.Nan;
|
||||
((GlobalDatabase)CommonUtils.db).UpdateCredentials();
|
||||
((GlobalDatabase) Utils_.db).UpdateCredentials();
|
||||
}
|
||||
if (((GlobalDatabase)CommonUtils.db).compilers.containsKey(credentials.compiler_id)) {
|
||||
((GlobalDatabase)CommonUtils.db).compilers.ShowUI(credentials.compiler_id);
|
||||
if (((GlobalDatabase) Utils_.db).compilers.containsKey(credentials.compiler_id)) {
|
||||
((GlobalDatabase) Utils_.db).compilers.ShowUI(credentials.compiler_id);
|
||||
} else {
|
||||
credentials.compiler_id = CommonConstants.Nan;
|
||||
((GlobalDatabase)CommonUtils.db).UpdateCredentials();
|
||||
((GlobalDatabase) Utils_.db).UpdateCredentials();
|
||||
}
|
||||
//-
|
||||
if (((GlobalDatabase)CommonUtils.db).makefiles.containsKey(credentials.makefile_id)) {
|
||||
((GlobalDatabase)CommonUtils.db).makefiles.ShowUI(credentials.makefile_id);
|
||||
if (((GlobalDatabase) Utils_.db).makefiles.containsKey(credentials.makefile_id)) {
|
||||
((GlobalDatabase) Utils_.db).makefiles.ShowUI(credentials.makefile_id);
|
||||
} else {
|
||||
credentials.makefile_id = CommonConstants.Nan;
|
||||
((GlobalDatabase)CommonUtils.db).UpdateCredentials();
|
||||
((GlobalDatabase) Utils_.db).UpdateCredentials();
|
||||
}
|
||||
//-
|
||||
if (((GlobalDatabase)CommonUtils.db).runConfigurations.containsKey(credentials.runconfiguration_id)) {
|
||||
((GlobalDatabase)CommonUtils.db).runConfigurations.ShowUI(credentials.runconfiguration_id);
|
||||
if (((GlobalDatabase) Utils_.db).runConfigurations.containsKey(credentials.runconfiguration_id)) {
|
||||
((GlobalDatabase) Utils_.db).runConfigurations.ShowUI(credentials.runconfiguration_id);
|
||||
} else {
|
||||
credentials.runconfiguration_id = CommonConstants.Nan;
|
||||
((GlobalDatabase)CommonUtils.db).UpdateCredentials();
|
||||
((GlobalDatabase) Utils_.db).UpdateCredentials();
|
||||
}
|
||||
} else {
|
||||
credentials.machine_id = CommonConstants.Nan;
|
||||
@@ -308,14 +308,14 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
credentials.remotesapfor_id = CommonConstants.Nan;
|
||||
credentials.makefile_id = CommonConstants.Nan;
|
||||
credentials.runconfiguration_id = CommonConstants.Nan;
|
||||
((GlobalDatabase)CommonUtils.db).UpdateCredentials();
|
||||
((GlobalDatabase) Utils_.db).UpdateCredentials();
|
||||
}
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public void CollapseCredentials() {
|
||||
CommonUtils.db.splitters.get("SC71").position = SC71.getDividerLocation();
|
||||
CommonUI.Clear(credentialsPanel);
|
||||
Utils_.db.splitters.get("SC71").position = SC71.getDividerLocation();
|
||||
UI_.Clear(credentialsPanel);
|
||||
credentialsPanel.add(UI.credentialsBar);
|
||||
SC71.setDividerLocation(30);
|
||||
SC71.setDividerSize(0);
|
||||
@@ -324,7 +324,7 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
}
|
||||
@Override
|
||||
public void ExpandCredentials() {
|
||||
CommonUI.Clear(credentialsPanel);
|
||||
UI_.Clear(credentialsPanel);
|
||||
credentialsPanel.add(SC18);
|
||||
SC71.setDividerLocation(200);
|
||||
SC71.setDividerSize(3);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Utils.Utils_;
|
||||
import _VisualDVM.Current;
|
||||
import Common.Visual.Trees.TreeForm;
|
||||
import _VisualDVM.ProjectData.SapforData.Arrays.UI.DimensionsTableForm;
|
||||
@@ -34,7 +34,7 @@ public class VariantsForm implements VariantsWindow {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Current.getProject().SwitchFilterDistributed();
|
||||
BDistributed.setIcon(CommonUtils.getIcon(Current.getProject().f_distributed() ? "/icons/Pick.png" : "/icons/NotPick.png"));
|
||||
BDistributed.setIcon(Utils_.getIcon(Current.getProject().f_distributed() ? "/icons/Pick.png" : "/icons/NotPick.png"));
|
||||
ShowVariantsFilter();
|
||||
ShowFilteredVariantsCount();
|
||||
}
|
||||
@@ -43,7 +43,7 @@ public class VariantsForm implements VariantsWindow {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Current.getProject().SwitchFilterMultiplied();
|
||||
bMultiplied.setIcon(CommonUtils.getIcon(Current.getProject().f_multiplied() ? "/icons/Pick.png" : "/icons/NotPick.png"));
|
||||
bMultiplied.setIcon(Utils_.getIcon(Current.getProject().f_multiplied() ? "/icons/Pick.png" : "/icons/NotPick.png"));
|
||||
ShowVariantsFilter();
|
||||
ShowFilteredVariantsCount();
|
||||
}
|
||||
@@ -68,8 +68,8 @@ public class VariantsForm implements VariantsWindow {
|
||||
}
|
||||
@Override
|
||||
public void ShowVariantsFilterButtons() {
|
||||
BDistributed.setIcon(CommonUtils.getIcon(Current.getProject().f_distributed() ? "/icons/Pick.png" : "/icons/NotPick.png"));
|
||||
bMultiplied.setIcon(CommonUtils.getIcon(Current.getProject().f_multiplied() ? "/icons/Pick.png" : "/icons/NotPick.png"));
|
||||
BDistributed.setIcon(Utils_.getIcon(Current.getProject().f_distributed() ? "/icons/Pick.png" : "/icons/NotPick.png"));
|
||||
bMultiplied.setIcon(Utils_.getIcon(Current.getProject().f_multiplied() ? "/icons/Pick.png" : "/icons/NotPick.png"));
|
||||
}
|
||||
@Override
|
||||
public void ShowVariantsFilter() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Utils.Utils_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Utils;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
@@ -35,10 +35,10 @@ public class VersionsComparisonForm extends ComparisonForm<db_project_info> {
|
||||
} else {
|
||||
if (isReady()) {
|
||||
if (getMaster().isReady()) {
|
||||
boolean ExtensionsOn = ((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ExtensionsOn).toBoolean();
|
||||
String name1 = ExtensionsOn ? getMaster().file.file.getName() : CommonUtils.getFileNameWithoutExtension(getMaster().file.file);
|
||||
String name2 = ExtensionsOn ? file.file.getName() : CommonUtils.getFileNameWithoutExtension(file.file);
|
||||
if (((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ComparsionDiffMergeOn).toBoolean()) {
|
||||
boolean ExtensionsOn = ((GlobalDatabase) Utils_.db).settings.get(SettingName.ExtensionsOn).toBoolean();
|
||||
String name1 = ExtensionsOn ? getMaster().file.file.getName() : Utils_.getFileNameWithoutExtension(getMaster().file.file);
|
||||
String name2 = ExtensionsOn ? file.file.getName() : Utils_.getFileNameWithoutExtension(file.file);
|
||||
if (((GlobalDatabase) Utils_.db).settings.get(SettingName.ComparsionDiffMergeOn).toBoolean()) {
|
||||
if (name1.equalsIgnoreCase(name2))
|
||||
master.DoComparePass(true);
|
||||
} else
|
||||
@@ -83,15 +83,15 @@ public class VersionsComparisonForm extends ComparisonForm<db_project_info> {
|
||||
cbFile.setSelectedIndex(-1);
|
||||
for (int i = 0; i < cbFile.getItemCount(); ++i) {
|
||||
ProjectFile projectFile = cbFile.getItemAt(i);
|
||||
if (((GlobalDatabase)CommonUtils.db).settings.get(SettingName.ExtensionsOn).toBoolean()) {
|
||||
if (((GlobalDatabase) Utils_.db).settings.get(SettingName.ExtensionsOn).toBoolean()) {
|
||||
//если учитываем расширения, ищем полное совпадение
|
||||
if (projectFile.file.getName().equals(file_in.file.getName())) {
|
||||
cbFile.setSelectedIndex(i);
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
if (CommonUtils.getNameWithoutExtension(projectFile.file.getName()).equals(
|
||||
CommonUtils.getNameWithoutExtension(file_in.file.getName()))) {
|
||||
if (Utils_.getNameWithoutExtension(projectFile.file.getName()).equals(
|
||||
Utils_.getNameWithoutExtension(file_in.file.getName()))) {
|
||||
cbFile.setSelectedIndex(i);
|
||||
return true;
|
||||
}
|
||||
@@ -106,6 +106,6 @@ public class VersionsComparisonForm extends ComparisonForm<db_project_info> {
|
||||
}
|
||||
@Override
|
||||
protected boolean fortranWrapsOn() {
|
||||
return ((GlobalDatabase)CommonUtils.db).settings.get(SettingName.FortranWrapsOn).toBoolean();
|
||||
return ((GlobalDatabase) Utils_.db).settings.get(SettingName.FortranWrapsOn).toBoolean();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Visual.UI_;
|
||||
import Common.Visual.Trees.TreeForm;
|
||||
import _VisualDVM.Visual.UI;
|
||||
import _VisualDVM.ProjectData.Project.UI.VersionsTree;
|
||||
@@ -51,7 +51,7 @@ public class VersionsForm implements FormWithSplitters, VersionsWindow {
|
||||
}
|
||||
@Override
|
||||
public void ShowNoProjectVariants() {
|
||||
CommonUI.Clear(variantsFormPanel);
|
||||
UI_.Clear(variantsFormPanel);
|
||||
versionsTabs.setEnabledAt(0, false);
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user