]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/modules/SCLValue.java
Showing compilation warnings in SCL issue view and editors
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / modules / SCLValue.java
index 2d9ed6fe1d5db38ad94ad92d6dc4e91e47b01112..408eb01e561cf96fc5bf020b04e574cadf0e030d 100644 (file)
@@ -144,6 +144,13 @@ public final class SCLValue implements Typed {
                                return true;
                return false;
        }
+       
+       public String isDeprecated() {
+           for(SCLValueProperty property : properties)
+            if(property instanceof DeprecatedProperty)
+                return ((DeprecatedProperty)property).description;
+        return null;
+       }
 
        public void setDocumentation(String documentation) {
                this.documentation = documentation;