Bug 151959 inappropriate screen operation
steps to reproduce: - create a report - add a grid item (3x3) - switch to Outline view - expand the grid item to see its rows and cells - select the grid item, and drag it into any of its own cell expected behavior: - is it an invalid screen operation? if it is, it should be banned actual behavior: - the grid item was disappeared surprisingly
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
assert getDefn( ).allowsUserProperties( );
		assert userProp != null;
		String propName = userProp.getName( );
		assert getUserPropertyDefn( propName ) == null;
		assert getDefn( ).getProperty( propName ) == null;
		if ( userProperties == null )
			userProperties = new LinkedHashMap( );
		userProperties.put( propName, userProp );
	}
	/**
	 * Drops a user-defined property. The application must have previously
	 * removed all existing values for that property. The application must have
	 * previously validated that the user-defined property does exist, and is
	 * defined on this element.
	 * <p>
	 * Part of: User-defined property system.
	 * 
	 * @param prop
	 *            The user-defined property.
	 */
	public void dropUserPropertyDefn( UserPropertyDefn prop )
	{
		assert getDefn( ).allowsUserProperties( );
		assert userProperties != null;
		assert userProperties.get( prop.getName( ) ) == prop;
		userProperties.remove( prop.getName( ) );
	}
	/**
	 * Gets a user property definition defined on this class itself.
	 * <p>