public class FileMainMenuProvider extends Object implements IMainMenuProvider
Modifier and Type | Field and Description |
---|---|
protected UserDialogManager |
userDM |
Constructor and Description |
---|
FileMainMenuProvider(UserDialogManager udm) |
Modifier and Type | Method and Description |
---|---|
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) |
protected UserDialogManager userDM
public FileMainMenuProvider(UserDialogManager udm)
public void handle(UIResponse response)
UIResponse
for any of the SubmitionIDs declared in
ISubmitGroupListener.listDeclaredSubmitIds()
.handle
in interface ISubmitGroupListener
public Set<String> listDeclaredSubmitIds()
listDeclaredSubmitIds
in interface ISubmitGroupListener
public Group getMainMenu(Resource user, AbsLocation location, Form systemForm)
Group
that contains the main menu for the user.getMainMenu
in interface IMainMenuProvider
protected File getMainMenuFile()
protected MainMenu newMainMenu(ModuleContext ctxt, InputStream in)
Copyright © 2018 universAAL Consortium. All rights reserved.