case FILE_TYPE : swtichToResourceType( ); break;
	private void switchTo( int type )	{		if ( type == selectedType )		{// the same type,nothing needed to do			return;		}		selectedType = type;		Control[] controls = inputArea.getChildren( );		for ( int i = 0; i < controls.length; i++ )		{			controls[i].dispose( );		}		clearPreview( );		switch ( type )		{			case URI_TYPE :				swtichToExprType( );				break;			case EMBEDDED_TYPE :				swtichToEmbeddedType( );				break;			case BLOB_TYPE :				swtichToExprType( );				break;		}		inputArea.layout( );	}