Search in sources :

Example 1 with NameGenPanel

use of pcgen.gui2.doomsdaybook.NameGenPanel in project pcgen by PCGen.

the class RandomNamePlugin method start.

/**
	 * Starts the plugin, registering itself with the {@code TabAddMessage}.
	 */
@Override
public void start(PCGenMessageHandler mh) {
    messageHandler = mh;
    theView = new NameGenPanel(getDataDirectory());
    messageHandler.handleMessage(new RequestAddTabToGMGenMessage(this, RandomNamePlugin.getLocalizedName(), getView()));
    initMenus();
}
Also used : RequestAddTabToGMGenMessage(gmgen.pluginmgr.messages.RequestAddTabToGMGenMessage) NameGenPanel(pcgen.gui2.doomsdaybook.NameGenPanel)

Aggregations

RequestAddTabToGMGenMessage (gmgen.pluginmgr.messages.RequestAddTabToGMGenMessage)1 NameGenPanel (pcgen.gui2.doomsdaybook.NameGenPanel)1