Bug 45517 Add a 'Field comment' code template
20031024 The user should be able to specify a 'field comment' template. See 'CodeTemplateContextType.TYPE_COMMENT' as an example You have to - define a new variable type - specify the variables avaiable in this template - create an API in Codetemplates so it can be used Users are: - AddJavadocCommentAction - JavadocTagsSubProcessor.getMissingJavadocCommentProposals
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeTemplateBlock.java
} else if (CodeTemplates.GETTERSTUB.equals(name)) {
				return PreferencesMessages.getString("CodeTemplateBlock.getterstub.label"); 
			} else if (CodeTemplates.SETTERSTUB.equals(name)) {
				return PreferencesMessages.getString("CodeTemplateBlock.setterstub.label"); 
			} else if (CodeTemplates.NEWTYPE.equals(name)) {
				return PreferencesMessages.getString("CodeTemplateBlock.newtype.label"); 
			} else if (CodeTemplates.TYPECOMMENT.equals(name)) {
				return PreferencesMessages.getString("CodeTemplateBlock.typecomment.label"); 
			} else if (CodeTemplates.METHODCOMMENT.equals(name)) {
				return PreferencesMessages.getString("CodeTemplateBlock.methodcomment.label"); 
			} else if (CodeTemplates.OVERRIDECOMMENT.equals(name)) {
				return PreferencesMessages.getString("CodeTemplateBlock.overridecomment.label"); 
			} else if (CodeTemplates.CONSTRUCTORCOMMENT.equals(name)) {
				return PreferencesMessages.getString("CodeTemplateBlock.constructorcomment.label"); 
			} else if (CodeTemplates.GETTERCOMMENT.equals(name)) {
				return PreferencesMessages.getString("CodeTemplateBlock.gettercomment.label"); 
			} else if (CodeTemplates.SETTERCOMMENT.equals(name)) {
				return PreferencesMessages.getString("CodeTemplateBlock.settercomment.label"); 
			}
			return template.getDescription();
		}
	}	
	
	private final static int IDX_EDIT= 0;
	private final static int IDX_IMPORT= 2;
	private final static int IDX_EXPORT= 3;
	private final static int IDX_EXPORTALL= 4;
	
	protected final static Object COMMENT_NODE= PreferencesMessages.getString("CodeTemplateBlock.templates.comment.node"); 
	protected final static Object CODE_NODE= PreferencesMessages.getString("CodeTemplateBlock.templates.code.node");