Bug 5449 TVT Text Expansion/Truncations in new java class dialog
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
}
	
	/**
	 * Gets the type name.
	 */
	public String getTypeName() {
		return fTypeNameDialogField.getText();
	}
	/**
	 * Sets the type name.
	 * @param canBeModified Selects if the type name can be changed by the user
	 */	
	public void setTypeName(String name, boolean canBeModified) {
		fTypeNameDialogField.setText(name);
		fTypeNameDialogField.setEnabled(canBeModified);
	}	
	
	/**
	 * Gets the selected modifiers.
	 * @see Flags 
	 */	
	public int getModifiers() {
		int mdf= 0;
		if (fAccMdfButtons.isSelected(PUBLIC_INDEX)) {
			mdf+= IConstants.AccPublic;
		} else if (fAccMdfButtons.isSelected(PRIVATE_INDEX)) {
			mdf+= IConstants.AccPrivate;
		} else if (fAccMdfButtons.isSelected(PROTECTED_INDEX)) {	
			mdf+= IConstants.AccProtected;
		}