Add new plug-in org.eclipse.core.doc.
ESF Core Documentation plug-in
Change-Id: I5d8217710b73d968d2197e45ecf8eb24d95884ee
diff --git a/core/org.polarsys.esf.core.doc/.classpath b/core/org.polarsys.esf.core.doc/.classpath
new file mode 100644
index 0000000..d97031b
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="output" path="target/classes/"/>
+</classpath>
diff --git a/core/org.polarsys.esf.core.doc/.project b/core/org.polarsys.esf.core.doc/.project
new file mode 100644
index 0000000..ff5eaad
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.polarsys.esf.core.doc</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/core/org.polarsys.esf.core.doc/.settings/org.eclipse.jdt.core.prefs b/core/org.polarsys.esf.core.doc/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..f42de36
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/core/org.polarsys.esf.core.doc/META-INF/MANIFEST.MF b/core/org.polarsys.esf.core.doc/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..8cdd2a8
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/META-INF/MANIFEST.MF
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name
+Bundle-SymbolicName: org.polarsys.esf.core.doc;singleton:=true
+Bundle-Version: 0.7.0.qualifier
+Require-Bundle: org.eclipse.help;bundle-version="3.7.0"
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
+Bundle-ActivationPolicy: lazy
diff --git a/core/org.polarsys.esf.core.doc/about.html b/core/org.polarsys.esf.core.doc/about.html
new file mode 100644
index 0000000..d35d5ae
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, "Program" will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party ("Redistributor") and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/core/org.polarsys.esf.core.doc/build.properties b/core/org.polarsys.esf.core.doc/build.properties
new file mode 100644
index 0000000..7eba2d7
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/build.properties
@@ -0,0 +1,7 @@
+source.. = src/main/java/
+output.. = target/classes/
+bin.includes = META-INF/,\
+ .,\
+ about.html,\
+ src/main/resources/,\
+ plugin.xml
diff --git a/core/org.polarsys.esf.core.doc/plugin.xml b/core/org.polarsys.esf.core.doc/plugin.xml
new file mode 100644
index 0000000..527b2d1
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/plugin.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.help.toc">
+ <toc
+ file="src/main/resources/help/toc.xml"
+ primary="true">
+ </toc>
+ </extension>
+
+</plugin>
diff --git a/core/org.polarsys.esf.core.doc/pom.xml b/core/org.polarsys.esf.core.doc/pom.xml
new file mode 100644
index 0000000..ba3faf5
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/pom.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.polarsys.esf</groupId>
+ <artifactId>esf-infra.core</artifactId>
+ <version>0.7.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.polarsys.esf</groupId>
+ <artifactId>org.polarsys.esf.core.doc</artifactId>
+ <packaging>eclipse-plugin</packaging>
+
+</project>
diff --git a/core/org.polarsys.esf.core.doc/src/main/resources/help/html/css/style.css b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/css/style.css
new file mode 100644
index 0000000..4134b2d
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/css/style.css
@@ -0,0 +1,175 @@
+/*******************************************************************************
+ * Style sheet made for ESF help.
+ * It extends the standard book.css provided by Eclipse.
+ *******************************************************************************/
+
+/*******************************************************************************
+ * Standard rules to edit the Help HTML content :
+ * - Don't use the encoded caracters » and « which are too heavy,
+ * prefer the '"' caracter.
+ * - Use an italic style for all the references to the menu, button, etc.
+ * of the application, and don't wrap it between '"'
+ * - The beginning of a sentence in a list (ordered or not) must start by
+ * a capital letter
+ * - The large images must be bordered, and have standard margins. To do this
+ * automatically, use the CSS class "bordered". Moreover, their maximum
+ * width is 650 to ensure that they can be displayed in the help window
+ * - The small images must not be bordered, and don't have any margins. To do
+ * this automatically, use the CSS class "icon".
+ * - The text content must be included in a paragraph <p>.
+ *******************************************************************************/
+
+/*****************************
+ * Global margin management. *
+ *****************************/
+
+body {
+ margin: 0px 0px 0px 0px;
+}
+span.icon {
+ white-space: nowrap;
+}
+
+#banner {
+ width: 100%;
+ overflow: hidden;
+}
+#content {
+ margin: 0px 10px 0px 10px;
+}
+
+/****************************
+ * Global fonts management. *
+ ****************************/
+
+body, h1, h2, h3, h4, h5, h6, p, table, td, caption, th, ul, ol, dl, li, dd, dt {
+ font-family: "Arial", "Helvetica", "sans-serif";
+ color: #000000
+}
+
+/**************************
+ * End fonts declarations *
+ **************************/
+
+body { font-size: 10.0pt; background: #FFFFFF; margin-bottom: 1em }
+h1 { font-size: 14.0pt; margin-top: 25px; margin-bottom: 3px }
+h2 { font-size: 12.0pt; margin-top: 20px; margin-bottom: 3px }
+h3 { font-size: 10.0pt; margin-top: 10px; margin-bottom: 3px; text-decoration:underline; }
+p { text-align: justify; }
+
+p.titlegrey {
+ border-width: thin;
+ border-style: solid;
+ border-color: black;
+ color: white;
+ background-color : #595959;
+}
+
+p.code {
+ border-width: thin;
+ border-style: dashed;
+ border-color: black;
+ background-color : #EEEEEE;
+ font-family: "Courier New", "Courier", "Prestige", "monospace";
+ font-size: 10.0pt;
+ margin-left: 10px;
+}
+
+/******************************************
+ * Management of the titles numerotation. *
+ ******************************************/
+
+body { counter-reset: h1 h2 h3; }
+h1:before {
+ content: counter(h1) " - ";
+ counter-increment: h1;
+}
+
+h2:before {
+ content: counter(h1) "." counter(h2) " - ";
+ counter-increment: h2;
+}
+
+h3:before {
+ content: counter(h1) "." counter(h2) "." counter(h3) " - ";
+ counter-increment: h3;
+}
+
+h1 {
+ counter-reset: h2;
+}
+
+h2 {
+ counter-reset: h3;
+}
+
+h1.unnumbered, h2.unnumbered {
+ counter-reset: none;
+}
+
+h1.unnumbered:before,
+h2.unnumbered:before,
+h3.unnumbered:before {
+ content: none;
+ counter-increment: none;
+}
+
+/*************************
+ * Table specifications. *
+ *************************/
+
+table {
+ border: thin solid #9F8AB9;
+ border-collapse: collapse;
+ width: 60%;
+ font-size: 10.0pt;
+ font-family: "Arial","sans-serif";
+}
+
+th {
+ background-color: #8064a2;
+ color: #FFFFFF;
+}
+
+th, td {
+ border: thin solid #9F8AB9;
+ padding: 5px;
+}
+
+th.centered, td.centered {
+ text-align: center;
+}
+
+tr:nth-child(even) {
+ background: #DFD8E8;
+}
+
+tr:nth-child(odd) {
+ background: #FFFFFF;
+}
+
+/*************************
+ * Lists specifications. *
+ *************************/
+ul {
+ padding-left: 2em;
+}
+
+ol {
+ padding-left: 2em;
+}
+
+/**************************
+ * Images specifications. *
+ **************************/
+img.bordered {
+ border:1px solid black;
+ margin: 10px 10px 10px 10px;
+}
+
+img.icon {
+ margin: 0px 0px 0px 0px;
+ width: 16px;
+ height: 16px;
+}
+
diff --git a/core/org.polarsys.esf.core.doc/src/main/resources/help/html/gettingstarted/GettingStarted.html b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/gettingstarted/GettingStarted.html
new file mode 100644
index 0000000..9c334c3
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/gettingstarted/GettingStarted.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head>
+ <meta content="text/html; charset=iso-8859-1" http-equiv="content-type">
+ <title>User manual</title>
+ <link title="esf-styles" href="../css/style.css" rel="stylesheet" type="text/css">
+ </head>
+ <body>
+ <div id="banner"> <img src="../images/help_banner.jpg" alt="Help banner"> </div>
+ <div id="content">
+ <h1 class="unnumbered">Getting Started</h1>
+ <br>
+ <h2 class="unnumbered">Content</h2>
+ <ul>
+ <li><a href="#req">Requirement</a></li>
+ <li><a href="#inst">Installation</a></li>
+ </ul>
+ </div>
+
+ <h1 id="req">Requirement</h1>
+
+ <h1 id="inst">Installation</h1>
+ </body>
+</html>
diff --git a/core/org.polarsys.esf.core.doc/src/main/resources/help/html/images/help_banner.jpg b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/images/help_banner.jpg
new file mode 100644
index 0000000..cff6498
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/images/help_banner.jpg
Binary files differ
diff --git a/core/org.polarsys.esf.core.doc/src/main/resources/help/html/releasesnotes/ReleasesNotes.html b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/releasesnotes/ReleasesNotes.html
new file mode 100644
index 0000000..29b12b1
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/releasesnotes/ReleasesNotes.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta content="text/html; charset=iso-8859-1" http-equiv="content-type">
+ <title>Releases notes</title>
+ <link title="esf-styles" href="../css/style.css" rel="stylesheet" type="text/css">
+ </head>
+ <body>
+ <div id="banner"> <img src="../images/help_banner.jpg" alt="Help banner"> </div>
+ <div id="content">
+ <h1>Minor versions</h1>
+ <p>Not applicable.</p>
+ <h1>Releases</h1>
+ <p class="titlegrey">V0.7.0</p>
+ <p>First commit version.</p>
+ <br>
+ </div>
+ </body>
+</html>
diff --git a/core/org.polarsys.esf.core.doc/src/main/resources/help/html/toc.html b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/toc.html
new file mode 100644
index 0000000..380510f
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/toc.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head>
+ <meta content="text/html; charset=iso-8859-1" http-equiv="content-type">
+ <title>ESF Documentation</title>
+ <link title="esf-styles" href="css/style.css" rel="stylesheet" type="text/css">
+ </head>
+ <body>
+ <div id="banner"> <img src="images/help_banner.jpg" alt="Help banner"> </div>
+ <div id="content">
+ <h1 class="unnumbered">ESF Documentation</h1>
+ <br>
+ <h2 class="unnumbered">Content</h2>
+ <ul>
+ <li><a href="gettingstarted/GettingStarted.html">Getting Started</a></li>
+ <li><a href="usermanual/UserManual.html">User Manual</a></li>
+ <li><a href="releasesnotes/ReleasesNotes.html">Releases Notes</a></li>
+ </ul>
+ </div>
+ </body>
+</html>
\ No newline at end of file
diff --git a/core/org.polarsys.esf.core.doc/src/main/resources/help/html/usermanual/UserManual.html b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/usermanual/UserManual.html
new file mode 100644
index 0000000..a5de188
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/src/main/resources/help/html/usermanual/UserManual.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head>
+ <meta content="text/html; charset=iso-8859-1" http-equiv="content-type">
+ <title>User Manual</title>
+ <link title="esf-styles" href="../css/style.css" rel="stylesheet" type="text/css">
+ </head>
+ <body>
+ <div id="banner"> <img src="../images/help_banner.jpg" alt="Help banner"> </div>
+ <div id="content">
+ <h1 class="unnumbered">User manual</h1>
+ <br>
+ <h2 class="unnumbered">Content</h2>
+ <ul>
+ <li><a href="#proj">Create ESF Project</a></li>
+ <li><a href="#arch">System Architecture</a></li>
+ </ul>
+ </div>
+
+ <h1 id="proj">Create ESF Project</h1>
+
+ <h1 id="arch">System Architecture</h1>
+ </body>
+</html>
diff --git a/core/org.polarsys.esf.core.doc/src/main/resources/help/toc.xml b/core/org.polarsys.esf.core.doc/src/main/resources/help/toc.xml
new file mode 100644
index 0000000..927b457
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/src/main/resources/help/toc.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?NLS TYPE="org.eclipse.help.toc"?>
+
+<toc label="ESF Documentation" topic="src/main/resources/help/html/toc.html">
+ <topic href="src/main/resources/help/html/gettingstarted/GettingStarted.html" label="Getting Started">
+ </topic>
+ <topic href="src/main/resources/help/html/usermanual/UserManual.html" label="User Manual">
+
+ </topic>
+ <topic href="src/main/resources/help/html/releasesnotes/ReleasesNotes.html" label="Release Notes">
+ </topic>
+</toc>
diff --git a/core/org.polarsys.esf.core.doc/src/main/resources/properties/plugin.properties b/core/org.polarsys.esf.core.doc/src/main/resources/properties/plugin.properties
new file mode 100644
index 0000000..07929f7
--- /dev/null
+++ b/core/org.polarsys.esf.core.doc/src/main/resources/properties/plugin.properties
@@ -0,0 +1,3 @@
+#Properties file for org.polarsys.esf.core.doc
+Bundle-Name = ESF Core Documentation
+Bundle-Vendor = Polarsys
diff --git a/core/pom.xml b/core/pom.xml
index be80953..7a7e560 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -28,6 +28,7 @@
<module>resources</module>
<module>org.polarsys.esf.core.common</module>
<module>org.polarsys.esf.core.common.ui</module>
+ <module>org.polarsys.esf.core.doc</module>
<module>org.polarsys.esf.core.utils</module>
<module>org.polarsys.esf.core.wizard.ui</module>
</modules>
diff --git a/core/releng/org.polarsys.esf.core.releng/feature.properties b/core/releng/org.polarsys.esf.core.releng/feature.properties
index 658fd03..134f2fa 100644
--- a/core/releng/org.polarsys.esf.core.releng/feature.properties
+++ b/core/releng/org.polarsys.esf.core.releng/feature.properties
@@ -1,4 +1,4 @@
-featureName = Core
+featureName = ESF Core
providerName = Polarsys
description = Technical Core feature of ESF. (Incubation)
copyright=\
diff --git a/core/releng/org.polarsys.esf.core.releng/feature.xml b/core/releng/org.polarsys.esf.core.releng/feature.xml
index 17a0b66..edd3cb0 100644
--- a/core/releng/org.polarsys.esf.core.releng/feature.xml
+++ b/core/releng/org.polarsys.esf.core.releng/feature.xml
@@ -225,4 +225,11 @@
version="0.0.0"
unpack="false"/>
+ <plugin
+ id="org.polarsys.esf.core.doc"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>