import org.simantics.utils.threads.ThreadUtils;
import org.simantics.utils.threads.logger.ITask;
import org.simantics.utils.threads.logger.ThreadLogger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* @author Toni Kalajainen <toni.kalajainen@vtt.fi>
*/
public class GalleryViewer extends ContentViewer {
+ private static final Logger LOGGER = LoggerFactory.getLogger(GalleryViewer.class);
/**
* A hint key for storing a GalleryViewer within the hint stack of
* {@link GalleryViewer}'s {@link ICanvasContext}.
*/
void refreshElementSizes() {
if (awtComponent == null) {
- System.err.println("GalleryViewer.refreshElementSizes: awtComponent is null");
+ LOGGER.error("GalleryViewer.refreshElementSizes: awtComponent is null");
return;
}