Ignore:
Timestamp:
01/08/13 13:25:36 (12 years ago)
Author:
wschamai
Message:

BUG FIX: invoking OMC
MOD: validation and decoration of component tree
MOD: component tree property section includes validation info
MOD: property sections layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modelicaml/org.openmodelica.modelicaml.common/src/org/openmodelica/modelicaml/common/instantiation/TreeObject.java

    r1642 r1677  
    6969    private String name;
    7070   
    71 
    72 
    7371    /** The parent. */
    7472    private TreeParent parent;
     
    116114//  private String finalModificationDescription = null;
    117115   
    118     // TODO: implement getter and setter
    119116    /** The element. */
    120117    private NamedElement element = null;
     
    141138    private boolean isValueClient_required = false;
    142139    private boolean isValueProvider = false;
     140   
     141    private Boolean hasErrors = false;
     142    private Boolean hasWarnings = false;
     143    private Boolean hasInfo = false;
     144   
     145    private String validationInfo = null;
     146
     147   
    143148
    144149    public TreeObject(  String name,
     
    785790//      return this.getDotPath().hashCode();
    786791    }
     792
     793
     794    public Boolean hasErrors() {
     795        return hasErrors;
     796    }
     797
     798
     799    public void setHasErrors(Boolean hasErrors) {
     800        this.hasErrors = hasErrors;
     801    }
     802
     803
     804    public Boolean hasWarnings() {
     805        return hasWarnings;
     806    }
     807
     808
     809    public void setHasWarnings(Boolean hasWarnings) {
     810        this.hasWarnings = hasWarnings;
     811    }
     812
     813
     814    public Boolean hasInfo() {
     815        return hasInfo;
     816    }
     817
     818
     819    public void setHasInfo(Boolean hasInfo) {
     820        this.hasInfo = hasInfo;
     821    }
     822
     823
     824    public String getValidationInfo() {
     825        return validationInfo;
     826    }
     827
     828
     829    public void setValidationInfo(String validationInfo) {
     830        this.validationInfo = validationInfo;
     831    }
    787832   
    788833}
Note: See TracChangeset for help on using the changeset viewer.