Chapter 36. Web menu - org.csstudio.ui.menu.web

Table of Contents

Configuration

The plugin org.csstudio.ui.menu.web adds a Web entry to the CSS menu which allows users to access web sites related to the control system.

As a growing number of control system related tools become web-based, this allows easy access to them from within CSS.

Figure 36.1. Web menu

Web menu

Depending on the operating system and the preference settings under General, Web Browser, the web pages will open in a web browser within the CSS workbench or in an external web browser.

Configuration

The web links are configured by the CSS maintainer for each site via preferences of the org.csstudio.ui.menu.web plugin.

The example web menu from Figure 36.1, “Web menu” was created with the following configuration placed in the plugin_customization.ini of the product:

# Selects the web links to show and define their order.
# '|' character can be used to add separators.
# When left blank, there won't be any web links.
org.csstudio.ui.menu.web/weblinks=local css | google
 
# Define the Label and link for each web link.
# Only those listed in ...weblinks above are actually used!

# Link to the local CSS web site where users can download CSS,
# learn about updates etc:
org.csstudio.ui.menu.web/local=\
Local CSS Web Site|http://www.my-institute.edu/css/

# The main CSS web page on GitHub
org.csstudio.ui.menu.web/css=\
CSS Wiki|https://github.com/ControlSystemStudio/cs-studio/wiki

# Example for other useful links
org.csstudio.ui.menu.web/google=Google|http://www.google.com