16 lines
631 B
Java
16 lines
631 B
Java
package GlobalData.CompilerEnvironment.UI;
|
|
import Common.Visual.CommonUI;
|
|
import Common.Visual.Tables.DBObjectRenderer;
|
|
import Common.Visual.Fonts.VisualiserFonts;
|
|
import GlobalData.CompilerEnvironment.CompilerEnvironment;
|
|
public class CompilerEnvironmentValueRenderer extends DBObjectRenderer {
|
|
@Override
|
|
public void Display() {
|
|
if (value != null) {
|
|
CompilerEnvironment environment = (CompilerEnvironment) value;
|
|
setFont(CommonUI.getTheme().Fonts.get(VisualiserFonts.Hyperlink));
|
|
setText(environment.value.isEmpty() ? "не задано" : environment.value);
|
|
}
|
|
}
|
|
}
|