Bug 149617 Support Content-type-based editor lookup
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/ReportPlugin.java
for ( Iterator iter = ReportPlugin.getDefault( )
					.getReportExtensionNameList( )
					.iterator( ); iter.hasNext( ); )
			{
				if ( filename.endsWith( "." + (String) iter.next( ) ) ) 
				{
					return true;
				}
			}
		}
		return false;
	}
	public String getResourceFolder( )
	{
		String resourceFolder = SessionHandleAdapter.getInstance( )
				.getSessionHandle( )
				.getResourceFolder( );
		if ( ( resourceFolder == null || resourceFolder.equals( "" ) ) 
				&& SessionHandleAdapter.getInstance( ).getReportDesignHandle( ) != null
				&& SessionHandleAdapter.getInstance( )
						.getReportDesignHandle( )
						.getResourceFolder( ) != null )
		{
			resourceFolder = SessionHandleAdapter.getInstance( )
					.getReportDesignHandle( )
					.getResourceFolder( );
		}
		return resourceFolder;
	}
}