Bug 156469 Should not new a file that is not a *.properties on resource file
Desctiption: Should not create a file that is not a *.properties on resource file when the resource folder has not any other *.properties Step: 1.Set the resource folder path is blank. 2.New a report project. 3.New a report design. 4.Click the blank area on layout. 5.Select Property Editor - General - Resources 6.Click Add to add a resource file. 7.The browse resource file is pop up and select Resource Folder. 8.Input any word in text field. Excepted result: It prompt that the file name must end with .properties Actual result: Click OK and the file is create.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/resourcelocator/FragmentResourceEntry.java
this( null );
	}
	public FragmentResourceEntry( String[] filePattern )
	{
		this( Messages.getString( "FragmentResourceEntry.RootName" ), "/", null ); 
		this.isRoot = true;
		bundle = Platform.getBundle( IResourceLocator.FRAGMENT_RESOURCE_HOST );
		if ( bundle != null )
		{
			if ( filePattern != null && filePattern.length > 0 )
			{
				for ( int i = 0; i < filePattern.length; i++ )
				{
					String[] patterns = filePattern[i].split( ";" ); 
					for ( int j = 0; j < patterns.length; j++ )
					{
						Enumeration enumeration = bundle.findEntries( "/", 
								patterns[j],
								true );
						while ( enumeration != null
								&& enumeration.hasMoreElements( ) )
						{
							URL element = (URL) enumeration.nextElement( );
							String[] path = element.getPath( ).split( "/" ); 
							FragmentResourceEntry parent = this;
							for ( int m = 0; m < path.length; m++ )
							{
								if ( path[m].equals( "" ) ) 
									continue;
								FragmentResourceEntry child = parent.getChild( path[m] );