Search in sources :

Example 1 with PCGTrackerView

use of plugin.pcgtracker.gui.PCGTrackerView in project pcgen by PCGen.

the class PCGTrackerPlugin method start.

/**
	 * Starts the plugin, registering itself with the {@code TabAddMessage}.
	 */
@Override
public void start(PCGenMessageHandler mh) {
    messageHandler = mh;
    theView = new PCGTrackerView();
    theView.getLoadedList().setModel(model);
    initListeners();
    messageHandler.handleMessage(new RequestAddTabToGMGenMessage(this, getLocalizedName(), getView()));
    initMenus();
}
Also used : RequestAddTabToGMGenMessage(gmgen.pluginmgr.messages.RequestAddTabToGMGenMessage) PCGTrackerView(plugin.pcgtracker.gui.PCGTrackerView)

Aggregations

RequestAddTabToGMGenMessage (gmgen.pluginmgr.messages.RequestAddTabToGMGenMessage)1 PCGTrackerView (plugin.pcgtracker.gui.PCGTrackerView)1