org.universAAL.ui.dm.userInteraction.mainMenu.file
Class FileMainMenuProvider

Package class diagram package FileMainMenuProvider
java.lang.Object
  extended by org.universAAL.ui.dm.userInteraction.mainMenu.file.FileMainMenuProvider
All Implemented Interfaces:
IMainMenuProvider, ISubmitGroupListener
Direct Known Subclasses:
ProfilableFileMainMenuProvider

public class FileMainMenuProvider
extends Object
implements IMainMenuProvider

Author:
amedrano

Field Summary
protected  UserDialogManager userDM
           
 
Constructor Summary
FileMainMenuProvider(UserDialogManager udm)
           
 
Method Summary
 Group getMainMenu(Resource user, AbsLocation location, Form systemForm)
          Generate the IO Group that contains the main menu for the user.
protected  File getMainMenuFile()
           
 void handle(UIResponse response)
          Handle the UIResponse for any of the SubmitionIDs declared in ISubmitGroupListener.listDeclaredSubmitIds().
 Set<String> listDeclaredSubmitIds()
          List the SubmissionIDs implementations of this interface will handle.
protected  MainMenu newMainMenu(ModuleContext ctxt, InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userDM

protected UserDialogManager userDM
Constructor Detail

FileMainMenuProvider

public FileMainMenuProvider(UserDialogManager udm)
Method Detail

handle

public void handle(UIResponse response)
Handle the UIResponse for any of the SubmitionIDs declared in ISubmitGroupListener.listDeclaredSubmitIds().

Specified by:
handle in interface ISubmitGroupListener

listDeclaredSubmitIds

public Set<String> listDeclaredSubmitIds()
List the SubmissionIDs implementations of this interface will handle.

Specified by:
listDeclaredSubmitIds in interface ISubmitGroupListener
Returns:

getMainMenu

public Group getMainMenu(Resource user,
                         AbsLocation location,
                         Form systemForm)
Generate the IO Group that contains the main menu for the user.

Specified by:
getMainMenu in interface IMainMenuProvider

getMainMenuFile

protected File getMainMenuFile()

newMainMenu

protected MainMenu newMainMenu(ModuleContext ctxt,
                               InputStream in)


Copyright © 2014 universAAL Consortium. All Rights Reserved.