Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.util.jface.ui/src/org/eclipse/papyrus/emf/facet/util/jface/ui/internal/imageprovider/ImageProviderFactory.java')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.util.jface.ui/src/org/eclipse/papyrus/emf/facet/util/jface/ui/internal/imageprovider/ImageProviderFactory.java70
1 files changed, 35 insertions, 35 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.util.jface.ui/src/org/eclipse/papyrus/emf/facet/util/jface/ui/internal/imageprovider/ImageProviderFactory.java b/plugins/facet/org.eclipse.papyrus.emf.facet.util.jface.ui/src/org/eclipse/papyrus/emf/facet/util/jface/ui/internal/imageprovider/ImageProviderFactory.java
index 995f07c6277..9f5ba33fbf0 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.util.jface.ui/src/org/eclipse/papyrus/emf/facet/util/jface/ui/internal/imageprovider/ImageProviderFactory.java
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.util.jface.ui/src/org/eclipse/papyrus/emf/facet/util/jface/ui/internal/imageprovider/ImageProviderFactory.java
@@ -1,35 +1,35 @@
-/*******************************************************************************
- * Copyright (c) 2013 Soft-Maint.
- *
- * 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:
- * Thomas Cicognani (Soft-Maint) - Bug 424416 - Plug-in for JFace Utilities
- ******************************************************************************/
-package org.eclipse.papyrus.emf.facet.util.jface.ui.internal.imageprovider;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.papyrus.emf.facet.util.jface.ui.imageprovider.IImageProvider;
-import org.eclipse.papyrus.emf.facet.util.jface.ui.imageprovider.IImageProviderFactory;
-
-public class ImageProviderFactory implements IImageProviderFactory {
-
- private final Map<Plugin, IImageProvider> map = new HashMap<Plugin, IImageProvider>();
-
- @Override
- public IImageProvider createIImageProvider(final Plugin plugin) {
- IImageProvider result = this.map.get(plugin);
- if (result == null) {
- result = new ImageProvider(plugin);
- this.map.put(plugin, result);
- }
- return result;
- }
-
-}
+/*******************************************************************************
+ * Copyright (c) 2013 Soft-Maint.
+ *
+ * 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:
+ * Thomas Cicognani (Soft-Maint) - Bug 424416 - Plug-in for JFace Utilities
+ ******************************************************************************/
+package org.eclipse.papyrus.emf.facet.util.jface.ui.internal.imageprovider;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.eclipse.core.runtime.Plugin;
+import org.eclipse.papyrus.emf.facet.util.jface.ui.imageprovider.IImageProvider;
+import org.eclipse.papyrus.emf.facet.util.jface.ui.imageprovider.IImageProviderFactory;
+
+public class ImageProviderFactory implements IImageProviderFactory {
+
+ private final Map<Plugin, IImageProvider> map = new HashMap<Plugin, IImageProvider>();
+
+ @Override
+ public IImageProvider createIImageProvider(final Plugin plugin) {
+ IImageProvider result = this.map.get(plugin);
+ if (result == null) {
+ result = new ImageProvider(plugin);
+ this.map.put(plugin, result);
+ }
+ return result;
+ }
+
+}

Back to the top