Bug 89525 [formatting] Javadoc comment formatter: some options don't work anymore
M6 test pass The two options "Blank line before Javadoc tags" and "New line after param tags" don't work anymore. Tested with the following code snippet: /** * Method two * @param s1 this is the first parameter having a useless comment * @param s2 this is the second parameter having a useless comment */ public void two(String s1, String s2) { } expected to get /** * Method two * * @param * s1 this is the first parameter * having a useless comment * @param * s2 this is the second parameter * having a useless comment */
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java
previewPane.setLayout(createGridLayout(numColumns, true));
		doCreatePreviewPane(previewPane, numColumns);
		final GridData previewGd= new GridData(GridData.FILL_BOTH);
		previewGd.widthHint= fPixelConverter.convertWidthInCharsToPixels(RIGHT_SIDE_WIDTH_HINT_CHARS);
		previewPane.setLayoutData(previewGd);
		
		initializePage();
	
		fSashForm.setWeights(new int [] {3, 3});
		return fSashForm;
	}
	
	/**
	 * This method is called after all controls have been alloated, including the preview. 
	 * It can be used to set the preview text and to create listeners.
	 *
	 */
	protected abstract void initializePage();
	
	/**
	 * Create the left side of the modify dialog. This is meant to be implemented by subclasses. 
	 * @param composite Composite to create in
	 * @param numColumns Number of columns to use
	 */
	protected abstract void doCreatePreferences(Composite composite, int numColumns);
	
	/**
	 * Create the right side of the modify dialog. By default, the preview is displayed there.
	 * Subclasses can override this method in order to customize the right-hand side of the 
	 * dialog.