List tmpList; tmpList = DesignEngine.getMetaDataDictionary( ).getElements( );
List tmpList = DesignEngine.getMetaDataDictionary( ).getElements( );
	private void setDefaultElementNamePreference( IPreferenceStore store )	{		List tmpList;		tmpList = DesignEngine.getMetaDataDictionary( ).getElements( );		int i;		StringBuffer bufferDefaultName = new StringBuffer( );		StringBuffer bufferCustomName = new StringBuffer( );		StringBuffer bufferPreference = new StringBuffer( );		int nameOption;		IElementDefn elementDefn;		for ( i = 0; i < tmpList.size( ); i++ )		{			elementDefn = (IElementDefn) ( tmpList.get( i ) );			nameOption = elementDefn.getNameOption( );			// only set names for the elements when the element can have a name			if ( nameOption == MetaDataConstants.NO_NAME )			{				continue;			}			nameCount++;			bufferDefaultName.append( elementDefn.getName( ) );			bufferDefaultName.append( PREFERENCE_DELIMITER );			bufferCustomName.append( "" ); //$NON-NLS-1$			bufferCustomName.append( PREFERENCE_DELIMITER );			appendDefaultPreference( elementDefn.getName( ), bufferPreference );		}		store.setDefault( DEFAULT_NAME_PREFERENCE, bufferDefaultName.toString( ) );		store.setDefault( CUSTOM_NAME_PREFERENCE, bufferCustomName.toString( ) );		store.setDefault( DESCRIPTION_PREFERENCE, bufferPreference.toString( ) );	}