Bug 58696 Override/Implement Methods dialog: better labels for insertion position [code manipulation]
The Override/Implement Methods dialog says: Insertion Point: - First Method - Last Method - a() - b() ... I *never* know whether that means before or after the selected method. Better labels would be: Insert after: - Class Declaration Header - a() - b() ... or Insert Before: - a() - b() ... - End of Class
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java
* @see org.eclipse.jface.dialogs.Dialog#close()
	 */
	public boolean close() {
		fSettings.put(VISIBILITY_MODIFIER, StringConverter.asString(fVisibilityModifier));
		fSettings.put(FINAL_MODIFIER, StringConverter.asString(fFinal));
		fSettings.put(SYNCHRONIZED_MODIFIER, StringConverter.asString(fSynchronized));
		
		if (fCurrentPositionIndex == 0 || fCurrentPositionIndex == 1) {
			fSettings.put(SETTINGS_INSERTPOSITION, StringConverter.asString(fCurrentPositionIndex));
		}
		return super.close();
	}
	
	/**
	 * Sets the size of the tree in unit of characters.
	 * @param width  the width of the tree.
	 * @param height the height of the tree.
	 */
	public void setSize(int width, int height) {
		fWidth = width;
		fHeight = height;
	}
	
	/***
	 * Set insert position valid input is 0 for the first position, 1 for the last position, > 1 for all else.
	 */
	private void setInsertPosition(int insert) {
		fCurrentPositionIndex= insert;
		fSettings.put(SETTINGS_INSERTPOSITION, insert);
	}