You can extend the capabilities of Source by adding new component models or data processing tools. Some of these "plugin" tools extend Source’s user interface. Other plugins, especially those written by third parties, may look and operate differently from the normal user interface. Refer to Assign catchment models when working with catchment model plugins.
Plugins are files which have a .DLL or .EXE extension, and work with specific versions of Source. Plugins that are external to Source, and must be downloaded from the Internet, must be handled differently. Refer to Externally created plugins for more information..
There are several plugins included with Source that have been verified by the Source development team. This documentation is only developed and maintained for these included plugins. Table 1 provides plugin file and location details of plugins that are discussed in more detail.
Table 1. Plugins
Plugin | Plugin file | Location in Source |
---|---|---|
GWLag Plugin | C:\Program Files\eWater\<Source version>\Plugins\RiverSystem.Plugins.PerfectGWLag.dll | Tools » Plugins | <various related folders>
River Analysis Package | C:\Program Files\eWater\<Source version>\Plugins\RiverSystem.Plugins.RAP.dll | |
Spatial data pre-processor | C:\Program Files\eWater\<Source version>\Plugins\RiverSystem.Plugins.SpatialDataPreProcessor.dll | Tools » Plugins | RiverSystem.Plugins.SpatialDataPreProcessor
Working with the Plugin Manager
The Plugin Manager allows you to install, load and manage all plugins in Source. Available via
, this dialog (shown in Figure 1) shows all plugins that have been installed either:- Manually; or
- Via the online store hosted by eWater.
The Details panel in the Plugin Manager provides the following information for the selected plugin:
- Version - a four-digit number used to uniquely identify which version of Source the plugin was compiled against; and
- Tags - the version of Source that the plugin can be opened in.
Installing plugins
Manually installing plugins
Source community plugins are installed as part of Source are located in the following folder:
C:\Program Files\eWater\<Source version>\Plugins
where:
<Source version> refers to the version of Source currently in use.
To install a plugin manually:
- Click Browse... to open an Explorer dialog;
- Select the plugin; and
- Click OK.
Figure 1. Plugin manager
Installing via the online store
- Choose Online to view a complete list of plugins available from the store; and
- Click Install.
Upgrading plugins
There are two possible scenarios that warrant an upgrade:
- The version of Source has been upgraded - in this case, Source will attempt to install the same plugin version that was installed in the previous version of Source; or
- The plugin version is different - if the plugin was originally installed from the online store, clicking Update will remove the old version and install the new one. Note that this happens only once when Source is opened for the first time with the new plugin version.
Writing your own plugins
To write your own plugins using .NET and C#, refer to /wiki/spaces/SD550/pages/521931625
Externally created plugins
For plugins that have been developed externally to Source (such as DERMTools), you must manually unblock them in Windows after downloading. By default, Windows blocks the execution of programs downloaded from the internet (including the .dlls used as Source plugins) in order to reduce the risk of the computer being infected by a virus or some other form of malicious software.
Once downloaded, open as follows:
- Open Explorer. Right click on the dll file and choose Properties; and
- In the resulting dialog (shown in Figure 3), click Unblock at the bottom of the screen, then OK.
The plugin can then be loaded as normal in Source.
Figure 3. Unblocking external plugins