diff --git a/src/ScatterplotPlugin.cpp b/src/ScatterplotPlugin.cpp index 00c2df7..de8a5dc 100644 --- a/src/ScatterplotPlugin.cpp +++ b/src/ScatterplotPlugin.cpp @@ -255,11 +255,6 @@ ScatterplotPlugin::ScatterplotPlugin(const PluginFactory* factory) : //getSamplerAction().setViewingMode(ViewPluginSamplerAction::ViewingMode::Tooltip); getSamplerAction().getEnabledAction().setChecked(false); - - getLearningCenterAction().setPluginTitle("Scatterplot view"); - - getLearningCenterAction().setShortDescription("Scatterplot view plugin"); - getLearningCenterAction().setLongDescription("
High-performance scatterplot for the ManiVault framework, capable of handling millions of data points.
"); getLearningCenterAction().addVideos(QStringList({ "Practitioner", "Developer" })); } @@ -806,6 +801,23 @@ void ScatterplotPlugin::setYDimension(const std::int32_t& dimensionIndex) updateData(); } +ScatterplotPluginFactory::ScatterplotPluginFactory() +{ + getPluginMetadata().setDescription("Scatterplot view"); + getPluginMetadata().setSummary("High-performance scatterplot plugin for ManiVault Studio, capable of handling millions of data points."); + getPluginMetadata().setCopyrightHolder({ "BioVault (Biomedical Visual Analytics Unit LUMC - TU Delft)" }); + getPluginMetadata().setAuthors({ + { "J. Thijssen", { "Software architect" }, { "LUMC", "TU Delft" } }, + { "T. Kroes", { "Lead software architect" }, { "LUMC" } }, + { "A. Vieth", { "Plugin developer", "Maintainer" }, { "LUMC", "TU Delft" } } + }); + getPluginMetadata().setOrganizations({ + { "LUMC", "Leiden University Medical Center", "https://www.lumc.nl/en/" }, + { "TU Delft", "Delft university of technology", "https://www.tudelft.nl/" } + }); + getPluginMetadata().setLicenseText("This plugin is distributed under the [LGPL v3.0](https://www.gnu.org/licenses/lgpl-3.0.en.html) license."); +} + QIcon ScatterplotPluginFactory::getIcon(const QColor& color /*= Qt::black*/) const { return Application::getIconFont("FontAwesome").getIcon("braille", color); diff --git a/src/ScatterplotPlugin.h b/src/ScatterplotPlugin.h index d001ade..7eeae8c 100644 --- a/src/ScatterplotPlugin.h +++ b/src/ScatterplotPlugin.h @@ -140,8 +140,7 @@ class ScatterplotPluginFactory : public ViewPluginFactory FILE "ScatterplotPlugin.json") public: - ScatterplotPluginFactory(void) {} - ~ScatterplotPluginFactory(void) override {} + ScatterplotPluginFactory(); /** * Get plugin icon