ElementFactory factory = new ElementFactory( designHandle.module );
ElementFactory factory = new ElementFactory( design );
	public void testPropertyMaskHandle( ) throws SemanticException	{		createDesign( );		ElementFactory factory = new ElementFactory( designHandle.module );		DataSetHandle dataSetHandle = factory.newScriptDataSet( "data set 1" ); //$NON-NLS-1$		PropertyHandle propHandle = dataSetHandle				.getPropertyHandle( DesignElement.PROPERTY_MASKS_PROP );		PropertyMask structure = StructureFactory.createPropertyMask( );		structure.setName( DesignElement.COMMENTS_PROP );		propHandle.addItem( structure );		Iterator iter = propHandle.iterator( );		PropertyMaskHandle structureHandle = (PropertyMaskHandle) iter.next( );		structureHandle.setMask( DesignChoiceConstants.PROPERTY_MASK_TYPE_LOCK );		structureHandle.setName( SimpleDataSet.COMMENTS_PROP );		assertEquals( DesignChoiceConstants.PROPERTY_MASK_TYPE_LOCK,				structureHandle.getMask( ) );		assertEquals( SimpleDataSet.COMMENTS_PROP, structureHandle.getName( ) );	}