mixconfig.Menu Class Reference

Inherits java::awt::event::ActionListener, and JAPHelpContext::IHelpContext.

List of all members.

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"


Constructor & Destructor Documentation

mixconfig.Menu.Menu ( JFrame  mainWin,
JRootPane  rootPane,
ConfigWizard  configWiz_Panel,
ConfigFrame  configFrame_Panel 
)


Member Function Documentation

String mixconfig.Menu.getHelpContext (  ) 

void mixconfig.Menu.exit (  ) 

void mixconfig.Menu.reset ( boolean  a_bStartNewConfiguration  )  throws XMLParseException, IOException

void mixconfig.Menu.actionPerformed ( ActionEvent  evt  ) 

void mixconfig.Menu.reset (  )  throws XMLParseException, IOException [private]

void mixconfig.Menu.checkUnuseableMenuItem (  )  [protected]

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.

Exceptions:
IOException 
Returns:
true if there are no inconsistencies or inconsistencies should be ignored false otherwise

References mixconfig.ConfigFrame.check(), mixconfig.Menu.m_configFrame_Panel, and mixconfig.Menu.MSG_IGNORE_INCONSISTENCIES.

Referenced by mixconfig.Menu.actionPerformed().

Container mixconfig.Menu.getHelpExtractionDisplayContext (  ) 


Member Data Documentation

final String mixconfig.Menu.CMD_OPEN_FILE = "Open" [static]

final String mixconfig.Menu.CMD_OPEN_FILE_WIZARD = "OpenWizard" [static]

final String mixconfig.Menu.CMD_RESET = "Reset" [static]

final String mixconfig.Menu.CMD_NEW_FROM_CANCEL = "New_from_Cancel" [static]

final String mixconfig.Menu.WIZARD = "wizard" [static, private]

final String mixconfig.Menu.EXPERT = "expert" [static, private]

final String mixconfig.Menu.START = "start" [static, private]

final String mixconfig.Menu.MSG_NO_VALID_CLIPDOC = Menu.class.getName() + "_noValidClipdoc" [static, private]

final String mixconfig.Menu.MSG_COULD_NOT_PARSE = Menu.class.getName() + "_couldNotParse" [static, private]

final String mixconfig.Menu.MSG_REALLY_CONTINUE = Menu.class.getName() + "_reallyContinue" [static, private]

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]

JFrame mixconfig.Menu.m_mainWin [private]

Referenced by mixconfig.Menu.Menu().

JMenuBar mixconfig.Menu.m_MenuBar [private]

JMenuItem mixconfig.Menu.m_defaultSize [private]

JCheckBoxMenuItem mixconfig.Menu.m_changeViewToWizMenuItem [private]

JCheckBoxMenuItem mixconfig.Menu.m_changeViewToExpertMenuItem [private]

JMenuItem mixconfig.Menu.m_saveMenuItem [private]

JMenuItem mixconfig.Menu.m_saveAsMenuItem [private]

JMenuItem mixconfig.Menu.m_saveclipItem [private]

JMenuItem mixconfig.Menu.m_checkItem [private]

JMenuItem mixconfig.Menu.m_newMenuItem [private]

JMenuItem mixconfig.Menu.m_openMenuItem [private]

JMenuItem mixconfig.Menu.m_openclipItem [private]

JMenuItem mixconfig.Menu.m_helpTopics [protected]

JMenu mixconfig.Menu.m_toolsMenu [private]

JMenu mixconfig.Menu.m_fileMenu [private]

Referenced by mixconfig.Menu.Menu().


The documentation for this class was generated from the following file:

Generated on Mon Nov 16 23:24:47 2009 for MixConfig by  doxygen 1.5.6