X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2Fdiagram%2Fstyle%2FIssueDecorationStyle.java;fp=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2Fdiagram%2Fstyle%2FIssueDecorationStyle.java;h=d473ff46df044a4db03b1bb694fb23e5bbf3ca3c;hb=47269fe0acb894f346810417d950a1ab59cdc0ea;hp=0200af96e520bc48835859c163f73145092b1358;hpb=11309f6516278203264b680235cbbe1dc2bde98e;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/IssueDecorationStyle.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/IssueDecorationStyle.java index 0200af96e..d473ff46d 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/IssueDecorationStyle.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/IssueDecorationStyle.java @@ -48,7 +48,7 @@ import org.simantics.utils.datastructures.map.Tuple; */ public class IssueDecorationStyle extends StyleBase { - private static final String DECORATION_NODE_NAME = "issueDecorations"; + private static final String DECORATION_NODE_NAME = "issueDecorations"; //$NON-NLS-1$ private List getContexts(ReadGraph graph, Resource element) throws DatabaseException { @@ -93,11 +93,11 @@ public class IssueDecorationStyle extends StyleBase { @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 { @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$ } /**