Search in sources :

Example 1 with RequestFileOpenedMessageForCurrentlyOpenedPCsMessage

use of pcgen.pluginmgr.messages.RequestFileOpenedMessageForCurrentlyOpenedPCsMessage in project pcgen by PCGen.

the class GMGenSystem method initialize.

private void initialize() {
    Utility.configurePlatformUI();
    if (SystemUtils.IS_OS_MAC_OSX) {
        macOSXRegistration();
    }
    Utility.setApplicationTitle(APPLICATION_NAME);
    inst = this;
    initLogger();
    createMenuBar();
    theView = new GMGenSystemView();
    pluginManager.addMember(this);
    PluginManager.getInstance().startAllPlugins();
    initComponents();
    initSettings();
    messageHandler.handleMessage(new RequestFileOpenedMessageForCurrentlyOpenedPCsMessage(this));
    messageHandler.handleMessage(new FocusOrStateChangeOccurredMessage(this, editMenu));
    inst.setVisible(true);
}
Also used : RequestFileOpenedMessageForCurrentlyOpenedPCsMessage(pcgen.pluginmgr.messages.RequestFileOpenedMessageForCurrentlyOpenedPCsMessage) FocusOrStateChangeOccurredMessage(pcgen.pluginmgr.messages.FocusOrStateChangeOccurredMessage)

Aggregations

FocusOrStateChangeOccurredMessage (pcgen.pluginmgr.messages.FocusOrStateChangeOccurredMessage)1 RequestFileOpenedMessageForCurrentlyOpenedPCsMessage (pcgen.pluginmgr.messages.RequestFileOpenedMessageForCurrentlyOpenedPCsMessage)1