-
-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5852 from chrisrueger/add-help-buttons
Add help buttons for different views
- Loading branch information
Showing
18 changed files
with
190 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
bndtools.core/resources/processed/intro/whatsnewExtensionContent.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
bndtools.core/resources/unprocessed/intro/css/whatsnew.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package bndtools.editor.common; | ||
|
||
import static bndtools.utils.EditorUtils.createButton; | ||
import static bndtools.utils.EditorUtils.createButtonWithText; | ||
|
||
import org.eclipse.jface.action.Action; | ||
import org.eclipse.jface.action.ActionContributionItem; | ||
|
||
/** | ||
* Helper containing help buttons for different parts / views which link to the | ||
* user manual. | ||
*/ | ||
public final class HelpButtons { | ||
|
||
public static final Action HELP_BTN_REPOSITORIES = createButton( | ||
"https://bndtools.org/manual/repositories-view.html", | ||
"The Repositories View provides a user-friendly interface to inspect and manage the bundle repositories that are available to your Bndtools projects. Click to open manual in the browser."); | ||
|
||
public static final Action HELP_BTN_BNDTOOLS_EXPLORER = createButton( | ||
"https://bndtools.org/manual/packageexplorer.html", | ||
"The explorer provides an overview of the projects and their contents and allows advanced filtering. Click to open manual in the browser."); | ||
|
||
public static final Action HELP_BTN_RESOLUTION_VIEW = createButton( | ||
"https://bndtools.org/manual/resolution-view.html", | ||
"The Resolution view shows the requirements and capabilities of one or multiple selected items, be they bnd.bnd files, JAR files, or entries in the Repositories view. This is useful for understanding dependencies as it provides information about what requirements are matched with what capabilities from the included resources. Click to open manual in the browser."); | ||
|
||
public static final Action HELP_BTN_BND_EDITOR = createButton( | ||
"https://bndtools.org/manual/bndeditor.html", | ||
"This editor allows to edit bnd.bnd files, which define OSGi bundle metadata and build instructions for Java projects, encompassing sections for builtpath, imports, exports, bundle headers, and instructions to control the generation of the resulting OSGi bundle. Click to open manual in the browser."); | ||
|
||
public static final Action HELP_BTN_BND_EDITOR_WORKSPACE = createButton( | ||
"https://bndtools.org/manual/bndeditor.html", | ||
"This editor allows to edit global .bnd files such as the main cnf/build.bnd, which serves as the central configuration hub for the entire bndtools workspace, allowing users to define and manage global build settings, plugins, repository references, and other overarching workspace properties. Click to open manual in the browser."); | ||
|
||
public static final ActionContributionItem HELP_BTN_BND_EDITOR_RUN = createButtonWithText( | ||
"https://bndtools.org/manual/bndeditor.html#run", "Help", | ||
"The bnd editor for .bndrun files facilitates dependency management, automated resolution of required bundles, configuration of JVM and framework properties, direct launching of OSGi instances for testing, and the export of run configurations as executable JARs. Click to open manual in the browser."); | ||
|
||
private HelpButtons() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters