*
* and a navigation.graphml.xml file in the above defined directory.
*/
ApplicationConfiguration appConfiguration = new DefaultApplicationConfiguration();
NavigationStructure navigation = appConfiguration.getNavigationStructure();
/**
* The menu handler controls the use cases.
*/
MultipleMenuHandler<Component> menuHandler = new MultipleMenuHandler<Component>(navigation.getNavigation(),null, new Object[]{"Main Menu", 4, navigation.getMainRoot()}, new Object[]{"Minor Menu", 1, navigation.getMinorRoot()});
menuHandler.setUseCaseFactory(new ConstantUseCaseFactory<Component>(new ComponentUseCase<Component>(new Label("Use Case"))));