Messages.getString( "PublishTemplateAction.wizard.page.nameInfo" ), null);
Messages.getString( "PublishTemplateAction.wizard.page.nameInfo" ), null); nameStatus = status; }else  if(!isTextEmpty(previewImageText)) {  if ( !( new File( imageFileName ).exists( ) ) ) { status = new Status(IStatus.ERROR, 	PLUGIN_ID, 0, Messages.getString( "PublishTemplateAction.wizard.message.PreviewImageNotExist" ), null); previewImageStatus = status; }else if(! checkExtensions(imageFileName)) { status = new Status(IStatus.ERROR, 	PLUGIN_ID, 0, Messages.getString( "PublishTemplateAction.wizard.message.PreviewImageNotValid" ), null); previewImageStatus = status; }
	public void checkStatus( )	{	    // Initialize a variable with the no error status	    Status status = new Status(IStatus.OK, PLUGIN_ID, 0, PAGE_DESC, null);	    		if(isTextEmpty(nameText))		{            status = new Status(IStatus.ERROR, 	PLUGIN_ID, 0, 	                Messages.getString( "PublishTemplateAction.wizard.page.nameInfo" ), null);        	        		}		nameStatus = status;			    // Show the most serious error	    applyToStatusLine(findMostSevere());		getWizard().getContainer().updateButtons();			}