aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaloyan Raev2013-12-18 05:16:07 (EST)
committerKaloyan Raev2013-12-18 05:26:01 (EST)
commit85163d37e33dc5a5ac5467e2b830031df8933cc1 (patch)
treec6dc02a12eebc5deb91f0233c8dd9823d4e3e271
parent1e7d685893197de727f4ad7e1d05a29d13c5d087 (diff)
downloadorg.eclipse.pdt-85163d37e33dc5a5ac5467e2b830031df8933cc1.zip
org.eclipse.pdt-85163d37e33dc5a5ac5467e2b830031df8933cc1.tar.gz
org.eclipse.pdt-85163d37e33dc5a5ac5467e2b830031df8933cc1.tar.bz2
Bug 424306 - Contribute content to the Welcome welcomerefs/changes/55/19955/2
Add links to PDT user guide in the Welcome screen Bug: 424306 Change-Id: Iab2595c59912ee052731ee6e7f9e10f692ab4d08 Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
-rw-r--r--plugins/org.eclipse.php.help/build.properties3
-rw-r--r--plugins/org.eclipse.php.help/intro/css/overview.css7
-rw-r--r--plugins/org.eclipse.php.help/intro/css/overview.properties12
-rw-r--r--plugins/org.eclipse.php.help/intro/css/tutorials.css7
-rw-r--r--plugins/org.eclipse.php.help/intro/css/tutorials.properties12
-rw-r--r--plugins/org.eclipse.php.help/intro/css/whatsnew.css7
-rw-r--r--plugins/org.eclipse.php.help/intro/css/whatsnew.properties12
-rw-r--r--plugins/org.eclipse.php.help/intro/images/php.jpgbin0 -> 2437 bytes
-rw-r--r--plugins/org.eclipse.php.help/intro/overviewExtensionContent.xml23
-rw-r--r--plugins/org.eclipse.php.help/intro/tutorialsExtensionContent.xml33
-rw-r--r--plugins/org.eclipse.php.help/intro/whatsnewExtensionContent.xml25
-rw-r--r--plugins/org.eclipse.php.help/plugin.xml17
12 files changed, 155 insertions, 3 deletions
diff --git a/plugins/org.eclipse.php.help/build.properties b/plugins/org.eclipse.php.help/build.properties
index 0858de0..2677347 100644
--- a/plugins/org.eclipse.php.help/build.properties
+++ b/plugins/org.eclipse.php.help/build.properties
@@ -20,5 +20,4 @@ bin.includes = plugin.xml,\
html/,\
*.xml,\
about.html,\
-
-src.includes = about.html
+ intro/
diff --git a/plugins/org.eclipse.php.help/intro/css/overview.css b/plugins/org.eclipse.php.help/intro/css/overview.css
new file mode 100644
index 0000000..5377eb9
--- /dev/null
+++ b/plugins/org.eclipse.php.help/intro/css/overview.css
@@ -0,0 +1,7 @@
+a#pdt-overview img {
+ background-image: url(../images/php.jpg);
+}
+
+a#pdt-overview:hover img {
+ background-image: url(../images/php.jpg);
+} \ No newline at end of file
diff --git a/plugins/org.eclipse.php.help/intro/css/overview.properties b/plugins/org.eclipse.php.help/intro/css/overview.properties
new file mode 100644
index 0000000..bccc666
--- /dev/null
+++ b/plugins/org.eclipse.php.help/intro/css/overview.properties
@@ -0,0 +1,12 @@
+###############################################################################
+# Copyright (c) 2013 Kaloyan Raev 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:
+# Kaloyan Raev <kaloyan.r@zend.com> - initial API and implementation
+###############################################################################
+overview.pdt-overview.link-icon = images/php.jpg
+overview.pdt-overview.hover-icon = images/php.jpg
diff --git a/plugins/org.eclipse.php.help/intro/css/tutorials.css b/plugins/org.eclipse.php.help/intro/css/tutorials.css
new file mode 100644
index 0000000..bf48a8c
--- /dev/null
+++ b/plugins/org.eclipse.php.help/intro/css/tutorials.css
@@ -0,0 +1,7 @@
+a#pdt-tutorial img {
+ background-image: url(../images/php.jpg);
+}
+
+a#pdt-tutorial:hover img {
+ background-image: url(../images/php.jpg);
+} \ No newline at end of file
diff --git a/plugins/org.eclipse.php.help/intro/css/tutorials.properties b/plugins/org.eclipse.php.help/intro/css/tutorials.properties
new file mode 100644
index 0000000..64c2b43
--- /dev/null
+++ b/plugins/org.eclipse.php.help/intro/css/tutorials.properties
@@ -0,0 +1,12 @@
+###############################################################################
+# Copyright (c) 2013 Kaloyan Raev 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:
+# Kaloyan Raev <kaloyan.r@zend.com> - initial API and implementation
+###############################################################################
+tutorials.pdt-tutorial.link-icon = images/php.jpg
+tutorials.pdt-tutorial.hover-icon = images/php.jpg
diff --git a/plugins/org.eclipse.php.help/intro/css/whatsnew.css b/plugins/org.eclipse.php.help/intro/css/whatsnew.css
new file mode 100644
index 0000000..28a1fe7
--- /dev/null
+++ b/plugins/org.eclipse.php.help/intro/css/whatsnew.css
@@ -0,0 +1,7 @@
+a#pdt-noteworthy img {
+ background-image: url(../images/php.jpg);
+}
+
+a#pdt-noteworthy:hover img {
+ background-image: url(../images/php.jpg);
+} \ No newline at end of file
diff --git a/plugins/org.eclipse.php.help/intro/css/whatsnew.properties b/plugins/org.eclipse.php.help/intro/css/whatsnew.properties
new file mode 100644
index 0000000..a47cf91
--- /dev/null
+++ b/plugins/org.eclipse.php.help/intro/css/whatsnew.properties
@@ -0,0 +1,12 @@
+###############################################################################
+# Copyright (c) 2013 Kaloyan Raev 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:
+# Kaloyan Raev <kaloyan.r@zend.com> - initial API and implementation
+###############################################################################
+whatsnew.pdt-noteworthy.link-icon = images/php.jpg
+whatsnew.pdt-noteworthy.hover-icon = images/php.jpg
diff --git a/plugins/org.eclipse.php.help/intro/images/php.jpg b/plugins/org.eclipse.php.help/intro/images/php.jpg
new file mode 100644
index 0000000..c38325a
--- /dev/null
+++ b/plugins/org.eclipse.php.help/intro/images/php.jpg
Binary files differ
diff --git a/plugins/org.eclipse.php.help/intro/overviewExtensionContent.xml b/plugins/org.eclipse.php.help/intro/overviewExtensionContent.xml
new file mode 100644
index 0000000..2026fcd
--- /dev/null
+++ b/plugins/org.eclipse.php.help/intro/overviewExtensionContent.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?><!--
+ Copyright (c) 2013 Kaloyan Raev 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:
+ Kaloyan Raev <kaloyan.r@zend.com> - initial API and implementation
+ -->
+
+<introContent>
+ <extensionContent id="org.eclipse.pdt" name="PDT"
+ style="css/overview.css" alt-style="css/overview.properties" path="overview/@">
+ <group id="content-group" style-id="content-group">
+ <link label="Develop PHP applications"
+ url="http://www.eclipse.org/pdt/help/html/pdt_table_of_contents.htm?cp=4_0"
+ id="pdt-overview" style-id="content-link">
+ <text>Learn how to develop PHP applications by reading the PHP Development Tools user guide</text>
+ </link>
+ </group>
+ </extensionContent>
+</introContent>
diff --git a/plugins/org.eclipse.php.help/intro/tutorialsExtensionContent.xml b/plugins/org.eclipse.php.help/intro/tutorialsExtensionContent.xml
new file mode 100644
index 0000000..90cbaf0
--- /dev/null
+++ b/plugins/org.eclipse.php.help/intro/tutorialsExtensionContent.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" ?><!--
+ Copyright (c) 2013 Kaloyan Raev 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:
+ Kaloyan Raev <kaloyan.r@zend.com> - initial API and implementation
+ -->
+
+<introContent>
+ <extensionContent id="org.eclipse.pdt" name="PDT"
+ style="css/tutorials.css" alt-style="css/tutorials.properties" path="tutorials/@">
+ <group label="PHP" id="pdt" style-id="content-group">
+ <link
+ url="http://www.eclipse.org/pdt/help/html/creating_and_uploading_a_project.htm?cp=4_2_1_0"
+ label="Create Projects and Files" id="pdt-tutorial" style-id="content-link">
+ <text>Learn how to create PHP projects and files</text>
+ </link>
+ <link
+ url="http://www.eclipse.org/pdt/help/html/working_with_code_assist.htm?cp=4_2_1_1"
+ label="Work with Content Assist" id="pdt-tutorial" style-id="content-link">
+ <text>Learn how to use content assist in order to write code quickly, easily, and accurately</text>
+ </link>
+ <link
+ url="http://www.eclipse.org/pdt/help/html/working_with_the_debugger.htm?cp=4_2_1_2"
+ label="Work with the Debugger" id="pdt-tutorial" style-id="content-link">
+ <text>Learn how to debug files and applications both remotely and locally</text>
+ </link>
+ </group>
+ </extensionContent>
+</introContent> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.help/intro/whatsnewExtensionContent.xml b/plugins/org.eclipse.php.help/intro/whatsnewExtensionContent.xml
new file mode 100644
index 0000000..a580155
--- /dev/null
+++ b/plugins/org.eclipse.php.help/intro/whatsnewExtensionContent.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?><!--
+ Copyright (c) 2013 Kaloyan Raev 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:
+ Kaloyan Raev <kaloyan.r@zend.com> - initial API and implementation
+ -->
+
+<introContent>
+ <extensionContent id="org.eclipse.pdt" name="PDT"
+ style="css/whatsnew.css" alt-style="css/whatsnew.properties" path="whatsnew/@">
+ <group id="content-group" style-id="content-group">
+ <link label="PHP Development Tools"
+ url="http://www.eclipse.org/pdt/help/html/what_s_new_in_pdt_2.0.htm?cp=4_1"
+ id="pdt-noteworthy" style-id="content-link">
+ <text>
+ Find out what's new in the PHP Development Tools project
+ </text>
+ </link>
+ </group>
+ </extensionContent>
+</introContent> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.help/plugin.xml b/plugins/org.eclipse.php.help/plugin.xml
index 19b6f96..1a39fbb 100644
--- a/plugins/org.eclipse.php.help/plugin.xml
+++ b/plugins/org.eclipse.php.help/plugin.xml
@@ -30,4 +30,19 @@
file="helpContexts.xml">
</contexts>
</extension>
- </plugin>
+ <extension
+ point="org.eclipse.ui.intro.configExtension">
+ <configExtension
+ configId="org.eclipse.ui.intro.universalConfig"
+ content="$nl$/intro/overviewExtensionContent.xml">
+ </configExtension>
+ <configExtension
+ configId="org.eclipse.ui.intro.universalConfig"
+ content="$nl$/intro/tutorialsExtensionContent.xml">
+ </configExtension>
+ <configExtension
+ configId="org.eclipse.ui.intro.universalConfig"
+ content="$nl$/intro/whatsnewExtensionContent.xml">
+ </configExtension>
+ </extension>
+</plugin>