use of plugin.notes.gui.NotesView 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();
}
Aggregations