no message
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package _VisualDVM.GlobalData.CompilerEnvironment.UI;
|
||||
import Common.MainModule_;
|
||||
import Common.Visual.Fonts.VisualiserFonts;
|
||||
import Common.Visual.Tables.DBObjectEditor;
|
||||
import Common.Visual.UI_;
|
||||
@@ -7,7 +8,7 @@ import _VisualDVM.GlobalData.CompilerEnvironment.CompilerEnvironment;
|
||||
public class CompilerEnvironmentValueEditor extends DBObjectEditor<CompilerEnvironment> {
|
||||
@Override
|
||||
public void Action() {
|
||||
setFont(UI_.getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
||||
setFont(MainModule_.instance.getUI().getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
||||
setText(value.value.isEmpty() ? "не задано" : value.value);
|
||||
//-
|
||||
ComboTextDialog dialog = new ComboTextDialog() {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package _VisualDVM.GlobalData.CompilerEnvironment.UI;
|
||||
import Common.MainModule_;
|
||||
import Common.Visual.Fonts.VisualiserFonts;
|
||||
import Common.Visual.Tables.DBObjectRenderer;
|
||||
import Common.Visual.UI_;
|
||||
@@ -8,7 +9,7 @@ public class CompilerEnvironmentValueRenderer extends DBObjectRenderer {
|
||||
public void Display() {
|
||||
if (value != null) {
|
||||
CompilerEnvironment environment = (CompilerEnvironment) value;
|
||||
setFont(UI_.getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
||||
setFont(MainModule_.instance.getUI().getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
||||
setText(environment.value.isEmpty() ? "не задано" : environment.value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package _VisualDVM.GlobalData.CompilerOption.UI;
|
||||
import Common.MainModule_;
|
||||
import Common.Visual.Fonts.VisualiserFonts;
|
||||
import Common.Visual.Tables.DBObjectRenderer;
|
||||
import Common.Visual.UI_;
|
||||
@@ -9,10 +10,10 @@ public class CompilerOptionParameterNameRenderer extends DBObjectRenderer {
|
||||
if (value != null) {
|
||||
CompilerOption option = (CompilerOption) value;
|
||||
if (option.hasParameter()) {
|
||||
setFont(UI_.getTheme().Fonts.get(VisualiserFonts.TreePlain));
|
||||
setFont(MainModule_.instance.getUI().getTheme().Fonts.get(VisualiserFonts.TreePlain));
|
||||
setText(option.parameterName);
|
||||
} else {
|
||||
setFont(UI_.getTheme().Fonts.get(VisualiserFonts.UnknownState));
|
||||
setFont(MainModule_.instance.getUI().getTheme().Fonts.get(VisualiserFonts.UnknownState));
|
||||
setText("нет");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package _VisualDVM.GlobalData.CompilerOption.UI;
|
||||
import Common.MainModule_;
|
||||
import Common.Visual.Fonts.VisualiserFonts;
|
||||
import Common.Visual.Tables.DBObjectEditor;
|
||||
import Common.Visual.UI_;
|
||||
@@ -8,7 +9,7 @@ public class CompilerOptionParameterValueEditor extends DBObjectEditor<CompilerO
|
||||
@Override
|
||||
public void Action() {
|
||||
if (value.hasParameter()) {
|
||||
setFont(UI_.getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
||||
setFont(MainModule_.instance.getUI().getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
||||
//-
|
||||
setText(value.parameterValue.isEmpty() ? "не задано" : value.parameterValue);
|
||||
//-
|
||||
@@ -22,7 +23,7 @@ public class CompilerOptionParameterValueEditor extends DBObjectEditor<CompilerO
|
||||
setText(value.parameterValue.isEmpty() ? "не задано" : value.parameterValue);
|
||||
}
|
||||
} else {
|
||||
setFont(UI_.getTheme().Fonts.get(VisualiserFonts.UnknownState));
|
||||
setFont(MainModule_.instance.getUI().getTheme().Fonts.get(VisualiserFonts.UnknownState));
|
||||
setText("нет");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package _VisualDVM.GlobalData.CompilerOption.UI;
|
||||
import Common.MainModule_;
|
||||
import Common.Visual.Fonts.VisualiserFonts;
|
||||
import Common.Visual.Tables.DBObjectRenderer;
|
||||
import Common.Visual.UI_;
|
||||
@@ -9,10 +10,10 @@ public class CompilerOptionParameterValueRenderer extends DBObjectRenderer {
|
||||
if (value != null) {
|
||||
CompilerOption option = (CompilerOption) value;
|
||||
if (option.hasParameter()) {
|
||||
setFont(UI_.getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
||||
setFont(MainModule_.instance.getUI().getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
||||
setText(option.parameterValue.isEmpty() ? "не задано" : option.parameterValue);
|
||||
} else {
|
||||
setFont(UI_.getTheme().Fonts.get(VisualiserFonts.UnknownState));
|
||||
setFont(MainModule_.instance.getUI().getTheme().Fonts.get(VisualiserFonts.UnknownState));
|
||||
setText("нет");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package _VisualDVM.GlobalData;
|
||||
import Common.Database.VisualiserDatabase;
|
||||
import Common.MainModule_;
|
||||
import Common.Utils.Utils_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
@@ -89,6 +90,8 @@ public class GlobalDatabase extends VisualiserDatabase {
|
||||
//настройки компонент
|
||||
settings.AddAll();
|
||||
runConfigurations.Patch();
|
||||
//---
|
||||
MainModule_.instance.getUI().getFastAccessMenuBar().Refresh();
|
||||
}
|
||||
@Override
|
||||
public PassCode getSynchronizePassCode() {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package _VisualDVM.GlobalData.RemoteFile.UI;
|
||||
import Common.MainModule_;
|
||||
import Common.Visual.Fonts.VisualiserFonts;
|
||||
import Common.Visual.Trees.StyledTreeCellRenderer;
|
||||
import Common.Visual.UI_;
|
||||
@@ -16,7 +17,7 @@ public class RemoteFileRenderer extends StyledTreeCellRenderer {
|
||||
if (o instanceof RemoteFile) {
|
||||
RemoteFile file = (RemoteFile) o;
|
||||
setText(file.name);
|
||||
setFont(UI_.getTheme().Fonts.get(VisualiserFonts.TreePlain));
|
||||
setFont(MainModule_.instance.getUI().getTheme().Fonts.get(VisualiserFonts.TreePlain));
|
||||
if (file.isDirectory())
|
||||
setIcon(new ImageIcon(getClass().getResource("/icons/Folder.png")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user