diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf/src/org/eclipse/emf/cdo/dawn/codegen')
2 files changed, 70 insertions, 70 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/gmf/Activator.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/gmf/Activator.java index 1267305c12..cdb697359a 100644 --- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/gmf/Activator.java +++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/gmf/Activator.java @@ -1,44 +1,44 @@ -/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * 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:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf;
-
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-public class Activator implements BundleActivator
-{
-
- private static BundleContext context;
-
- static BundleContext getContext()
- {
- return context;
- }
-
- /*
- * (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext bundleContext) throws Exception
- {
- Activator.context = bundleContext;
- }
-
- /*
- * (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext bundleContext) throws Exception
- {
- Activator.context = null;
- }
-
-}
+/* + * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * 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: + * Martin Fluegge - initial API and implementation + */ +package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class Activator implements BundleActivator +{ + + private static BundleContext context; + + static BundleContext getContext() + { + return context; + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext bundleContext) throws Exception + { + Activator.context = bundleContext; + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext bundleContext) throws Exception + { + Activator.context = null; + } + +} diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/gmf/util/DawnGMFWorkflowUtil.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/gmf/util/DawnGMFWorkflowUtil.java index e76738f5d3..a9f4051aba 100644 --- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/gmf/util/DawnGMFWorkflowUtil.java +++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/gmf/util/DawnGMFWorkflowUtil.java @@ -1,26 +1,26 @@ -/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * 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:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf.util;
-
-import org.eclipse.emf.cdo.dawn.codegen.util.DawnWorkflowUtil;
-
-import java.net.URL;
-
-/**
- * @author Martin Fluegge
- */
-public class DawnGMFWorkflowUtil implements DawnWorkflowUtil
-{
- public URL getWorkFlow()
- {
- return this.getClass().getClassLoader().getResource("/workflow/gmfFragmentGenerator.mwe");
- }
-}
+/* + * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * 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: + * Martin Fluegge - initial API and implementation + */ +package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf.util; + +import org.eclipse.emf.cdo.dawn.codegen.util.DawnWorkflowUtil; + +import java.net.URL; + +/** + * @author Martin Fluegge + */ +public class DawnGMFWorkflowUtil implements DawnWorkflowUtil +{ + public URL getWorkFlow() + { + return this.getClass().getClassLoader().getResource("/workflow/gmfFragmentGenerator.mwe"); + } +} |