final String displayLabel = Messages.getString( categories[i] );
final String displayLabel = Messages.getString( categories.getValue( i ).toString( ) ); final String categoryKey = categories.getKeyList( ).get( i ).toString( );
		public ICategoryPage[] getCategories( )		{			List pageList = new ArrayList( categories.length );			for ( int i = 0; i < categories.length; i++ )			{				final String displayLabel = Messages.getString( categories[i] );				final Object pane = paneObjects[i];				if ( pane instanceof Class )				{					pageList.add( new CategoryPage( displayLabel, (Class) pane ) );				}				else if ( pane instanceof PageWrapper )				{					pageList.add( new ICategoryPage( ) {						public String getDisplayLabel( )						{							return displayLabel;						}						public TabPage createPage( )						{							return ( (PageWrapper) pane ).getPage( );						}					} );				}			}			return (ICategoryPage[]) pageList.toArray( new ICategoryPage[0] );		}