You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hdt.apache.org by ad...@apache.org on 2013/01/28 04:44:44 UTC
[5/17] git commit: template of a user assistance (aka help) plugin
template of a user assistance (aka help) plugin
Project: http://git-wip-us.apache.org/repos/asf/incubator-hdt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hdt/commit/4d5c54e1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hdt/tree/4d5c54e1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hdt/diff/4d5c54e1
Branch: refs/heads/master
Commit: 4d5c54e1857b9b9c0b9e6cebfe3fb162f1e80ff4
Parents: b50ec93
Author: adamb <ad...@apache.org>
Authored: Tue Jan 15 23:00:00 2013 -0600
Committer: adamb <ad...@apache.org>
Committed: Tue Jan 15 23:00:00 2013 -0600
----------------------------------------------------------------------
org.apache.hdt.help/.classpath | 7 ++++
org.apache.hdt.help/.project | 28 +++++++++++++++
.../.settings/org.eclipse.jdt.core.prefs | 7 ++++
org.apache.hdt.help/META-INF/MANIFEST.MF | 7 ++++
org.apache.hdt.help/build.properties | 7 ++++
org.apache.hdt.help/html/maintopic.html | 13 +++++++
org.apache.hdt.help/html/subtopic.html | 13 +++++++
org.apache.hdt.help/html/toc.html | 13 +++++++
org.apache.hdt.help/plugin.xml | 16 ++++++++
org.apache.hdt.help/testToc.xml | 6 +++
org.apache.hdt.help/toc.xml | 9 +++++
11 files changed, 126 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/.classpath
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/.classpath b/org.apache.hdt.help/.classpath
new file mode 100644
index 0000000..ad32c83
--- /dev/null
+++ b/org.apache.hdt.help/.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.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/.project
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/.project b/org.apache.hdt.help/.project
new file mode 100644
index 0000000..3b8d3a6
--- /dev/null
+++ b/org.apache.hdt.help/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.apache.hdt.help</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>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/.settings/org.eclipse.jdt.core.prefs
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/.settings/org.eclipse.jdt.core.prefs b/org.apache.hdt.help/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..c537b63
--- /dev/null
+++ b/org.apache.hdt.help/.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.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/META-INF/MANIFEST.MF b/org.apache.hdt.help/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..cb79955
--- /dev/null
+++ b/org.apache.hdt.help/META-INF/MANIFEST.MF
@@ -0,0 +1,7 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Hadoop Development Tools Help
+Bundle-SymbolicName: org.apache.hdt.help; singleton:=true
+Bundle-Version: 0.0.0
+Bundle-Vendor: Apache Foundation
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/build.properties
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/build.properties b/org.apache.hdt.help/build.properties
new file mode 100644
index 0000000..fc53675
--- /dev/null
+++ b/org.apache.hdt.help/build.properties
@@ -0,0 +1,7 @@
+source.. = src/
+output.. = bin/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ .,\
+ html/,\
+ *.xml
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/html/maintopic.html
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/html/maintopic.html b/org.apache.hdt.help/html/maintopic.html
new file mode 100644
index 0000000..a476078
--- /dev/null
+++ b/org.apache.hdt.help/html/maintopic.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>Main Topic</title>
+</head>
+
+<body>
+<h1>Main Topic</h1>
+Please enter your text here.
+</body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/html/subtopic.html
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/html/subtopic.html b/org.apache.hdt.help/html/subtopic.html
new file mode 100644
index 0000000..8a61c50
--- /dev/null
+++ b/org.apache.hdt.help/html/subtopic.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>Sub Topic</title>
+</head>
+
+<body>
+<h1>Sub Topic</h1>
+Please enter your text here.
+</body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/html/toc.html
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/html/toc.html b/org.apache.hdt.help/html/toc.html
new file mode 100644
index 0000000..326f0a9
--- /dev/null
+++ b/org.apache.hdt.help/html/toc.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>Table of Contents</title>
+</head>
+
+<body>
+<h1>Table of Contents</h1>
+Please enter your text here.
+</body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/plugin.xml
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/plugin.xml b/org.apache.hdt.help/plugin.xml
new file mode 100644
index 0000000..00836fc
--- /dev/null
+++ b/org.apache.hdt.help/plugin.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+
+ <extension
+ point="org.eclipse.help.toc">
+ <toc
+ file="toc.xml">
+ </toc>
+ <toc
+ file="testToc.xml"
+ primary="true">
+ </toc>
+ </extension>
+
+</plugin>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/testToc.xml
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/testToc.xml b/org.apache.hdt.help/testToc.xml
new file mode 100644
index 0000000..bf1e67a
--- /dev/null
+++ b/org.apache.hdt.help/testToc.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?NLS TYPE="org.eclipse.help.toc"?>
+
+<toc label="Test TOC" topic="html/toc.html">
+ <link toc="toc.xml" />
+</toc>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4d5c54e1/org.apache.hdt.help/toc.xml
----------------------------------------------------------------------
diff --git a/org.apache.hdt.help/toc.xml b/org.apache.hdt.help/toc.xml
new file mode 100644
index 0000000..1f661a6
--- /dev/null
+++ b/org.apache.hdt.help/toc.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?NLS TYPE="org.eclipse.help.toc"?>
+
+<toc label="Sample Table of Contents">
+ <topic label="Main Topic" href="html/maintopic.html">
+ <topic label="Sub Topic" href="html/subtopic.html"/>
+ </topic>
+ <topic label="Main Topic 2"/>
+</toc>