library.getSlot( Library.THEMES_SLOT ).add( theme );
library.getSlot( ILibraryModel.THEMES_SLOT ).add( theme );
	public static void insertCompatibleThemeToLibrary( Library library,			Theme theme )	{		assert library != null;		assert theme != null;		// The name should not be null if it is required. The parser state		// should have already caught this case.		String name = theme.getName( );		assert !StringUtil.isBlank( name )				&& ModelMessages.getMessage( Theme.DEFAULT_THEME_NAME ).equals(						name );		NameSpace ns = library.getNameSpace( Library.THEME_NAME_SPACE );		assert library.getModuleNameSpace( Library.THEME_NAME_SPACE )				.canContain( name );		ns.insert( theme );		// Add the item to the container.		library.getSlot( Library.THEMES_SLOT ).add( theme );		// Cache the inverse relationship.		theme.setContainer( library, Library.THEMES_SLOT );	}