2023-09-17 22:13:42 +03:00
|
|
|
package GlobalData.CompilerEnvironment.UI;
|
2024-10-08 22:33:49 +03:00
|
|
|
import Common.Visual.CommonUI;
|
2024-10-09 20:35:18 +03:00
|
|
|
import Common.Visual.Tables.DBObjectRenderer;
|
2024-10-08 22:33:49 +03:00
|
|
|
import Common.Visual.Fonts.VisualiserFonts;
|
2023-09-17 22:13:42 +03:00
|
|
|
import GlobalData.CompilerEnvironment.CompilerEnvironment;
|
|
|
|
|
public class CompilerEnvironmentValueRenderer extends DBObjectRenderer {
|
|
|
|
|
@Override
|
|
|
|
|
public void Display() {
|
|
|
|
|
if (value != null) {
|
|
|
|
|
CompilerEnvironment environment = (CompilerEnvironment) value;
|
2024-10-08 22:33:49 +03:00
|
|
|
setFont(CommonUI.getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
2023-09-17 22:13:42 +03:00
|
|
|
setText(environment.value.isEmpty() ? "не задано" : environment.value);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|