Bug 188027 PasteAction is diabled
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/ContainerContext.java
public int indexOf( Module module, DesignElement content )
	{
		if ( isSlot )
			return container.getSlot( containerSlotID ).findPosn( content );
		Object value = container.getProperty( module, containerProp );
		if ( value == content )
			return 0;
		if ( value instanceof List )
			return ( (List) value ).indexOf( content );
		return -1;
	}
	/**
	 * 
	 * @param content
	 * @return TODO: this method should be removed if not support slot
	 */
	public int indexOf( DesignElement content )
	{
		return indexOf( container.getRoot( ), content );
	}
	/**
	 * Determines whether this element and its contents are managed by
	 * namespace. If this element is a pending node and not in any module, or it
	 * is contained in a slot that is not managed by namespace, then return
	 * false. Otherwise true.
	 * 
	 * @return true if this element and its contents are managed by namespace,
	 *         otherwise false
	 */
	public boolean isManagedByNameSpace( )