diff options
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/src/org/eclipse/papyrus/emf/facet/custom/core/internal/CustomizationCatalogManagerFactory.java')
-rw-r--r-- | plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/src/org/eclipse/papyrus/emf/facet/custom/core/internal/CustomizationCatalogManagerFactory.java | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/src/org/eclipse/papyrus/emf/facet/custom/core/internal/CustomizationCatalogManagerFactory.java b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/src/org/eclipse/papyrus/emf/facet/custom/core/internal/CustomizationCatalogManagerFactory.java index 6dd400b8e90..9d4f41c9633 100644 --- a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/src/org/eclipse/papyrus/emf/facet/custom/core/internal/CustomizationCatalogManagerFactory.java +++ b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/src/org/eclipse/papyrus/emf/facet/custom/core/internal/CustomizationCatalogManagerFactory.java @@ -1,29 +1,29 @@ -/**
- * Copyright (c) 2012 Mia-Software.
- *
- * 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:
- * Gregoire Dupe (Mia-Software) - Bug 369987 - [Restructuring][Table] Switch to the new customization and facet framework
- */
-package org.eclipse.papyrus.emf.facet.custom.core.internal;
-
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.papyrus.emf.facet.custom.core.ICustomizationCatalogManager;
-import org.eclipse.papyrus.emf.facet.util.emf.core.ICatalogSetManagerFactory;
-
-public class CustomizationCatalogManagerFactory implements
- org.eclipse.papyrus.emf.facet.custom.core.ICustomizationCatalogManagerFactory {
-
- public ICustomizationCatalogManager getOrCreateCustomizationCatalogManager(
- final ResourceSet resourceSet) {
- return ICatalogSetManagerFactory.DEFAULT
- .createICatalogSetManager(resourceSet)
- .getCatalogManagerByType(ICustomizationCatalogManager.class)
- .get(0);
- }
-
-}
+/** + * Copyright (c) 2012 Mia-Software. + * + * 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: + * Gregoire Dupe (Mia-Software) - Bug 369987 - [Restructuring][Table] Switch to the new customization and facet framework + */ +package org.eclipse.papyrus.emf.facet.custom.core.internal; + +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.papyrus.emf.facet.custom.core.ICustomizationCatalogManager; +import org.eclipse.papyrus.emf.facet.util.emf.core.ICatalogSetManagerFactory; + +public class CustomizationCatalogManagerFactory implements + org.eclipse.papyrus.emf.facet.custom.core.ICustomizationCatalogManagerFactory { + + public ICustomizationCatalogManager getOrCreateCustomizationCatalogManager( + final ResourceSet resourceSet) { + return ICatalogSetManagerFactory.DEFAULT + .createICatalogSetManager(resourceSet) + .getCatalogManagerByType(ICustomizationCatalogManager.class) + .get(0); + } + +} |