Project

General

Profile

« Previous | Next » 

Revision f41433b9

Added by Alex Theys almost 12 years ago

AT:Committing changes post merge

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/AbstractNewEntityWizard.java
50 50
	 * @param <T> a T object.
51 51
	 */
52 52
	public AbstractNewEntityWizard(){
53
		setWindowTitle("New Entity");
53
		setWindowTitle(String.format("New %s", getEntityName()));
54 54
	}
55 55
	
56
	/**
57
	 * FIXME there might be a smarter way to do this,
58
	 * 
59
	 * @return
60
	 */
61
	protected abstract String getEntityName();
62

  
56 63
	/* (non-Javadoc)
57 64
	 * @see org.eclipse.jface.wizard.Wizard#performFinish()
58 65
	 */

Also available in: Unified diff