Bug 132506 [Regression][Linux WS]Error on operation buttom in layout tab
Details: [Regression]Error on operation buttom in layout tab Setp: When I new a report design or template, it will be appear on preview state, but layout state.
UI/org.eclipse.birt.report.designer.ui.editors/src/org/eclipse/birt/report/designer/internal/ui/extension/EditorContributorManager.java
EditorContributor editorContributor = getEditorContributor( targetEditorId );
		if ( editorContributor != null )
		{
			List formPageDefList = editorContributor.formPageList;
			if ( formPageDefList != null )
			{
				for ( int i = 0; i < formPageDefList.size( ); i++ )
				{
					FormPageDef formPageDef = (FormPageDef) formPageDefList.get( i );
					if ( formPageDef != null && formPageDef.equals( pageId ) )
					{
						return i;
					}
				}
			}
		}
		return -1;
	}
	/**
	 * Gets the extended element point with the specified extension name.
	 * 
	 * @param extensionName
	 *            the extension name of the extended element
	 * 
	 * @return Returns the extended element point, or null if any problem exists
	 */
	public FormPageDef getFormPageDef( String targetEditorId, int index )
	{
		Assert.isLegal( targetEditorId != null );
		Assert.isLegal( index >= 0 );