Bug 176450 Support link to CSS Feature(Model Part)
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/LibraryThemeTest.java
designHandle.getCommandStack( ).undo( );
		assertEquals( ColorPropertyType.LIME, label2
				.getProperty( Style.COLOR_PROP ) );
		assertEquals( ColorPropertyType.GRAY, list1
				.getProperty( Style.COLOR_PROP ) );
		designHandle.getCommandStack( ).redo( );
		assertEquals( ColorPropertyType.AQUA, label2
				.getProperty( Style.COLOR_PROP ) );
		assertEquals( ColorPropertyType.BLUE, list1
				.getProperty( Style.COLOR_PROP ) );
		
		MyListener listener = new MyListener( );
		MyListener labelListener = new MyListener( );
		label2.addListener( labelListener );
		designHandle.addListener( listener );
		designHandle.setThemeName( "Theme.theme1" ); 
		assertEquals( 1, listener.counter );
		assertEquals( 1, labelListener.counter );
		designHandle.getCommandStack( ).undo( );
		assertEquals( 2, listener.counter );
		designHandle.getCommandStack( ).redo( );
		assertEquals( 3, listener.counter );
		
		libraryHandle = designHandle.getLibrary( "Theme" ); 
		ThemeHandle theme = libraryHandle.getElementFactory( ).newTheme(
				"Theme3" ); 
		try
		{
			designHandle.setTheme( theme );
			fail( );