Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-07-19 08:22:04 +0000
committerEike Stepper2012-07-19 08:22:04 +0000
commit1460904fd3c193ffaf809913b2983a400fce9d94 (patch)
tree72f3a17b75fedba3ae1060df1d32c9c7889be954 /plugins/org.eclipse.emf.cdo.team
parent5f360965ae87478e0681899bf310a210cafc2c44 (diff)
downloadcdo-1460904fd3c193ffaf809913b2983a400fce9d94.tar.gz
cdo-1460904fd3c193ffaf809913b2983a400fce9d94.tar.xz
cdo-1460904fd3c193ffaf809913b2983a400fce9d94.zip
Fix line endings in master (dos2unix)
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.team')
-rw-r--r--plugins/org.eclipse.emf.cdo.team/.settings/org.eclipse.core.resources.prefs6
-rw-r--r--plugins/org.eclipse.emf.cdo.team/copyright.txt14
-rw-r--r--plugins/org.eclipse.emf.cdo.team/plugin.properties22
-rw-r--r--plugins/org.eclipse.emf.cdo.team/plugin.xml52
-rw-r--r--plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryManager.java314
-rw-r--r--plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryTeamProvider.java204
-rw-r--r--plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryTeamProviderType.java46
-rw-r--r--plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/bundle/OM.java122
8 files changed, 390 insertions, 390 deletions
diff --git a/plugins/org.eclipse.emf.cdo.team/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.emf.cdo.team/.settings/org.eclipse.core.resources.prefs
index 8f9d0af35d..9c30c51479 100644
--- a/plugins/org.eclipse.emf.cdo.team/.settings/org.eclipse.core.resources.prefs
+++ b/plugins/org.eclipse.emf.cdo.team/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Mon Jul 04 13:02:39 CEST 2011
-eclipse.preferences.version=1
-encoding//model/org.eclipse.emf.cdo.defs.ecorediag=UTF-8
+#Mon Jul 04 13:02:39 CEST 2011
+eclipse.preferences.version=1
+encoding//model/org.eclipse.emf.cdo.defs.ecorediag=UTF-8
diff --git a/plugins/org.eclipse.emf.cdo.team/copyright.txt b/plugins/org.eclipse.emf.cdo.team/copyright.txt
index 8f6328980e..0a0f67e6d7 100644
--- a/plugins/org.eclipse.emf.cdo.team/copyright.txt
+++ b/plugins/org.eclipse.emf.cdo.team/copyright.txt
@@ -1,8 +1,8 @@
-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:
+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:
Eike Stepper - initial API and implementation \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.team/plugin.properties b/plugins/org.eclipse.emf.cdo.team/plugin.properties
index 6eefa04ed3..2e39142969 100644
--- a/plugins/org.eclipse.emf.cdo.team/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.team/plugin.properties
@@ -1,11 +1,11 @@
-# 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:
-# Eike Stepper - initial API and implementation
-
-pluginName = CDO Model Repository Client Team Support
-providerName = Eclipse Modeling Project
+# 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:
+# Eike Stepper - initial API and implementation
+
+pluginName = CDO Model Repository Client Team Support
+providerName = Eclipse Modeling Project
diff --git a/plugins/org.eclipse.emf.cdo.team/plugin.xml b/plugins/org.eclipse.emf.cdo.team/plugin.xml
index 0f5be64ce9..573966843e 100644
--- a/plugins/org.eclipse.emf.cdo.team/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.team/plugin.xml
@@ -1,26 +1,26 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<!--
- 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:
- Eike Stepper - initial API and implementation
--->
-
-<plugin>
- <extension
- point="org.eclipse.team.core.repository">
- <repository
- class="org.eclipse.emf.cdo.internal.team.RepositoryTeamProvider"
- id="org.eclipse.emf.cdo.team.TeamProvider"
- metaFilePaths=".cdo"
- typeClass="org.eclipse.emf.cdo.internal.team.RepositoryTeamProviderType">
- </repository>
- </extension>
-
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<!--
+ 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:
+ Eike Stepper - initial API and implementation
+-->
+
+<plugin>
+ <extension
+ point="org.eclipse.team.core.repository">
+ <repository
+ class="org.eclipse.emf.cdo.internal.team.RepositoryTeamProvider"
+ id="org.eclipse.emf.cdo.team.TeamProvider"
+ metaFilePaths=".cdo"
+ typeClass="org.eclipse.emf.cdo.internal.team.RepositoryTeamProviderType">
+ </repository>
+ </extension>
+
+
+</plugin>
diff --git a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryManager.java b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryManager.java
index 8336d01e93..c235bfce1c 100644
--- a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryManager.java
+++ b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryManager.java
@@ -1,157 +1,157 @@
-/*
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.internal.team;
-
-import org.eclipse.emf.cdo.internal.team.bundle.OM;
-import org.eclipse.emf.cdo.team.IRepositoryManager;
-import org.eclipse.emf.cdo.team.IRepositoryProject;
-
-import org.eclipse.net4j.util.container.Container;
-import org.eclipse.net4j.util.om.trace.ContextTracer;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResourceChangeEvent;
-import org.eclipse.core.resources.IResourceChangeListener;
-import org.eclipse.core.resources.IResourceDelta;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * @author Eike Stepper
- */
-public class RepositoryManager extends Container<IRepositoryProject> implements IRepositoryManager,
- IResourceChangeListener
-{
- public static final RepositoryManager INSTANCE = new RepositoryManager();
-
- private static final ContextTracer TRACER = new ContextTracer(OM.DEBUG, RepositoryManager.class);
-
- private Map<IProject, RepositoryProject> map = new HashMap<IProject, RepositoryProject>();
-
- public RepositoryManager()
- {
- }
-
- public IRepositoryProject addElement(IProject project)
- {
- RepositoryProject element = new RepositoryProject(project);
- synchronized (map)
- {
- map.put(project, element);
- }
-
- if (TRACER.isEnabled())
- {
- TRACER.format("Added repository for project {0}", project.getName()); //$NON-NLS-1$
- }
-
- fireElementAddedEvent(element);
- return element;
- }
-
- public void removeElement(IProject project)
- {
- RepositoryProject element = null;
- synchronized (map)
- {
- element = map.remove(project);
- }
-
- if (element != null)
- {
- if (TRACER.isEnabled())
- {
- TRACER.format("Removed repository for project {0}", project.getName()); //$NON-NLS-1$
- }
-
- fireElementRemovedEvent(element);
- element.dispose();
- }
- }
-
- public RepositoryProject getElement(IProject project)
- {
- synchronized (map)
- {
- return map.get(project);
- }
- }
-
- public RepositoryProject[] getElements()
- {
- synchronized (map)
- {
- return map.values().toArray(new RepositoryProject[map.size()]);
- }
- }
-
- @Override
- public boolean isEmpty()
- {
- synchronized (map)
- {
- return map.isEmpty();
- }
- }
-
- public void resourceChanged(IResourceChangeEvent event)
- {
- IResourceDelta delta = event.getDelta();
- if (delta != null)
- {
- for (IResourceDelta child : delta.getAffectedChildren())
- {
- if (child instanceof IProject)
- {
- IProject project = (IProject)child;
- switch (delta.getKind())
- {
- case IResourceDelta.OPEN:
- resourceChangedOpen(project);
- break;
- }
- }
- }
- }
- }
-
- private void resourceChangedOpen(IProject project)
- {
- if (project.isOpen())
- {
- if (RepositoryTeamProvider.isMapped(project))
- {
- addElement(project);
- }
- }
- else
- {
- removeElement(project);
- }
- }
-
- @Override
- protected void doActivate() throws Exception
- {
- super.doActivate();
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- for (IProject project : root.getProjects())
- {
- if (RepositoryTeamProvider.isMapped(project))
- {
- addElement(project);
- }
- }
- }
-}
+/*
+ * 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:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.internal.team;
+
+import org.eclipse.emf.cdo.internal.team.bundle.OM;
+import org.eclipse.emf.cdo.team.IRepositoryManager;
+import org.eclipse.emf.cdo.team.IRepositoryProject;
+
+import org.eclipse.net4j.util.container.Container;
+import org.eclipse.net4j.util.om.trace.ContextTracer;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResourceChangeEvent;
+import org.eclipse.core.resources.IResourceChangeListener;
+import org.eclipse.core.resources.IResourceDelta;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * @author Eike Stepper
+ */
+public class RepositoryManager extends Container<IRepositoryProject> implements IRepositoryManager,
+ IResourceChangeListener
+{
+ public static final RepositoryManager INSTANCE = new RepositoryManager();
+
+ private static final ContextTracer TRACER = new ContextTracer(OM.DEBUG, RepositoryManager.class);
+
+ private Map<IProject, RepositoryProject> map = new HashMap<IProject, RepositoryProject>();
+
+ public RepositoryManager()
+ {
+ }
+
+ public IRepositoryProject addElement(IProject project)
+ {
+ RepositoryProject element = new RepositoryProject(project);
+ synchronized (map)
+ {
+ map.put(project, element);
+ }
+
+ if (TRACER.isEnabled())
+ {
+ TRACER.format("Added repository for project {0}", project.getName()); //$NON-NLS-1$
+ }
+
+ fireElementAddedEvent(element);
+ return element;
+ }
+
+ public void removeElement(IProject project)
+ {
+ RepositoryProject element = null;
+ synchronized (map)
+ {
+ element = map.remove(project);
+ }
+
+ if (element != null)
+ {
+ if (TRACER.isEnabled())
+ {
+ TRACER.format("Removed repository for project {0}", project.getName()); //$NON-NLS-1$
+ }
+
+ fireElementRemovedEvent(element);
+ element.dispose();
+ }
+ }
+
+ public RepositoryProject getElement(IProject project)
+ {
+ synchronized (map)
+ {
+ return map.get(project);
+ }
+ }
+
+ public RepositoryProject[] getElements()
+ {
+ synchronized (map)
+ {
+ return map.values().toArray(new RepositoryProject[map.size()]);
+ }
+ }
+
+ @Override
+ public boolean isEmpty()
+ {
+ synchronized (map)
+ {
+ return map.isEmpty();
+ }
+ }
+
+ public void resourceChanged(IResourceChangeEvent event)
+ {
+ IResourceDelta delta = event.getDelta();
+ if (delta != null)
+ {
+ for (IResourceDelta child : delta.getAffectedChildren())
+ {
+ if (child instanceof IProject)
+ {
+ IProject project = (IProject)child;
+ switch (delta.getKind())
+ {
+ case IResourceDelta.OPEN:
+ resourceChangedOpen(project);
+ break;
+ }
+ }
+ }
+ }
+ }
+
+ private void resourceChangedOpen(IProject project)
+ {
+ if (project.isOpen())
+ {
+ if (RepositoryTeamProvider.isMapped(project))
+ {
+ addElement(project);
+ }
+ }
+ else
+ {
+ removeElement(project);
+ }
+ }
+
+ @Override
+ protected void doActivate() throws Exception
+ {
+ super.doActivate();
+ IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
+ for (IProject project : root.getProjects())
+ {
+ if (RepositoryTeamProvider.isMapped(project))
+ {
+ addElement(project);
+ }
+ }
+ }
+}
diff --git a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryTeamProvider.java b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryTeamProvider.java
index 290ceef8d0..582e419869 100644
--- a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryTeamProvider.java
+++ b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryTeamProvider.java
@@ -1,102 +1,102 @@
-/*
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.internal.team;
-
-import org.eclipse.emf.cdo.internal.team.bundle.OM;
-
-import org.eclipse.net4j.util.WrappedException;
-import org.eclipse.net4j.util.om.trace.ContextTracer;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.QualifiedName;
-import org.eclipse.team.core.RepositoryProvider;
-import org.eclipse.team.core.TeamException;
-
-/**
- * @author Eike Stepper
- */
-public class RepositoryTeamProvider extends RepositoryProvider
-{
- public static final String PROVIDER_ID = "org.eclipse.emf.cdo.team.TeamProvider"; //$NON-NLS-1$
-
- private static final QualifiedName SESSION_DESCRIPTION_KEY = new QualifiedName(OM.BUNDLE_ID, "sessionDescription"); //$NON-NLS-1$
-
- private static final ContextTracer TRACER = new ContextTracer(OM.DEBUG, RepositoryTeamProvider.class);
-
- public RepositoryTeamProvider()
- {
- }
-
- @Override
- public String getID()
- {
- return PROVIDER_ID;
- }
-
- @Override
- public void configureProject() throws CoreException
- {
- if (TRACER.isEnabled())
- {
- TRACER.format("Configuring project {0}", getProject()); //$NON-NLS-1$
- }
- }
-
- public void deconfigure() throws CoreException
- {
- if (TRACER.isEnabled())
- {
- TRACER.format("Deconfiguring project {0}", getProject()); //$NON-NLS-1$
- }
- }
-
- public static String getSessionDescription(IProject project)
- {
- try
- {
- return project.getPersistentProperty(SESSION_DESCRIPTION_KEY);
- }
- catch (Exception ex)
- {
- throw WrappedException.wrap(ex);
- }
- }
-
- public static void setSessionDescription(IProject project, String value)
- {
- try
- {
- project.setPersistentProperty(SESSION_DESCRIPTION_KEY, value);
- }
- catch (Exception ex)
- {
- throw WrappedException.wrap(ex);
- }
- }
-
- public static boolean isMapped(IProject project)
- {
- return RepositoryProvider.getProvider(project, PROVIDER_ID) != null;
- }
-
- public static void mapProject(IProject project, String sessionDescription) throws TeamException
- {
- map(project, PROVIDER_ID);
- setSessionDescription(project, sessionDescription);
- }
-
- public static void unmapProject(IProject project) throws TeamException
- {
- unmap(project);
- setSessionDescription(project, 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:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.internal.team;
+
+import org.eclipse.emf.cdo.internal.team.bundle.OM;
+
+import org.eclipse.net4j.util.WrappedException;
+import org.eclipse.net4j.util.om.trace.ContextTracer;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.QualifiedName;
+import org.eclipse.team.core.RepositoryProvider;
+import org.eclipse.team.core.TeamException;
+
+/**
+ * @author Eike Stepper
+ */
+public class RepositoryTeamProvider extends RepositoryProvider
+{
+ public static final String PROVIDER_ID = "org.eclipse.emf.cdo.team.TeamProvider"; //$NON-NLS-1$
+
+ private static final QualifiedName SESSION_DESCRIPTION_KEY = new QualifiedName(OM.BUNDLE_ID, "sessionDescription"); //$NON-NLS-1$
+
+ private static final ContextTracer TRACER = new ContextTracer(OM.DEBUG, RepositoryTeamProvider.class);
+
+ public RepositoryTeamProvider()
+ {
+ }
+
+ @Override
+ public String getID()
+ {
+ return PROVIDER_ID;
+ }
+
+ @Override
+ public void configureProject() throws CoreException
+ {
+ if (TRACER.isEnabled())
+ {
+ TRACER.format("Configuring project {0}", getProject()); //$NON-NLS-1$
+ }
+ }
+
+ public void deconfigure() throws CoreException
+ {
+ if (TRACER.isEnabled())
+ {
+ TRACER.format("Deconfiguring project {0}", getProject()); //$NON-NLS-1$
+ }
+ }
+
+ public static String getSessionDescription(IProject project)
+ {
+ try
+ {
+ return project.getPersistentProperty(SESSION_DESCRIPTION_KEY);
+ }
+ catch (Exception ex)
+ {
+ throw WrappedException.wrap(ex);
+ }
+ }
+
+ public static void setSessionDescription(IProject project, String value)
+ {
+ try
+ {
+ project.setPersistentProperty(SESSION_DESCRIPTION_KEY, value);
+ }
+ catch (Exception ex)
+ {
+ throw WrappedException.wrap(ex);
+ }
+ }
+
+ public static boolean isMapped(IProject project)
+ {
+ return RepositoryProvider.getProvider(project, PROVIDER_ID) != null;
+ }
+
+ public static void mapProject(IProject project, String sessionDescription) throws TeamException
+ {
+ map(project, PROVIDER_ID);
+ setSessionDescription(project, sessionDescription);
+ }
+
+ public static void unmapProject(IProject project) throws TeamException
+ {
+ unmap(project);
+ setSessionDescription(project, null);
+ }
+}
diff --git a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryTeamProviderType.java b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryTeamProviderType.java
index bdc6355e0e..03bdd1d73e 100644
--- a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryTeamProviderType.java
+++ b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/RepositoryTeamProviderType.java
@@ -1,23 +1,23 @@
-/*
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.internal.team;
-
-import org.eclipse.team.core.RepositoryProviderType;
-
-/**
- * @author Eike Stepper
- */
-public class RepositoryTeamProviderType extends RepositoryProviderType
-{
- public RepositoryTeamProviderType()
- {
- }
-}
+/*
+ * 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:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.internal.team;
+
+import org.eclipse.team.core.RepositoryProviderType;
+
+/**
+ * @author Eike Stepper
+ */
+public class RepositoryTeamProviderType extends RepositoryProviderType
+{
+ public RepositoryTeamProviderType()
+ {
+ }
+}
diff --git a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/bundle/OM.java b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/bundle/OM.java
index 72dbe95e7a..ad8364d8e4 100644
--- a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/bundle/OM.java
+++ b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/internal/team/bundle/OM.java
@@ -1,61 +1,61 @@
-/*
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.internal.team.bundle;
-
-import org.eclipse.emf.cdo.internal.team.RepositoryManager;
-
-import org.eclipse.net4j.util.lifecycle.LifecycleUtil;
-import org.eclipse.net4j.util.om.OMBundle;
-import org.eclipse.net4j.util.om.OMPlatform;
-import org.eclipse.net4j.util.om.OSGiActivator;
-import org.eclipse.net4j.util.om.log.OMLogger;
-import org.eclipse.net4j.util.om.trace.OMTracer;
-
-/**
- * The <em>Operations & Maintenance</em> class of this bundle.
- *
- * @author Eike Stepper
- */
-public abstract class OM
-{
- public static final String BUNDLE_ID = "org.eclipse.emf.cdo.team"; //$NON-NLS-1$
-
- public static final OMBundle BUNDLE = OMPlatform.INSTANCE.bundle(BUNDLE_ID, OM.class);
-
- public static final OMLogger LOG = BUNDLE.logger();
-
- public static final OMTracer DEBUG = BUNDLE.tracer("debug"); //$NON-NLS-1$
-
- /**
- * @author Eike Stepper
- */
- public static final class Activator extends OSGiActivator
- {
- public Activator()
- {
- super(BUNDLE);
- }
-
- @Override
- protected void doStart() throws Exception
- {
- super.doStart();
- RepositoryManager.INSTANCE.activate();
- }
-
- @Override
- protected void doStop() throws Exception
- {
- LifecycleUtil.deactivate(RepositoryManager.INSTANCE, OMLogger.Level.WARN);
- super.doStop();
- }
- }
-}
+/*
+ * 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:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.internal.team.bundle;
+
+import org.eclipse.emf.cdo.internal.team.RepositoryManager;
+
+import org.eclipse.net4j.util.lifecycle.LifecycleUtil;
+import org.eclipse.net4j.util.om.OMBundle;
+import org.eclipse.net4j.util.om.OMPlatform;
+import org.eclipse.net4j.util.om.OSGiActivator;
+import org.eclipse.net4j.util.om.log.OMLogger;
+import org.eclipse.net4j.util.om.trace.OMTracer;
+
+/**
+ * The <em>Operations & Maintenance</em> class of this bundle.
+ *
+ * @author Eike Stepper
+ */
+public abstract class OM
+{
+ public static final String BUNDLE_ID = "org.eclipse.emf.cdo.team"; //$NON-NLS-1$
+
+ public static final OMBundle BUNDLE = OMPlatform.INSTANCE.bundle(BUNDLE_ID, OM.class);
+
+ public static final OMLogger LOG = BUNDLE.logger();
+
+ public static final OMTracer DEBUG = BUNDLE.tracer("debug"); //$NON-NLS-1$
+
+ /**
+ * @author Eike Stepper
+ */
+ public static final class Activator extends OSGiActivator
+ {
+ public Activator()
+ {
+ super(BUNDLE);
+ }
+
+ @Override
+ protected void doStart() throws Exception
+ {
+ super.doStart();
+ RepositoryManager.INSTANCE.activate();
+ }
+
+ @Override
+ protected void doStop() throws Exception
+ {
+ LifecycleUtil.deactivate(RepositoryManager.INSTANCE, OMLogger.Level.WARN);
+ super.doStop();
+ }
+ }
+}

Back to the top