Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove EventListener plugin #1338

Merged
merged 1 commit into from
Nov 22, 2023
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
4 changes: 4 additions & 0 deletions doc/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Cooja User Interface Changes

### Removed the EventListener plugin

This plugin used the deprecated observable pattern.

## Cooja Simulation File Changes

### Expand $(MAKE) in csc files
Expand Down
2 changes: 0 additions & 2 deletions java/org/contikios/cooja/ExtensionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
import org.contikios.cooja.plugins.BaseRSSIconf;
import org.contikios.cooja.plugins.BufferListener;
import org.contikios.cooja.plugins.DGRMConfigurator;
import org.contikios.cooja.plugins.EventListener;
import org.contikios.cooja.plugins.LogListener;
import org.contikios.cooja.plugins.Mobility;
import org.contikios.cooja.plugins.MoteInformation;
Expand Down Expand Up @@ -79,7 +78,6 @@ public class ExtensionManager {
registerBuiltinPlugin(MoteInformation.class);
registerBuiltinPlugin(MoteInterfaceViewer.class);
registerBuiltinPlugin(VariableWatcher.class);
registerBuiltinPlugin(EventListener.class);
registerBuiltinPlugin(RadioLogger.class);
registerBuiltinPlugin(ScriptRunner.class);
registerBuiltinPlugin(Notes.class);
Expand Down
3 changes: 2 additions & 1 deletion java/org/contikios/cooja/Simulation.java
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ public Simulation(SimConfig cfg, Cooja cooja, String title, boolean generateSeed
// Skip plugins that have been removed or merged into other classes.
if ("org.contikios.cooja.plugins.SimControl".equals(pluginClassName) ||
"org.contikios.cooja.plugins.SimInformation".equals(pluginClassName) ||
"org.contikios.cooja.plugins.MoteTypeInformation".equals(pluginClassName)) {
"org.contikios.cooja.plugins.MoteTypeInformation".equals(pluginClassName) ||
"org.contikios.cooja.plugins.EventListener".equals(pluginClassName)) {
continue;
}
// Backwards compatibility: old visualizers were replaced.
Expand Down
357 changes: 0 additions & 357 deletions java/org/contikios/cooja/plugins/EventListener.java

This file was deleted.