cst.loggingTool.presentationLayer
Class AbstractMenu

java.lang.Object
  extended by cst.loggingTool.presentationLayer.AbstractMenu
Direct Known Subclasses:
DatabaseMenu, FiltersMenu, HelpMenu, OptionsMenu, ReportsMenu

public abstract class AbstractMenu
extends java.lang.Object


 Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software 
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.  
 

Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Field Summary
protected  User currentUser
           
protected  Log log
           
protected  javax.swing.JMenu menu
           
protected  PluginManager pluginManager
           
protected  SessionProperties sessionProperties
           
protected  UserInterfaceFactory userInterfaceFactory
           
 
Constructor Summary
AbstractMenu(SessionProperties sessionProperties)
           
 
Method Summary
protected  User getCurrentUser()
           
 javax.swing.JMenu getMenu()
           
protected  void logException(CSTException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionProperties

protected SessionProperties sessionProperties

userInterfaceFactory

protected UserInterfaceFactory userInterfaceFactory

pluginManager

protected PluginManager pluginManager

menu

protected javax.swing.JMenu menu

currentUser

protected User currentUser

log

protected Log log
Constructor Detail

AbstractMenu

public AbstractMenu(SessionProperties sessionProperties)
Method Detail

getMenu

public javax.swing.JMenu getMenu()

getCurrentUser

protected User getCurrentUser()

logException

protected void logException(CSTException exception)