From: SourceForge.net <no...@so...> - 2011-07-13 17:04:40
|
Feature Requests item #1495035, was opened at 2006-05-25 11:54 Message generated for change (Comment added) made by papa_drb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384722&aid=1495035&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Code Related (Add/Del/Improve) Group: For 6.0 >Status: Deleted Resolution: None Priority: 4 Private: No Submitted By: Jonas Karlsson (jujutsunerd) Assigned to: Nobody/Anonymous (nobody) Summary: Clean up pcgen startup Initial Comment: Separate gui and nongui inteo separate classes, generally clean up. Some notes on what the startup should do: Common startup: * Die if java version too low * Handle parameters and save them for later use * Read and/or create startup.ini * Startup plugin engine * Check if it's a gui or nongui run and start the appropriate class. (I.e. don't start pcGenGUI if you don't need a gui. Quite possibly these will have a common parent.) Gui startup: * Show splash screen * Setup message stuff * Setup os-specific stuff (currently Tod's mac stuff), most likely moved to a class of it's own. * Setup lnf (defaulting to systemspecific if not found in startup.ini, otherwise using default one from there) * Handle location of options.ini * Read options.ini * Process parameters * Setup gui (location, maximized, etc) from properties * Enable/disable menu items * Show main frame * If everything ok, load campaigns/parties/characters as indicated on commandline and options file * Maybe show tip of the day Nongui startup * Die if location of options.ini not set on command line * Read options.ini * Setup message stuff * Load and export character, then die: * Die if java version too low * Handle parameters and save them for later use * Read and/or create startup.ini * Startup plugin engine * Check if it's a gui or nongui run and start the appropriate class. (I.e. don't start pcGenGUI if you don't need a gui. Quite possibly these will have a common parent.) Gui startup: * Show splash screen * Setup message stuff * Setup os-specific stuff (currently Tod's mac stuff), most likely moved to a class of it's own. * Setup lnf (defaulting to systemspecific if not found in startup.ini, otherwise using default one from there) * Handle location of options.ini * Read options.ini * Process parameters * Setup gui (location, maximized, etc) from properties * Enable/disable menu items * Show main frame * If everything ok, load campaigns/parties/characters as indicated on commandline and options file * Maybe show tip of the day Nongui startup * Die if location of options.ini not set on command line * Read options.ini * Setup message stuff * Load and export character, then die ---------------------------------------------------------------------- >Comment By: David R. Bender (papa_drb) Date: 2011-07-13 13:04 Message: http://jira.pcgen.org/browse/CODE-820 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384722&aid=1495035&group_id=25576 |