Search in sources :

Example 1 with PreferencesNotesPanel

use of plugin.notes.gui.PreferencesNotesPanel in project pcgen by PCGen.

the class NotesPlugin method start.

/**
	 * Starts the plugin, registering itself with the {@code TabAddMessage}.
	 */
@Override
public void start(PCGenMessageHandler mh) {
    messageHandler = mh;
    String name = NAME;
    messageHandler.handleMessage(new RequestAddPreferencesPanelMessage(this, name, new PreferencesNotesPanel()));
    theView = new NotesView(getDataDirectory(), this);
    messageHandler.handleMessage(new RequestAddTabToGMGenMessage(this, name, getView()));
    initMenus();
}
Also used : RequestAddTabToGMGenMessage(gmgen.pluginmgr.messages.RequestAddTabToGMGenMessage) PreferencesNotesPanel(plugin.notes.gui.PreferencesNotesPanel) NotesView(plugin.notes.gui.NotesView) RequestAddPreferencesPanelMessage(gmgen.pluginmgr.messages.RequestAddPreferencesPanelMessage)

Aggregations

RequestAddPreferencesPanelMessage (gmgen.pluginmgr.messages.RequestAddPreferencesPanelMessage)1 RequestAddTabToGMGenMessage (gmgen.pluginmgr.messages.RequestAddTabToGMGenMessage)1 NotesView (plugin.notes.gui.NotesView)1 PreferencesNotesPanel (plugin.notes.gui.PreferencesNotesPanel)1