use of plugin.initiative.gui.PreferencesInitiativePanel 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();
}
Aggregations