X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.browsing.ui.swt%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fswt%2FNullImager.java;h=1970a3b648021ccecb0a72b766f1d3338b664015;hp=9a7da605c112514ee6fac3a6430be75a1d1af311;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/NullImager.java b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/NullImager.java index 9a7da605c..1970a3b64 100644 --- a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/NullImager.java +++ b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/NullImager.java @@ -1,30 +1,30 @@ -/******************************************************************************* - * Copyright (c) 2007, 2012 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.browsing.ui.swt; - -import org.simantics.browsing.ui.content.Imager; -import org.simantics.browsing.ui.content.ImagerFactory; - -/** - * A basic {@link ImagerFactory} that provides a constant set of images. The - * images are keyed by columns. This factory never updates images. - * - * @author Tuukka Lehtonen - */ -public class NullImager implements Imager { - - @Override - public Image getImage(String key) { - return null; - } - -} +/******************************************************************************* + * Copyright (c) 2007, 2012 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.browsing.ui.swt; + +import org.simantics.browsing.ui.content.Imager; +import org.simantics.browsing.ui.content.ImagerFactory; + +/** + * A basic {@link ImagerFactory} that provides a constant set of images. The + * images are keyed by columns. This factory never updates images. + * + * @author Tuukka Lehtonen + */ +public class NullImager implements Imager { + + @Override + public Image getImage(String key) { + return null; + } + +}