| /** |
| * <copyright> |
| * Copyright (c) 2008, 2018 Open Canarias S.L. and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * Adolfo Sanchez-Barbudo Herrera - initial API and implementation |
| * </copyright> |
| * |
| * $Id: ImperativeOCLPlugin.java,v 1.1 2009/01/25 23:10:43 radvorak Exp $ |
| */ |
| package org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.util; |
| |
| import org.eclipse.emf.common.EMFPlugin; |
| import org.eclipse.emf.common.util.ResourceLocator; |
| |
| public class ImperativeOCLPlugin extends EMFPlugin { |
| |
| |
| /** |
| * The singleton instance of the plugin. |
| */ |
| public static final ImperativeOCLPlugin INSTANCE = new ImperativeOCLPlugin(); |
| |
| private static Implementation plugin; |
| |
| /** |
| * Creates the singleton instance. |
| */ |
| private ImperativeOCLPlugin() { |
| super(new ResourceLocator[] {}); |
| } |
| |
| |
| @Override |
| public ResourceLocator getPluginResourceLocator() { |
| return plugin; |
| } |
| |
| static public class Implementation extends EclipsePlugin { |
| |
| public Implementation() { |
| super(); |
| plugin = this; |
| } |
| } |
| } |