Bug 122869 Drag a parameter from data explorer view into a table in library, a new parameter is created automatically.
Description:Drag a parameter from data explorer view into a table in library, a new parameter is created automatically. Steps to reproduce: 1. Add a cascading parameter and a table in a library file. 2. Drag a parameter from data explorer view into a table cell in layout editor. 3. Find that a new parameter was added in data explorer view automatically.
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
private static Iterator getThemes( AlphabeticallyComparator comparator )
	{
		List themes = SessionHandleAdapter.getInstance( )
				.getReportDesignHandle( ).getAllThemes( );
		Object[] themesArray = themes.toArray( );
		if ( comparator != null )
		{
			Arrays.sort( themesArray, comparator );
		}
		return Arrays.asList( themesArray ).iterator( );
	}
	/**
	 * Generates GroupElementHandle for given model list.
	 * 
	 * @param modelList
	 * @return
	 */
	public static GroupElementHandle getGroupElementHandle( List modelList )
	{
		if ( SessionHandleAdapter.getInstance( ).getReportDesignHandle( ) == null )
		{
			return GroupElementFactory.newGroupElement( SessionHandleAdapter
					.getInstance( ).getReportDesignHandle( ),
					Collections.EMPTY_LIST );
		}
		return GroupElementFactory.newGroupElement( SessionHandleAdapter
				.getInstance( ).getReportDesignHandle( ), modelList );
	}
	/**
	 * Checks if the library is included.