A18.3.2 Development
We first create a package named 'com.example.pmsquare' for the plugin classes. This is done by right clicking the 'src/main/java' folder and selecting new->package
Figure 496: create a package named 'com.example.pmsquare' for the plugin classes
Figure 497: Write com.example.pmsquare in the dialog that appears
Figure 498: Remember to have the “Compact Empty Middle Packages” unchecked in the view settings , so that you can see the tree structure
Figure 499: On the PMSsquare folder now right click again to create a java class called PMSquare
Figure 500: create a java class called PMSquare
Figure 501: Make PMSquare class implement PropagationModelPlugin
(and auto implement the needed methods
Figure 502: Press ALT + enter (on PC)
Figure 503: Select “implement methods” to auto implement the interface
Figure 504: Results of the auto implementation