Public Member Functions | |
Menu (JFrame mainWin, JRootPane rootPane, ConfigWizard configWiz_Panel, ConfigFrame configFrame_Panel) | |
String | getHelpContext () |
void | exit () |
void | reset (boolean a_bStartNewConfiguration) throws XMLParseException, IOException |
void | actionPerformed (ActionEvent evt) |
Container | getHelpExtractionDisplayContext () |
Static Public Attributes | |
static final String | CMD_OPEN_FILE = "Open" |
static final String | CMD_OPEN_FILE_WIZARD = "OpenWizard" |
static final String | CMD_RESET = "Reset" |
static final String | CMD_NEW_FROM_CANCEL = "New_from_Cancel" |
Protected Member Functions | |
void | checkUnuseableMenuItem () |
Protected Attributes | |
JMenuItem | m_helpTopics |
Private Member Functions | |
void | reset () throws XMLParseException, IOException |
boolean | ignoreInconsistenciesForSaving () throws IOException |
Private Attributes | |
JFrame | m_mainWin |
JMenuBar | m_MenuBar |
ConfigFrame | m_configFrame_Panel |
ConfigWizard | m_configWiz_Panel |
JMenuItem | m_defaultSize |
JCheckBoxMenuItem | m_changeViewToWizMenuItem |
JCheckBoxMenuItem | m_changeViewToExpertMenuItem |
JMenuItem | m_saveMenuItem |
JMenuItem | m_saveAsMenuItem |
JMenuItem | m_saveclipItem |
JMenuItem | m_checkItem |
JMenuItem | m_newMenuItem |
JMenuItem | m_openMenuItem |
JMenuItem | m_openclipItem |
JMenu | m_toolsMenu |
JMenu | m_fileMenu |
Static Private Attributes | |
static final String | WIZARD = "wizard" |
static final String | EXPERT = "expert" |
static final String | START = "start" |
static final String | MSG_NO_VALID_CLIPDOC = Menu.class.getName() + "_noValidClipdoc" |
static final String | MSG_COULD_NOT_PARSE = Menu.class.getName() + "_couldNotParse" |
static final String | MSG_REALLY_CONTINUE = Menu.class.getName() + "_reallyContinue" |
static final String | MSG_FILE = Menu.class.getName() + "_file" |
static final String | MSG_TOOLS = Menu.class.getName() + "_tools" |
static final String | MSG_VIEW = Menu.class.getName() + "_view" |
static final String | MSG_EMAIL = Menu.class.getName() + "_email" |
static final String | MSG_IGNORE_INCONSISTENCIES = Menu.class.getName() + "_ignoreInconsistencies" |
mixconfig.Menu.Menu | ( | JFrame | mainWin, | |
JRootPane | rootPane, | |||
ConfigWizard | configWiz_Panel, | |||
ConfigFrame | configFrame_Panel | |||
) |
References mixconfig.Menu.CMD_OPEN_FILE, mixconfig.Menu.m_changeViewToExpertMenuItem, mixconfig.Menu.m_changeViewToWizMenuItem, mixconfig.Menu.m_checkItem, mixconfig.Menu.m_configFrame_Panel, mixconfig.Menu.m_configWiz_Panel, mixconfig.Menu.m_defaultSize, mixconfig.Menu.m_fileMenu, mixconfig.Menu.m_mainWin, mixconfig.Menu.m_MenuBar, mixconfig.Menu.m_newMenuItem, mixconfig.Menu.m_openclipItem, mixconfig.Menu.m_openMenuItem, mixconfig.Menu.m_saveAsMenuItem, mixconfig.Menu.m_saveclipItem, mixconfig.Menu.m_saveMenuItem, mixconfig.Menu.m_toolsMenu, mixconfig.Menu.MSG_EMAIL, mixconfig.Menu.MSG_FILE, mixconfig.Menu.MSG_TOOLS, and mixconfig.Menu.MSG_VIEW.
String mixconfig.Menu.getHelpContext | ( | ) |
void mixconfig.Menu.exit | ( | ) |
References mixconfig.Menu.MSG_REALLY_CONTINUE.
Referenced by mixconfig.Menu.actionPerformed(), and mixconfig.MixConfig.main().
void mixconfig.Menu.reset | ( | boolean | a_bStartNewConfiguration | ) | throws XMLParseException, IOException |
References mixconfig.wizard.ConfigWizard.changeButtonLabelToNext(), mixconfig.ChoicePanel.getActiveCard(), mixconfig.Menu.m_changeViewToExpertMenuItem, mixconfig.Menu.m_changeViewToWizMenuItem, mixconfig.Menu.m_configWiz_Panel, mixconfig.Menu.MSG_REALLY_CONTINUE, mixconfig.Menu.reset(), mixconfig.ChoicePanel.setExpertVisible(), mixconfig.ChoicePanel.setStartScreenVisible(), mixconfig.Menu.START, and mixconfig.wizard.ConfigWizard.stateChanged().
void mixconfig.Menu.actionPerformed | ( | ActionEvent | evt | ) |
References mixconfig.ConfigFrame.check(), mixconfig.Menu.CMD_NEW_FROM_CANCEL, mixconfig.Menu.CMD_OPEN_FILE, mixconfig.Menu.CMD_OPEN_FILE_WIZARD, mixconfig.Menu.CMD_RESET, mixconfig.Menu.exit(), mixconfig.ChoicePanel.getActiveCard(), mixconfig.wizard.ConfigWizard.getCurrentPageClass(), mixconfig.Menu.ignoreInconsistenciesForSaving(), mixconfig.MixConfiguration.isSavedToFile(), mixconfig.ConfigFrame.load(), mixconfig.wizard.ConfigWizard.load(), mixconfig.Menu.m_changeViewToExpertMenuItem, mixconfig.Menu.m_changeViewToWizMenuItem, mixconfig.Menu.m_configFrame_Panel, mixconfig.Menu.m_configWiz_Panel, mixconfig.Menu.m_defaultSize, mixconfig.Menu.m_MenuBar, mixconfig.Menu.m_saveMenuItem, mixconfig.Menu.MSG_COULD_NOT_PARSE, mixconfig.Menu.MSG_NO_VALID_CLIPDOC, mixconfig.MixConfiguration.performReloadCheck(), mixconfig.wizard.ConfigWizard.reset(), mixconfig.ConfigFrame.reset(), mixconfig.Menu.reset(), mixconfig.MixConfiguration.save(), mixconfig.ConfigFrame.setActivePanel(), mixconfig.wizard.ConfigWizard.setConfiguration(), mixconfig.ConfigFrame.setConfiguration(), mixconfig.ChoicePanel.setExpertVisible(), mixconfig.MixConfiguration.setMixConfiguration(), mixconfig.MixConfiguration.setSavedToFile(), mixconfig.ChoicePanel.setWizardVisible(), and mixconfig.Menu.START.
Referenced by mixconfig.panels.StartScreenPanel.actionPerformed(), and mixconfig.wizard.ConfigWizard.actionPerformed().
void mixconfig.Menu.reset | ( | ) | throws XMLParseException, IOException [private] |
Clears all data in the panels and restarts with a new configuration object.
IOException | If a communication error occurs | |
XMLParseException | If an XML error occurs |
References mixconfig.ChoicePanel.getActiveCard(), mixconfig.Menu.m_configFrame_Panel, mixconfig.Menu.m_configWiz_Panel, mixconfig.Menu.m_saveMenuItem, mixconfig.wizard.ConfigWizard.reset(), mixconfig.ConfigFrame.reset(), mixconfig.wizard.ConfigWizard.setConfiguration(), mixconfig.ConfigFrame.setConfiguration(), mixconfig.MixConfiguration.setSavedToFile(), mixconfig.ChoicePanel.setWizardVisible(), and mixconfig.Menu.START.
Referenced by mixconfig.Menu.actionPerformed(), and mixconfig.Menu.reset().
void mixconfig.Menu.checkUnuseableMenuItem | ( | ) | [protected] |
References mixconfig.Menu.EXPERT, mixconfig.ChoicePanel.getActiveCard(), mixconfig.Menu.m_changeViewToExpertMenuItem, mixconfig.Menu.m_changeViewToWizMenuItem, mixconfig.Menu.m_checkItem, mixconfig.Menu.m_configWiz_Panel, mixconfig.Menu.m_newMenuItem, mixconfig.Menu.m_openclipItem, mixconfig.Menu.m_openMenuItem, mixconfig.Menu.m_saveAsMenuItem, mixconfig.Menu.m_saveclipItem, mixconfig.Menu.m_toolsMenu, mixconfig.Menu.START, and mixconfig.Menu.WIZARD.
Referenced by mixconfig.ChoicePanel.setExpertVisible(), mixconfig.ChoicePanel.setStartScreenVisible(), and mixconfig.ChoicePanel.setWizardVisible().
boolean mixconfig.Menu.ignoreInconsistenciesForSaving | ( | ) | throws IOException [private] |
If there are inconsistencies in the current configuration, ask the user if he wants to ignore them for saving.
IOException |
References mixconfig.ConfigFrame.check(), mixconfig.Menu.m_configFrame_Panel, and mixconfig.Menu.MSG_IGNORE_INCONSISTENCIES.
Referenced by mixconfig.Menu.actionPerformed().
Container mixconfig.Menu.getHelpExtractionDisplayContext | ( | ) |
final String mixconfig.Menu.CMD_OPEN_FILE = "Open" [static] |
Referenced by mixconfig.Menu.actionPerformed(), and mixconfig.Menu.Menu().
final String mixconfig.Menu.CMD_OPEN_FILE_WIZARD = "OpenWizard" [static] |
Referenced by mixconfig.Menu.actionPerformed().
final String mixconfig.Menu.CMD_RESET = "Reset" [static] |
Referenced by mixconfig.Menu.actionPerformed().
final String mixconfig.Menu.CMD_NEW_FROM_CANCEL = "New_from_Cancel" [static] |
Referenced by mixconfig.Menu.actionPerformed().
final String mixconfig.Menu.WIZARD = "wizard" [static, private] |
Referenced by mixconfig.Menu.checkUnuseableMenuItem().
final String mixconfig.Menu.EXPERT = "expert" [static, private] |
Referenced by mixconfig.Menu.checkUnuseableMenuItem().
final String mixconfig.Menu.START = "start" [static, private] |
final String mixconfig.Menu.MSG_NO_VALID_CLIPDOC = Menu.class.getName() + "_noValidClipdoc" [static, private] |
Referenced by mixconfig.Menu.actionPerformed().
final String mixconfig.Menu.MSG_COULD_NOT_PARSE = Menu.class.getName() + "_couldNotParse" [static, private] |
Referenced by mixconfig.Menu.actionPerformed().
final String mixconfig.Menu.MSG_REALLY_CONTINUE = Menu.class.getName() + "_reallyContinue" [static, private] |
Referenced by mixconfig.Menu.exit(), and mixconfig.Menu.reset().
final String mixconfig.Menu.MSG_FILE = Menu.class.getName() + "_file" [static, private] |
Referenced by mixconfig.Menu.Menu().
final String mixconfig.Menu.MSG_TOOLS = Menu.class.getName() + "_tools" [static, private] |
Referenced by mixconfig.Menu.Menu().
final String mixconfig.Menu.MSG_VIEW = Menu.class.getName() + "_view" [static, private] |
Referenced by mixconfig.Menu.Menu().
final String mixconfig.Menu.MSG_EMAIL = Menu.class.getName() + "_email" [static, private] |
Referenced by mixconfig.Menu.Menu().
final String mixconfig.Menu.MSG_IGNORE_INCONSISTENCIES = Menu.class.getName() + "_ignoreInconsistencies" [static, private] |
Referenced by mixconfig.Menu.ignoreInconsistenciesForSaving().
JFrame mixconfig.Menu.m_mainWin [private] |
Referenced by mixconfig.Menu.Menu().
JMenuBar mixconfig.Menu.m_MenuBar [private] |
Referenced by mixconfig.Menu.actionPerformed(), and mixconfig.Menu.Menu().
ConfigWizard mixconfig.Menu.m_configWiz_Panel [private] |
JMenuItem mixconfig.Menu.m_defaultSize [private] |
Referenced by mixconfig.Menu.actionPerformed(), and mixconfig.Menu.Menu().
JCheckBoxMenuItem mixconfig.Menu.m_changeViewToWizMenuItem [private] |
JCheckBoxMenuItem mixconfig.Menu.m_changeViewToExpertMenuItem [private] |
JMenuItem mixconfig.Menu.m_saveMenuItem [private] |
Referenced by mixconfig.Menu.actionPerformed(), mixconfig.Menu.Menu(), and mixconfig.Menu.reset().
JMenuItem mixconfig.Menu.m_saveAsMenuItem [private] |
Referenced by mixconfig.Menu.checkUnuseableMenuItem(), and mixconfig.Menu.Menu().
JMenuItem mixconfig.Menu.m_saveclipItem [private] |
Referenced by mixconfig.Menu.checkUnuseableMenuItem(), and mixconfig.Menu.Menu().
JMenuItem mixconfig.Menu.m_checkItem [private] |
Referenced by mixconfig.Menu.checkUnuseableMenuItem(), and mixconfig.Menu.Menu().
JMenuItem mixconfig.Menu.m_newMenuItem [private] |
Referenced by mixconfig.Menu.checkUnuseableMenuItem(), and mixconfig.Menu.Menu().
JMenuItem mixconfig.Menu.m_openMenuItem [private] |
Referenced by mixconfig.Menu.checkUnuseableMenuItem(), and mixconfig.Menu.Menu().
JMenuItem mixconfig.Menu.m_openclipItem [private] |
Referenced by mixconfig.Menu.checkUnuseableMenuItem(), and mixconfig.Menu.Menu().
JMenuItem mixconfig.Menu.m_helpTopics [protected] |
JMenu mixconfig.Menu.m_toolsMenu [private] |
Referenced by mixconfig.Menu.checkUnuseableMenuItem(), and mixconfig.Menu.Menu().
JMenu mixconfig.Menu.m_fileMenu [private] |
Referenced by mixconfig.Menu.Menu().