create changelog entry
[debian/openrocket] / core / src / net / sf / openrocket / plugin / example / ExampleService.java
1 package net.sf.openrocket.plugin.example;
2
3 import java.util.ArrayList;
4 import java.util.List;
5
6 import net.sf.openrocket.plugin.framework.AbstractService;
7 import net.xeoh.plugins.base.annotations.PluginImplementation;
8
9 @PluginImplementation
10 public class ExampleService extends AbstractService<ExamplePluginInterface> {
11         
12         protected ExampleService() {
13                 super(ExamplePluginInterface.class);
14         }
15         
16         @Override
17         protected List<ExamplePluginInterface> getPlugins(Object... args) {
18                 List<ExamplePluginInterface> plugins = new ArrayList<ExamplePluginInterface>();
19                 plugins.add(new ExamplePlugin("a"));
20                 plugins.add(new ExamplePlugin("b"));
21                 return plugins;
22         }
23         
24 }