Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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 489: create a package named 'com.example.pmsquare' for the plugin classes

 

 

Figure 490: Write com.example.pmsquare in the dialog that appears

Figure 491: Remember to have the “Compact Empty Middle Packages” unchecked in the view settings  , so that you can see the tree structure

Figure 492: On the PMSsquare folder now right click again to create a java class called PMSquare

 

Figure 493: create a java class called PMSquare

 

Figure 494: Make PMSquare class implement PropagationModelPlugin
(and auto implement the needed methods

Figure 495: Press ALT + enter (on PC)

 

Figure 496: Select “implement methods” to auto implement the interface

Figure 497: Results of the auto implementation

 

 

  • No labels