Class BattleAnalyzerPlugIn

  • All Implemented Interfaces:
    MagellanPlugIn

    public class BattleAnalyzerPlugIn
    extends java.lang.Object
    implements MagellanPlugIn
    Analyzes battle reports.
    Author:
    stm
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.awt.Component> getDocks()
      Returns a list of dock elements or null, if the PlugIn has no docks.
      java.util.List<javax.swing.JMenuItem> getMenuItems()
      Returns the menu items that should be added to the Magellan PlugIn menu.
      java.lang.String getName()
      Returns the Name of the PlugIn.
      PreferencesFactory getPreferencesProvider()
      This method is used to find out, if the PlugIn has a preferences dialog that should be used inside the options window of Magellan.
      protected static java.lang.String getString​(java.lang.String key)  
      protected static java.lang.String getString​(java.lang.String key, java.lang.Object... args)  
      void init​(Client _client, java.util.Properties _properties)
      This method is called during client start up procedure.
      void init​(GameData data)
      This method is called every time the user has loaded a file into Magellan (open or add).
      void quit​(boolean storeSettings)
      This method is called whenever the application stops.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BattleAnalyzerPlugIn

        public BattleAnalyzerPlugIn()
    • Method Detail

      • getMenuItems

        public java.util.List<javax.swing.JMenuItem> getMenuItems()
        Description copied from interface: MagellanPlugIn
        Returns the menu items that should be added to the Magellan PlugIn menu. You can return multiple menu items for every kind of action that is available in your PlugIn.
        Specified by:
        getMenuItems in interface MagellanPlugIn
        See Also:
        MagellanPlugIn.getMenuItems()
      • getString

        protected static java.lang.String getString​(java.lang.String key,
                                                    java.lang.Object... args)
      • getString

        protected static java.lang.String getString​(java.lang.String key)
      • getPreferencesProvider

        public PreferencesFactory getPreferencesProvider()
        Description copied from interface: MagellanPlugIn
        This method is used to find out, if the PlugIn has a preferences dialog that should be used inside the options window of Magellan. If you don't want to build a preferences dialog return null.
        Specified by:
        getPreferencesProvider in interface MagellanPlugIn