BHoM / BHoM_UI

GNU Lesser General Public License v3.0
9 stars 5 forks source link

Adding link to source for CreateDataCaller #401

Closed IsakNaslundBh closed 3 years ago

IsakNaslundBh commented 3 years ago

Issues addressed by this PR

Closes #400

Checking if the dataset contains a SourceLink, and if so, add a link to it in the menu. Really useful to have quick direct access to the source of the data, when available.

Added the functionality for both the Toolstrip and WPF, but was not able to test the WPF as I do not know where it is being called from. Tried in dynamo, but looked as if the menu is only triggered once, when you add the component, and not again when a dataset has been selected. Happy to remove the WPF implementation if we think that is a better way to go.

Test files

Any of the UK steelsection or EU material datasets should have working links:

image

Changelog

Additional comments

IsakNaslundBh commented 3 years ago

@BHoMBot check compliance @BHoMBot check required

bhombot-ci[bot] commented 3 years ago
@IsakNaslundBh to confirm, the following checks are now queued: - `code-compliance` - `documentation-compliance` - `project-compliance` - `branch-compliance` - `dataset-compliance` - `copyright-compliance` - `code-compliance` - `documentation-compliance` - `project-compliance` - `core` - `null-handling` - `serialisation` - `installer` - `versioning` There are 2 requests in the queue ahead of you.
bhombot-ci[bot] commented 3 years ago
The check `code-compliance` has already been run previously and recorded as a successful check. This check has not been run again at this time.
bhombot-ci[bot] commented 3 years ago
The check `documentation-compliance` has already been run previously and recorded as a successful check. This check has not been run again at this time.
bhombot-ci[bot] commented 3 years ago
The check `project-compliance` has already been run previously and recorded as a successful check. This check has not been run again at this time.