String displayName = typeChoicer.getText( ); String category = getCategoryForDisplayName( displayName ); Control control = (Control) categoryPageMaps.get( category ); ( (StackLayout) infoComp.getLayout( ) ).topControl = control; infoComp.layout( );
reLayoutSubPages( );
			public void widgetSelected( SelectionEvent e )			{				String displayName = typeChoicer.getText( );				String category = getCategoryForDisplayName( displayName );				Control control = (Control) categoryPageMaps.get( category );				( (StackLayout) infoComp.getLayout( ) ).topControl = control;				infoComp.layout( );				updatePreview( );			}