Bug 179674 Support time dimension in model
When define time dimension in model, the "itTime" property will be set. However this is not enough. We also need to know to what precision the time value should be evaluated, say, year, month, day, etc. Model needs to be enhanced to support such requirement.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TabularCubeParserTest.java
* @throws Exception
	 */
	public void testNotification( ) throws Exception
	{
		openDesign( "CubeParserTest_2.xml" ); 
		
		TabularCubeHandle cube = (TabularCubeHandle) designHandle
				.findCube( "testCube" ); 
		MyListener listener = new MyListener( );
		cube.addListener( listener );
		PropertyHandle propHandle = cube
				.getPropertyHandle( TabularCubeHandle.ACCESS_CONTROLS_PROP );
		
		AccessControlHandle accessControl = designHandle.getElementFactory( )
				.newAccessControl( );
		propHandle.add( accessControl );
		
		accessControl.addUserName( "new cube user1" ); 
		checkNotificationStatus( listener );
		propHandle = accessControl
				.getPropertyHandle( IAccessControlModel.USER_NAMES_PROP );
		propHandle.addItem( "new cube user2" ); 
		checkNotificationStatus( listener );
		propHandle.removeItem( 1 );
		checkNotificationStatus( listener );
		assertEquals( "new cube user1", propHandle.getStringValue( ) ); 
		designHandle.getCommandStack( ).undo( );
		checkNotificationStatus( listener );
		assertEquals(
				"new cube user1; new cube user2", propHandle.getStringValue( ) );