1 /*******************************************************************************
2 * Copyright (c) 2007, 2010 Association for Decentralized Information Management
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.utils.ui.internal;
14 import org.eclipse.ui.plugin.AbstractUIPlugin;
15 import org.osgi.framework.BundleContext;
16 import org.simantics.utils.ui.ErrorLogger;
17 import org.simantics.utils.ui.gfx.ImageCache;
21 * @author Tuukka Lehtonen
23 @SuppressWarnings("deprecation")
24 public class Activator extends AbstractUIPlugin {
27 public static final String PLUGIN_ID = "org.simantics.utils.ui";
29 private static Activator instance;
32 private ErrorLogger errorLogger = new ErrorLogger(this);
40 public static Activator getDefault() {
44 public ErrorLogger getErrorLogger() {
49 public void stop(BundleContext context) throws Exception {
51 ImageCache.getInstance().dispose();