X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.browsing.ui.swt%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fswt%2FProviderImageFactory.java;fp=bundles%2Forg.simantics.browsing.ui.swt%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fswt%2FProviderImageFactory.java;h=6af14d8df437c299600855191ae676e62469ba5e;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=35bd900c68a3242ba4aa98d675c106060cf1150f;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/ProviderImageFactory.java b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/ProviderImageFactory.java index 35bd900c6..6af14d8df 100644 --- a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/ProviderImageFactory.java +++ b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/ProviderImageFactory.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.eclipse.swt.graphics.Image; -import org.simantics.browsing.ui.content.ImagerFactory; -import org.simantics.utils.datastructures.cache.IMapProvider; - -/** - * A basic {@link ImagerFactory} that uses an {@link IMapProvider} to get the - * actual {@link Image}s based on column keys. - * - * @author Tuukka Lehtonen - */ -public class ProviderImageFactory extends ConstantImagerFactory { - - public ProviderImageFactory(IMapProvider provider) { - super(new ProviderImager(provider)); - } - -} +/******************************************************************************* + * 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.eclipse.swt.graphics.Image; +import org.simantics.browsing.ui.content.ImagerFactory; +import org.simantics.utils.datastructures.cache.IMapProvider; + +/** + * A basic {@link ImagerFactory} that uses an {@link IMapProvider} to get the + * actual {@link Image}s based on column keys. + * + * @author Tuukka Lehtonen + */ +public class ProviderImageFactory extends ConstantImagerFactory { + + public ProviderImageFactory(IMapProvider provider) { + super(new ProviderImager(provider)); + } + +}