]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23352 ac1ea38d-2e2b...
authorvillberg <villberg@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 28 Nov 2011 09:20:24 +0000 (09:20 +0000)
committervillberg <villberg@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 28 Nov 2011 09:20:24 +0000 (09:20 +0000)
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements2/profiles/IssueDecorationStyle.java

index 365d17ac9637e9580b7318f5d72858cd5f6ac429..3cd3d6a734570c07bcee4371d1d353875186a5db 100644 (file)
@@ -64,17 +64,17 @@ public class IssueDecorationStyle extends StyleBase<IssueResult> {
         if (project == null)\r
             return null;\r
 \r
-        Set<Resource> fatals = graph.syncRequest(new FatalIssues(project, true));\r
+        Set<Variable> fatals = graph.syncRequest(new FatalIssues(project, true));\r
         Set<Resource> fatalContexts = graph.syncRequest(new IssueContexts(fatals));\r
         if (fatalContexts.contains(config))\r
             return new IssueResult(Severity.FATAL, transform);\r
 \r
-        Set<Resource> errors = graph.syncRequest(new ErrorIssues(project, true));\r
+        Set<Variable> errors = graph.syncRequest(new ErrorIssues(project, true));\r
         Set<Resource> errorContexts = graph.syncRequest(new IssueContexts(errors));\r
         if (errorContexts.contains(config))\r
             return new IssueResult(Severity.ERROR, transform);\r
 \r
-        Set<Resource> warnings = graph.syncRequest(new WarningIssues(project, true));\r
+        Set<Variable> warnings = graph.syncRequest(new WarningIssues(project, true));\r
         Set<Resource> warningContexts = graph.syncRequest(new IssueContexts(warnings));\r
         if (warningContexts.contains(config))\r
             return new IssueResult(Severity.WARNING, transform);\r