2023-09-17 22:13:42 +03:00
|
|
|
package GlobalData.CompilerEnvironment.UI;
|
2024-10-07 00:58:29 +03:00
|
|
|
import Common_old.Current;
|
|
|
|
|
import Common_old.UI.Tables.DBObjectRenderer;
|
2024-10-07 14:44:24 +03:00
|
|
|
import _VisualDVM.Syntax.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;
|
|
|
|
|
setFont(Current.getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
|
|
|
|
setText(environment.value.isEmpty() ? "не задано" : environment.value);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|