data StaticInformationContribution
@JavaName "<init>"
- staticInformationContribution :: String -> String -> String -> String -> StaticInformationContribution
+ staticInformationContribution :: String -> String -> String -> String -> String -> StaticInformationContribution
importJava "org.simantics.district.network.visualisations.model.DynamicSymbolContribution" where
data DynamicSymbolContribution
private String moduleName;
private String attributeName;
private String unit;
+ private String format;
// for graph persistence only
private boolean used;
private boolean useDefault;
- public StaticInformationContribution(String label, String moduleName, String attributeName, String unit) {
+ public StaticInformationContribution(String label, String moduleName, String attributeName, String unit, String format) {
this.label = label;
this.moduleName = moduleName;
this.attributeName = attributeName;
this.unit = unit;
+ this.format = format;
}
public String getLabel() {
public String getUnit() {
return unit;
}
-
+
+ public String getFormat() {
+ return format;
+ }
+
public boolean isUsed() {
return used;
}
public void setUseDefault(boolean useDefault) {
this.useDefault = useDefault;
}
-
}
\ No newline at end of file