Bug 156322 Properties file without name should be forbidden to add to the resource folder
Steps to reproduce: 1.New a report, switch to Property Editor->Resources 2.Click "Add", add a properties file named ".properties" Expected result: This name is invalid Actual result: ".properties" is added to the resource folder but it can't be used in the report
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/resource/NewResourceFileDialog.java
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.dialogs.ISelectionStatusValidator;
/**
 * A dialog which can browser all properties in BIRT resource folder. User can
 * select a properties or enter new file name to creat a new one.
 * 
 */
public class NewResourceFileDialog extends ResourceFileFolderSelectionDialog
{
	private Text text;
	private String ext = ".properties"; 
	protected String newFileName = ""; 
	private Status OKStatus = new Status( IStatus.OK,
			ReportPlugin.REPORT_UI,
			IStatus.OK,
			"", null ); 
	private Status ErrorStatus = new Status( IStatus.ERROR,
			ReportPlugin.REPORT_UI,
			IStatus.ERROR,
			Messages.getString( "NewResourceFileDialog.ErrorMessage" ), 
			null );
	private Status ErrorStatusNoSelection = new Status( IStatus.ERROR,
			ReportPlugin.REPORT_UI,
			IStatus.ERROR,
			Messages.getString( "" ), 
			null );
	private class Validator implements ISelectionStatusValidator