assertTrue( !groupHandle.isPropertyVisible( CellHandle.DROP_PROP ) ); assertTrue( groupHandle.isPropertyReadOnly( CellHandle.DROP_PROP ) );
assertTrue( !groupHandle.getPropertyHandle( CellHandle.DROP_PROP ) .isVisible( ) ); assertTrue( groupHandle.getPropertyHandle( CellHandle.DROP_PROP ) .isReadOnly( ) );
	public void testIsPropertyReadOnlyAndIsPropertyVisible( )			throws SemanticException	{		ArrayList elements = new ArrayList( );		// bookmark and toc are all invisible		SimpleMasterPageHandle element = elemFactory				.newSimpleMasterPage( "my page" );//$NON-NLS-1$		LabelHandle element1 = elemFactory.newLabel( "label1" ); //$NON-NLS-1$		element.addElement( element1, SimpleMasterPage.PAGE_HEADER_SLOT );		elements.add( element1 );		GroupElementHandle groupHandle = new SimpleGroupElementHandle(				designHandle, elements );		assertTrue( !groupHandle.isPropertyVisible( ReportItem.TOC_PROP ) );		assertTrue( !groupHandle.isPropertyVisible( ReportItem.BOOKMARK_PROP ) );		assertTrue( !groupHandle				.isPropertyVisible( Style.PAGE_BREAK_AFTER_PROP ) );		assertTrue( !groupHandle				.isPropertyVisible( Style.PAGE_BREAK_BEFORE_PROP ) );		assertTrue( groupHandle.isPropertyReadOnly( ReportItem.TOC_PROP ) );		assertTrue( groupHandle.isPropertyReadOnly( ReportItem.BOOKMARK_PROP ) );		assertTrue( groupHandle				.isPropertyReadOnly( Style.PAGE_BREAK_AFTER_PROP ) );		assertTrue( groupHandle				.isPropertyReadOnly( Style.PAGE_BREAK_BEFORE_PROP ) );		// drop is only visible for cells in group		elements.clear( );		TableHandle table = elemFactory.newTableItem( "table" );		RowHandle row = elemFactory.newTableRow( );		CellHandle cell = elemFactory.newCell( );		row.addElement( cell, RowHandle.CONTENT_SLOT );		elements.add( cell );		groupHandle = new SimpleGroupElementHandle( designHandle, elements );		assertTrue( !groupHandle.isPropertyVisible( CellHandle.DROP_PROP ) );		assertTrue( groupHandle.isPropertyReadOnly( CellHandle.DROP_PROP ) );	}