Skip to content

Commit

Permalink
Extend welcome screen
Browse files Browse the repository at this point in the history
* add Bndtools to Overview and Tutorials and link to relevant pages on bndtools.org
* before this change there was already an entry in the Whats new section, but usually the Overview is the first thing shown. So I added it to the overview too to have more visibility for bndtools

Signed-off-by: Christoph Rueger <[email protected]>
  • Loading branch information
chrisrueger committed Oct 30, 2023
1 parent 98cf605 commit b05a414
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 1 deletion.
5 changes: 5 additions & 0 deletions bndtools.core/bndtools.cocoa.macosx.aarch64.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,11 @@
org.eclipse.ui.ide;version='[3.19.100,3.19.101)',\
org.eclipse.ui.ide.application;version='[1.4.500,1.4.501)',\
org.eclipse.ui.intro;version='[3.6.600,3.6.601)',\
org.eclipse.ui.intro.quicklinks;version='[1.1.200,1.1.201)',\
org.eclipse.ui.intro.quicklinks.source;version='[1.1.200,1.1.201)',\
org.eclipse.ui.intro.source;version='[3.6.600,3.6.601)',\
org.eclipse.ui.intro.universal;version='[3.4.300,3.4.301)',\
org.eclipse.ui.intro.universal.source;version='[3.4.300,3.4.301)',\
org.eclipse.ui.navigator;version='[3.10.300,3.10.301)',\
org.eclipse.ui.navigator.resources;version='[3.8.400,3.8.401)',\
org.eclipse.ui.views;version='[3.11.200,3.11.201)',\
Expand Down
5 changes: 5 additions & 0 deletions bndtools.core/bndtools.cocoa.macosx.x86_64.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,11 @@
org.eclipse.ui.ide;version='[3.19.100,3.19.101)',\
org.eclipse.ui.ide.application;version='[1.4.500,1.4.501)',\
org.eclipse.ui.intro;version='[3.6.600,3.6.601)',\
org.eclipse.ui.intro.quicklinks;version='[1.1.200,1.1.201)',\
org.eclipse.ui.intro.quicklinks.source;version='[1.1.200,1.1.201)',\
org.eclipse.ui.intro.source;version='[3.6.600,3.6.601)',\
org.eclipse.ui.intro.universal;version='[3.4.300,3.4.301)',\
org.eclipse.ui.intro.universal.source;version='[3.4.300,3.4.301)',\
org.eclipse.ui.navigator;version='[3.10.300,3.10.301)',\
org.eclipse.ui.navigator.resources;version='[3.8.400,3.8.401)',\
org.eclipse.ui.views;version='[3.11.200,3.11.201)',\
Expand Down
5 changes: 5 additions & 0 deletions bndtools.core/bndtools.gtk.linux.x86_64.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@
org.eclipse.ui.ide;version='[3.19.100,3.19.101)',\
org.eclipse.ui.ide.application;version='[1.4.500,1.4.501)',\
org.eclipse.ui.intro;version='[3.6.600,3.6.601)',\
org.eclipse.ui.intro.quicklinks;version='[1.1.200,1.1.201)',\
org.eclipse.ui.intro.quicklinks.source;version='[1.1.200,1.1.201)',\
org.eclipse.ui.intro.source;version='[3.6.600,3.6.601)',\
org.eclipse.ui.intro.universal;version='[3.4.300,3.4.301)',\
org.eclipse.ui.intro.universal.source;version='[3.4.300,3.4.301)',\
org.eclipse.ui.navigator;version='[3.10.300,3.10.301)',\
org.eclipse.ui.navigator.resources;version='[3.8.400,3.8.401)',\
org.eclipse.ui.views;version='[3.11.200,3.11.201)',\
Expand Down
5 changes: 5 additions & 0 deletions bndtools.core/bndtools.win32.x86_64.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@
org.eclipse.ui.ide;version='[3.19.100,3.19.101)',\
org.eclipse.ui.ide.application;version='[1.4.500,1.4.501)',\
org.eclipse.ui.intro;version='[3.6.600,3.6.601)',\
org.eclipse.ui.intro.quicklinks;version='[1.1.200,1.1.201)',\
org.eclipse.ui.intro.quicklinks.source;version='[1.1.200,1.1.201)',\
org.eclipse.ui.intro.source;version='[3.6.600,3.6.601)',\
org.eclipse.ui.intro.universal;version='[3.4.300,3.4.301)',\
org.eclipse.ui.intro.universal.source;version='[3.4.300,3.4.301)',\
org.eclipse.ui.navigator;version='[3.10.300,3.10.301)',\
org.eclipse.ui.navigator.resources;version='[3.8.400,3.8.401)',\
org.eclipse.ui.views;version='[3.11.200,3.11.201)',\
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
<?xml version="1.0" encoding="UTF-8" ?>

<introContent>
<extensionContent id="bndtools.core" name="Bndtools"
style="css/whatsnew.css" alt-style="css/whatsnew.properties" path="overview/@">
<group id="content-group" style-id="content-group">
<link label="Bndtools" url="https://bndtools.org" id="bndtools-overview" style-id="content-link">
<text>
Learn how to develop OSGi applications with Bndtools!
</text>
</link>
</group>
</extensionContent>

<extensionContent id="bndtools.core" name="Bndtools"
style="css/whatsnew.css" alt-style="css/whatsnew.properties" path="tutorials/@">
<group id="content-group" style-id="content-group">
<link label="Bndtools" url="https://bndtools.org/tutorial.html" id="bndtools-tutorials" style-id="content-link">
<text>
In this tutorial we will build a sample OSGi application composed of two components and an API.
</text>
</link>
</group>
</extensionContent>

<extensionContent id="bndtools.core" name="Bndtools"
style="css/whatsnew.css" alt-style="css/whatsnew.properties" path="whatsnew/@">
<group id="content-group" style-id="content-group">
Expand Down
18 changes: 17 additions & 1 deletion bndtools.core/resources/unprocessed/intro/css/whatsnew.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
a#bndtools-overview img {
background-image: url(../images/bndtools.gif);
}

a#bndtools-overview:hover img {
background-image: url(../images/bndtools-glow.gif);
}

a#bndtools-tutorials img {
background-image: url(../images/bndtools.gif);
}

a#bndtools-tutorials:hover img {
background-image: url(../images/bndtools-glow.gif);
}

a#bndtools-noteworthy img {
background-image: url(../images/bndtools.gif);
}

a#bndtools-noteworthy:hover img {
background-image: url(../images/bndtools-glow.gif);
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
whatsnew.bndtools-overview.link-icon = intro/images/bndtools.gif
whatsnew.bndtools-overview.hover-icon = intro/images/bndtools-glow.gif
whatsnew.bndtools-tutorials.link-icon = intro/images/bndtools.gif
whatsnew.bndtools-tutorials.hover-icon = intro/images/bndtools-glow.gif
whatsnew.bndtools-noteworthy.link-icon = intro/images/bndtools.gif
whatsnew.bndtools-noteworthy.hover-icon = intro/images/bndtools-glow.gif

0 comments on commit b05a414

Please sign in to comment.