import org.simantics.db.Resource;
import org.simantics.db.exception.DatabaseException;
import org.simantics.viewpoint.ontology.ViewpointResource;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* Constant label decoration rule decorates the label in a fixed way.
*/
public class ConstantLabelDecorationRule extends AbstractLabelDecorator implements LabelDecorationRule {
+ private static final Logger LOGGER = LoggerFactory.getLogger(ConstantLabelDecorationRule.class);
/**
* For headless instances where no Display is available
*/
this.style |= SWT.ITALIC;
break;
default:
- System.err.println("Invalid character '" + c + "' in style string. Only B and I recognized.");
+ LOGGER.info("Invalid character '" + c + "' in style string. Only B and I recognized.");
}
}