Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/PluginResourceImpl.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/PluginResourceImpl.java152
1 files changed, 76 insertions, 76 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/PluginResourceImpl.java b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/PluginResourceImpl.java
index 398db2ecd1..c35779edae 100644
--- a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/PluginResourceImpl.java
+++ b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/PluginResourceImpl.java
@@ -1,76 +1,76 @@
-/*
- * 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.releng.doc.article.impl;
-
-import org.eclipse.emf.cdo.releng.doc.article.ArticlePackage;
-import org.eclipse.emf.cdo.releng.doc.article.PluginResource;
-import org.eclipse.emf.cdo.releng.doc.article.StructuralElement;
-import org.eclipse.emf.cdo.releng.doc.article.impl.DocumentationImpl.TocWriter;
-import org.eclipse.emf.cdo.releng.doc.article.util.ArticleUtil;
-
-import org.eclipse.emf.ecore.EClass;
-
-import com.sun.javadoc.ClassDoc;
-
-import java.io.File;
-import java.io.IOException;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Plugin Resource</b></em>'. <!-- end-user-doc
- * -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class PluginResourceImpl extends ExternalArticleImpl implements PluginResource
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected PluginResourceImpl()
- {
- super();
- }
-
- public PluginResourceImpl(StructuralElement parent, ClassDoc classDoc, String url)
- {
- super(parent, classDoc, url);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return ArticlePackage.Literals.PLUGIN_RESOURCE;
- }
-
- @Override
- public String linkFrom(StructuralElement source)
- {
- File sourceFile = source.getOutputFile();
- File targetFile = new File(getDocumentation().getProjectFolder(), getUrl());
- return ArticleUtil.createLink(sourceFile, targetFile);
- }
-
- @Override
- protected void generateTocEntry(TocWriter writer) throws IOException
- {
- writer.writeSingle(getTitle(), url, null);
- }
-
-} // PluginResourceImpl
+/*
+ * 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.releng.doc.article.impl;
+
+import org.eclipse.emf.cdo.releng.doc.article.ArticlePackage;
+import org.eclipse.emf.cdo.releng.doc.article.PluginResource;
+import org.eclipse.emf.cdo.releng.doc.article.StructuralElement;
+import org.eclipse.emf.cdo.releng.doc.article.impl.DocumentationImpl.TocWriter;
+import org.eclipse.emf.cdo.releng.doc.article.util.ArticleUtil;
+
+import org.eclipse.emf.ecore.EClass;
+
+import com.sun.javadoc.ClassDoc;
+
+import java.io.File;
+import java.io.IOException;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Plugin Resource</b></em>'. <!-- end-user-doc
+ * -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class PluginResourceImpl extends ExternalArticleImpl implements PluginResource
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected PluginResourceImpl()
+ {
+ super();
+ }
+
+ public PluginResourceImpl(StructuralElement parent, ClassDoc classDoc, String url)
+ {
+ super(parent, classDoc, url);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ArticlePackage.Literals.PLUGIN_RESOURCE;
+ }
+
+ @Override
+ public String linkFrom(StructuralElement source)
+ {
+ File sourceFile = source.getOutputFile();
+ File targetFile = new File(getDocumentation().getProjectFolder(), getUrl());
+ return ArticleUtil.createLink(sourceFile, targetFile);
+ }
+
+ @Override
+ protected void generateTocEntry(TocWriter writer) throws IOException
+ {
+ writer.writeSingle(getTitle(), url, null);
+ }
+
+} // PluginResourceImpl

Back to the top