Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions ExampleAnalysis/src/ExampleAnalysisPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,19 @@ void ExampleAnalysisPlugin::init()
_eventListener.addSupportedEventType(static_cast<std::uint32_t>(EventType::DatasetDataSelectionChanged));

_eventListener.registerDataEventByType(PointType, std::bind(&ExampleAnalysisPlugin::onDataEvent, this, std::placeholders::_1));

addNotification("ManiVault Studio features a notification system that can be triggered from:<br>"
"<table>"
"<tr>"
"<th style='text-align: left;'>Within a plugin: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/3088ad09de6b5a5f3e84b24ffba44294bbb8001d/ManiVault/src/Plugin.h#L170'>addNotification(...)</a></td>"
"</tr>"
"<tr>"
"<th style='text-align: left;'>The help manager: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/126bd905d64d9b795dce188a06e9321eef132bd3/ManiVault/src/AbstractHelpManager.h#L100'>mv::help().addNotification(...)</a></td>"
"</tr>"
"</table>"
);
}

void ExampleAnalysisPlugin::onDataEvent(mv::DatasetEvent* dataEvent)
Expand Down
12 changes: 12 additions & 0 deletions ExampleData/src/ExampleDataPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ ExampleDataPlugin::~ExampleDataPlugin(void)

void ExampleDataPlugin::init()
{
addNotification("ManiVault Studio features a notification system that can be triggered from:<br>"
"<table>"
"<tr>"
"<th style='text-align: left;'>Within a plugin: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/3088ad09de6b5a5f3e84b24ffba44294bbb8001d/ManiVault/src/Plugin.h#L170'>addNotification(...)</a></td>"
"</tr>"
"<tr>"
"<th style='text-align: left;'>The help manager: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/126bd905d64d9b795dce188a06e9321eef132bd3/ManiVault/src/AbstractHelpManager.h#L100'>mv::help().addNotification(...)</a></td>"
"</tr>"
"</table>"
);
}

/**
Expand Down
13 changes: 13 additions & 0 deletions ExampleDependencies/src/ExampleDependenciesPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,19 @@ void ExampleDependenciesPlugin::init()

// Start the analysis when the user clicks the start analysis push button
connect(&_settingsAction.getStartAnalysisAction(), &mv::gui::TriggerAction::triggered, this, &ExampleDependenciesPlugin::compute);

addNotification("ManiVault Studio features a notification system that can be triggered from:<br>"
"<table>"
"<tr>"
"<th style='text-align: left;'>Within a plugin: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/3088ad09de6b5a5f3e84b24ffba44294bbb8001d/ManiVault/src/Plugin.h#L170'>addNotification(...)</a></td>"
"</tr>"
"<tr>"
"<th style='text-align: left;'>The help manager: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/126bd905d64d9b795dce188a06e9321eef132bd3/ManiVault/src/AbstractHelpManager.h#L100'>mv::help().addNotification(...)</a></td>"
"</tr>"
"</table>"
);
}

void ExampleDependenciesPlugin::compute()
Expand Down
13 changes: 12 additions & 1 deletion ExampleLoader/src/ExampleLoaderPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,18 @@ ExampleLoaderPlugin::~ExampleLoaderPlugin(void)
*/
void ExampleLoaderPlugin::init()
{

addNotification("ManiVault Studio features a notification system that can be triggered from:<br>"
"<table>"
"<tr>"
"<th style='text-align: left;'>Within a plugin: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/3088ad09de6b5a5f3e84b24ffba44294bbb8001d/ManiVault/src/Plugin.h#L170'>addNotification(...)</a></td>"
"</tr>"
"<tr>"
"<th style='text-align: left;'>The help manager: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/126bd905d64d9b795dce188a06e9321eef132bd3/ManiVault/src/AbstractHelpManager.h#L100'>mv::help().addNotification(...)</a></td>"
"</tr>"
"</table>"
);
}

/**
Expand Down
12 changes: 12 additions & 0 deletions ExampleTransformation/src/ExampleTransformationPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ ExampleTransformationPlugin::ExampleTransformationPlugin(const PluginFactory* fa
TransformationPlugin(factory),
_type(Type::Abs)
{
addNotification("ManiVault Studio features a notification system that can be triggered from:<br>"
"<table>"
"<tr>"
"<th style='text-align: left;'>Within a plugin: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/3088ad09de6b5a5f3e84b24ffba44294bbb8001d/ManiVault/src/Plugin.h#L170'>addNotification(...)</a></td>"
"</tr>"
"<tr>"
"<th style='text-align: left;'>The help manager: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/126bd905d64d9b795dce188a06e9321eef132bd3/ManiVault/src/AbstractHelpManager.h#L100'>mv::help().addNotification(...)</a></td>"
"</tr>"
"</table>"
);
}

void ExampleTransformationPlugin::transform()
Expand Down
13 changes: 13 additions & 0 deletions ExampleView/src/ExampleViewPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,19 @@ void ExampleViewPlugin::init()
_eventListener.addSupportedEventType(static_cast<std::uint32_t>(EventType::DatasetRemoved));
_eventListener.addSupportedEventType(static_cast<std::uint32_t>(EventType::DatasetDataSelectionChanged));
_eventListener.registerDataEventByType(PointType, std::bind(&ExampleViewPlugin::onDataEvent, this, std::placeholders::_1));

addNotification("ManiVault Studio features a notification system that can be triggered from:<br>"
"<table>"
"<tr>"
"<th style='text-align: left;'>Within a plugin: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/3088ad09de6b5a5f3e84b24ffba44294bbb8001d/ManiVault/src/Plugin.h#L170'>addNotification(...)</a></td>"
"</tr>"
"<tr>"
"<th style='text-align: left;'>The help manager: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/126bd905d64d9b795dce188a06e9321eef132bd3/ManiVault/src/AbstractHelpManager.h#L100'>mv::help().addNotification(...)</a></td>"
"</tr>"
"</table>"
);
}

void ExampleViewPlugin::onDataEvent(mv::DatasetEvent* dataEvent)
Expand Down
13 changes: 13 additions & 0 deletions ExampleViewJS/src/ExampleViewJSPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,19 @@ void ExampleViewJSPlugin::init()

// Create data so that we do not need to load any in this example
createData();

addNotification("ManiVault Studio features a notification system that can be triggered from:<br>"
"<table>"
"<tr>"
"<th style='text-align: left;'>Within a plugin: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/3088ad09de6b5a5f3e84b24ffba44294bbb8001d/ManiVault/src/Plugin.h#L170'>addNotification(...)</a></td>"
"</tr>"
"<tr>"
"<th style='text-align: left;'>The help manager: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/126bd905d64d9b795dce188a06e9321eef132bd3/ManiVault/src/AbstractHelpManager.h#L100'>mv::help().addNotification(...)</a></td>"
"</tr>"
"</table>"
);
}

void ExampleViewJSPlugin::loadData(const mv::Datasets& datasets)
Expand Down
12 changes: 12 additions & 0 deletions ExampleViewOpenGL/src/ExampleViewGLPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,18 @@ void ExampleViewGLPlugin::init()
// Update the data when the scatter plot widget is initialized
connect(_exampleGLWidget, &ExampleGLWidget::initialized, this, []() { qDebug() << "ExampleGLWidget is initialized."; } );

addNotification("ManiVault Studio features a notification system that can be triggered from:<br>"
"<table>"
"<tr>"
"<th style='text-align: left;'>Within a plugin: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/3088ad09de6b5a5f3e84b24ffba44294bbb8001d/ManiVault/src/Plugin.h#L170'>addNotification(...)</a></td>"
"</tr>"
"<tr>"
"<th style='text-align: left;'>The help manager: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/126bd905d64d9b795dce188a06e9321eef132bd3/ManiVault/src/AbstractHelpManager.h#L100'>mv::help().addNotification(...)</a></td>"
"</tr>"
"</table>"
);
}

void ExampleViewGLPlugin::updatePlot()
Expand Down
13 changes: 12 additions & 1 deletion ExampleWriter/src/ExampleWriterPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,18 @@ ExampleWriterPlugin::~ExampleWriterPlugin(void)
*/
void ExampleWriterPlugin::init()
{

addNotification("ManiVault Studio features a notification system that can be triggered from:<br>"
"<table>"
"<tr>"
"<th style='text-align: left;'>Within a plugin: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/3088ad09de6b5a5f3e84b24ffba44294bbb8001d/ManiVault/src/Plugin.h#L170'>addNotification(...)</a></td>"
"</tr>"
"<tr>"
"<th style='text-align: left;'>The help manager: </th>"
"<td><a href='https://github.com/ManiVaultStudio/core/blob/126bd905d64d9b795dce188a06e9321eef132bd3/ManiVault/src/AbstractHelpManager.h#L100'>mv::help().addNotification(...)</a></td>"
"</tr>"
"</table>"
);
}

/**
Expand Down