*/
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 {
@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));
@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$
}
/**