diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team')
3 files changed, 75 insertions, 51 deletions
diff --git a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/IRepositoryManager.java b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/IRepositoryManager.java index 13bae41ba8..f796460a9a 100644 --- a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/IRepositoryManager.java +++ b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/IRepositoryManager.java @@ -1,25 +1,29 @@ -/*
- * 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.team;
-
-import org.eclipse.net4j.util.container.IContainer;
-
-import org.eclipse.core.resources.IProject;
-
-/**
- * @author Eike Stepper
- */
-public interface IRepositoryManager extends IContainer<IRepositoryProject>
-{
- public static final IRepositoryManager INSTANCE = org.eclipse.emf.cdo.internal.team.RepositoryManager.INSTANCE;
-
- public IRepositoryProject getElement(IProject 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.team; + +import org.eclipse.net4j.util.container.IContainer; + +import org.eclipse.core.resources.IProject; + +/** + * Manages {@link org.eclipse.core.resources.IProject projects} that are mapped + * to CDO repositories by the CDO {@link org.eclipse.team.core.RepositoryProvider team provider}. + * + * @author Eike Stepper + * @apiviz.uses {@link IRepositoryProject} - - manages + */ +public interface IRepositoryManager extends IContainer<IRepositoryProject> +{ + public static final IRepositoryManager INSTANCE = org.eclipse.emf.cdo.internal.team.RepositoryManager.INSTANCE; + + public IRepositoryProject getElement(IProject project); +} diff --git a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/IRepositoryProject.java b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/IRepositoryProject.java index 5dae0cf11e..118b57d024 100644 --- a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/IRepositoryProject.java +++ b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/IRepositoryProject.java @@ -1,26 +1,29 @@ -/*
- * 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.team;
-
-import org.eclipse.emf.cdo.view.CDOView;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-
-/**
- * @author Eike Stepper
- */
-public interface IRepositoryProject extends IAdaptable
-{
- public IProject getProject();
-
- public CDOView getView();
-}
+/* + * 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.team; + +import org.eclipse.emf.cdo.view.CDOView; + +import org.eclipse.core.resources.IProject; +import org.eclipse.core.runtime.IAdaptable; + +/** + * Represents a {@link org.eclipse.core.resources.IProject project} that is mapped + * to a CDO repository by the CDO {@link org.eclipse.team.core.RepositoryProvider team provider}. + * + * @author Eike Stepper + */ +public interface IRepositoryProject extends IAdaptable +{ + public IProject getProject(); + + public CDOView getView(); +} diff --git a/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/package-info.java b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/package-info.java new file mode 100644 index 0000000000..8af8bf9734 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.team/src/org/eclipse/emf/cdo/team/package-info.java @@ -0,0 +1,17 @@ +/* + * 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 + */ + +/** + * Concepts to represent and manage {@link org.eclipse.core.resources.IProject projects} that are mapped + * to CDO repositories by the CDO {@link org.eclipse.team.core.RepositoryProvider team provider} + */ +package org.eclipse.emf.cdo.team; + |