public class AggregatedMainMenuProvider extends Object implements IMainMenuProvider
IMainMenuProvider
sConstructor and Description |
---|
AggregatedMainMenuProvider() |
Modifier and Type | Method and Description |
---|---|
void |
add(IMainMenuProvider mmp)
Add a new
IMainMenuProvider to the aggregate. |
Group |
getMainMenu(Resource user,
AbsLocation location,
Form systemForm)
Generate the IO
Group that contains the main menu for the user. |
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.
|
void |
remove(IMainMenuProvider mmp)
Remove a
IMainMenuProvider from the aggregation. |
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
public void add(IMainMenuProvider mmp)
IMainMenuProvider
to the aggregate.mmp
- the IMainMenuProvider
to be aggregated.public void remove(IMainMenuProvider mmp)
IMainMenuProvider
from the aggregation.mmp
- the IMainMenuProvider
to be removed.Copyright © 2018 universAAL Consortium. All rights reserved.