use of plugin.experience.gui.ExperienceAdjusterView in project pcgen by PCGen.
the class ExperienceAdjusterPlugin method start.
/**
* Starts the plugin, registering itself with the {@code TabAddMessage}.
*/
@Override
public void start(PCGenMessageHandler mh) {
messageHandler = mh;
eaModel = new ExperienceAdjusterModel(getDataDirectory());
eaView = new ExperienceAdjusterView(eaModel);
messageHandler.handleMessage(new RequestAddPreferencesPanelMessage(this, getLocalizedName(), new PreferencesExperiencePanel()));
initListeners();
update();
messageHandler.handleMessage(new RequestAddTabToGMGenMessage(this, getLocalizedName(), getView()));
initMenus();
}
Aggregations