Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/content/java/JavaJpaFileContentProvider.java')
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/content/java/JavaJpaFileContentProvider.java46
1 files changed, 0 insertions, 46 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/content/java/JavaJpaFileContentProvider.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/content/java/JavaJpaFileContentProvider.java
deleted file mode 100644
index a50fe76ecc..0000000000
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/content/java/JavaJpaFileContentProvider.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 Oracle. 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:
- * Oracle - initial API and implementation
- ******************************************************************************/
-package org.eclipse.jpt.core.internal.content.java;
-
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jpt.core.internal.IJpaFile;
-import org.eclipse.jpt.core.internal.IJpaFileContentProvider;
-import org.eclipse.jpt.core.internal.IJpaRootContentNode;
-
-public class JavaJpaFileContentProvider implements IJpaFileContentProvider
-{
- //singleton
- private static final JavaJpaFileContentProvider INSTANCE = new JavaJpaFileContentProvider();
-
- /**
- * Return the singleton.
- */
- public static IJpaFileContentProvider instance() {
- return INSTANCE;
- }
-
- /**
- * Restrict access
- */
- private JavaJpaFileContentProvider() {
- super();
- }
-
- public IJpaRootContentNode buildRootContent(IJpaFile jpaFile) {
- JpaCompilationUnit content = JpaJavaFactory.eINSTANCE.createJpaCompilationUnit();
- jpaFile.setContent(content);
- content.setFile(jpaFile.getFile());
- return content;
- }
-
- public String contentType() {
- return JavaCore.JAVA_SOURCE_CONTENT_TYPE;
- }
-}

Back to the top