if ( selectedType == EMBEDDED_TYPE ) { title.setText( Messages.getString( "ImageDialog.label.EnterEmbed" ) ); } else { title.setText( Messages.getString( "ImageDialog.label.EnterURL" ) ); }
	protected boolean initDialog( )	{		getShell( ).setText( Messages.getString( "ImageDialog.label.SelectImage" ) ); //$NON-NLS-1$		initURIEditor( );		if ( fCurrent instanceof EmbeddedImage )		{			embedded.setSelection( true );			selectedType = EMBEDDED_TYPE;		}		else		{// initialize as URI mode by default			uri.setSelection( true );			selectedType = URI_TYPE;		}		getButton( IDialogConstants.OK_ID ).setEnabled( false );				return true;	}