Search in sources :

Example 1 with EncounterView

use of plugin.encounter.gui.EncounterView in project pcgen by PCGen.

the class EncounterPlugin method start.

/**
	 * Starts the plugin, registering itself with the {@code TabAddMessage}.
	 */
@Override
public void start(PCGenMessageHandler mh) {
    messageHandler = mh;
    theModel = new EncounterModel();
    theView = new EncounterView();
    theRaces = new RaceModel();
    theList = new InitHolderList();
    createView();
    messageHandler.handleMessage(new RequestAddTabToGMGenMessage(this, getLocalizedName(), getView()));
    initMenus();
}
Also used : RequestAddTabToGMGenMessage(gmgen.pluginmgr.messages.RequestAddTabToGMGenMessage) InitHolderList(gmgen.plugin.InitHolderList) EncounterView(plugin.encounter.gui.EncounterView)

Aggregations

InitHolderList (gmgen.plugin.InitHolderList)1 RequestAddTabToGMGenMessage (gmgen.pluginmgr.messages.RequestAddTabToGMGenMessage)1 EncounterView (plugin.encounter.gui.EncounterView)1