]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/IssueDecorationStyle.java
Externalize strings
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / diagram / style / IssueDecorationStyle.java
index 0200af96e520bc48835859c163f73145092b1358..d473ff46df044a4db03b1bb694fb23e5bbf3ca3c 100644 (file)
@@ -48,7 +48,7 @@ import org.simantics.utils.datastructures.map.Tuple;
  */
 public class IssueDecorationStyle extends StyleBase<IssueResult> {
 
-    private static final String DECORATION_NODE_NAME = "issueDecorations";
+    private static final String DECORATION_NODE_NAME = "issueDecorations"; //$NON-NLS-1$
 
     private List<Resource> getContexts(ReadGraph graph, Resource element) throws DatabaseException {
 
@@ -93,11 +93,11 @@ public class IssueDecorationStyle extends StyleBase<IssueResult> {
     @Override
     public void applyStyleForNode(EvaluationContext observer, INode node, IssueResult result) {
         if (result == null) {
-            ProfileVariables.denyChild(node, "", DECORATION_NODE_NAME);
+            ProfileVariables.denyChild(node, "", DECORATION_NODE_NAME); //$NON-NLS-1$
             return;
         }
 
-        SVGNode svgNode = ProfileVariables.claimChild(node, "", DECORATION_NODE_NAME, DecorationSVGNode.class, observer);
+        SVGNode svgNode = ProfileVariables.claimChild(node, "", DECORATION_NODE_NAME, DecorationSVGNode.class, observer); //$NON-NLS-1$
 
         svgNode.setZIndex( Integer.MAX_VALUE );
         svgNode.setTransform(getDecorationPosition(node)); 
@@ -135,12 +135,12 @@ public class IssueDecorationStyle extends StyleBase<IssueResult> {
 
     @Override
     protected void cleanupStyleForNode(INode node) {
-        ProfileVariables.denyChild(node, "", DECORATION_NODE_NAME);
+        ProfileVariables.denyChild(node, "", DECORATION_NODE_NAME); //$NON-NLS-1$
     }
 
     @Override
     public String toString() {
-        return "Issue decoration";
+        return "Issue decoration";  //$NON-NLS-1$
     }
     
     /**