*/
public class DocumentDecorationStyle extends StyleBase<DocumentResult> {
- private static final String DECORATION_NODE_NAME = "documentDecorations";
+ private static final String DECORATION_NODE_NAME = "documentDecorations"; //$NON-NLS-1$
private Set<Resource> getContexts(ReadGraph graph, Resource element) throws DatabaseException {
@Override
public void applyStyleForNode(EvaluationContext observer, INode node, DocumentResult 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$
Rectangle2D bounds = NodeUtil.getLocalBounds(node, Decoration.class);
@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 "Document decoration";
+ return "Document decoration"; //$NON-NLS-1$
}
}