Search in sources :

Example 1 with PreferencesMassiveDamagePanel

use of plugin.initiative.gui.PreferencesMassiveDamagePanel in project pcgen by PCGen.

the class InitiativePlugin method start.

/**
	 * Starts the plugin, registering itself with the {@code TabAddMessage}.
	 */
@Override
public void start(PCGenMessageHandler mh) {
    messageHandler = mh;
    theView = new Initiative();
    messageHandler.handleMessage(new RequestAddPreferencesPanelMessage(this, name, new PreferencesDamagePanel()));
    messageHandler.handleMessage(new RequestAddPreferencesPanelMessage(this, name, new PreferencesMassiveDamagePanel()));
    messageHandler.handleMessage(new RequestAddPreferencesPanelMessage(this, name, new PreferencesInitiativePanel()));
    messageHandler.handleMessage(new RequestAddPreferencesPanelMessage(this, name, new PreferencesPerformancePanel()));
    theView.setLog(LogUtilities.inst());
    messageHandler.handleMessage(new RequestAddTabToGMGenMessage(this, name, getView()));
    initMenus();
}
Also used : RequestAddTabToGMGenMessage(gmgen.pluginmgr.messages.RequestAddTabToGMGenMessage) PreferencesDamagePanel(plugin.initiative.gui.PreferencesDamagePanel) PreferencesPerformancePanel(plugin.initiative.gui.PreferencesPerformancePanel) PreferencesInitiativePanel(plugin.initiative.gui.PreferencesInitiativePanel) RequestAddPreferencesPanelMessage(gmgen.pluginmgr.messages.RequestAddPreferencesPanelMessage) PreferencesMassiveDamagePanel(plugin.initiative.gui.PreferencesMassiveDamagePanel) Initiative(plugin.initiative.gui.Initiative)

Aggregations

RequestAddPreferencesPanelMessage (gmgen.pluginmgr.messages.RequestAddPreferencesPanelMessage)1 RequestAddTabToGMGenMessage (gmgen.pluginmgr.messages.RequestAddTabToGMGenMessage)1 Initiative (plugin.initiative.gui.Initiative)1 PreferencesDamagePanel (plugin.initiative.gui.PreferencesDamagePanel)1 PreferencesInitiativePanel (plugin.initiative.gui.PreferencesInitiativePanel)1 PreferencesMassiveDamagePanel (plugin.initiative.gui.PreferencesMassiveDamagePanel)1 PreferencesPerformancePanel (plugin.initiative.gui.PreferencesPerformancePanel)1