Project

General

Profile

« Previous | Next » 

Revision 3be6ef3e

Added by Niels Hoffmann over 13 years ago

performed javacscript:fix and worked on documentation

View differences:

taxeditor-navigation/src/main/java/eu/etaxonomy/taxeditor/wizard/NewTaxonNodeWizard.java
24 24
import eu.etaxonomy.taxeditor.store.CdmStore;
25 25

  
26 26
/**
27
 * 
27
 * <p>NewTaxonNodeWizard class.</p>
28
 *
28 29
 * @author n.hoffmann
29 30
 * @created Sep 15, 2009
30 31
 * @version 1.0
......
41 42

  
42 43
	private ConversationHolder conversation;
43 44
	
45
	/**
46
	 * <p>Constructor for NewTaxonNodeWizard.</p>
47
	 */
44 48
	public NewTaxonNodeWizard() {
45 49
		this.setWindowTitle("New Entity");
46 50
		conversation = CdmStore.createConversation();
......
81 85
	}
82 86

  
83 87

  
88
	/** {@inheritDoc} */
84 89
	@Override
85 90
	public boolean performFinish() {
86 91
		if(page.getTaxon() == null || page.getTaxon().getName().getFullTitleCache().length() == 0){
......
96 101
	/* (non-Javadoc)
97 102
	 * @see org.eclipse.jface.wizard.Wizard#addPages()
98 103
	 */
104
	/** {@inheritDoc} */
99 105
	@Override
100 106
	public void addPages() {
101 107
		super.addPages();
......
105 111
		addPage(page);
106 112
	}
107 113

  
114
	/** {@inheritDoc} */
108 115
	public void init(IWorkbench workbench, IStructuredSelection selection) {
109 116
		// workbench is not used at the moment
110 117
		this.selection = selection;
111 118
	}
112 119

  
120
	/**
121
	 * <p>openInEditor</p>
122
	 *
123
	 * @return a boolean.
124
	 */
113 125
	public boolean openInEditor(){
114 126
		return page.openInEditor();
115 127
	}
116 128
	
129
	/**
130
	 * <p>openEmpty</p>
131
	 *
132
	 * @return a boolean.
133
	 */
117 134
	public boolean openEmpty(){
118 135
		return openInEditor() && openEmptyEditor;
119 136
	}
120 137

  
138
	/**
139
	 * <p>getTaxonNode</p>
140
	 *
141
	 * @return a {@link eu.etaxonomy.cdm.model.taxon.TaxonNode} object.
142
	 */
121 143
	public TaxonNode getTaxonNode(){
122 144
		return generatedTaxonNode;
123 145
	}
124 146
	
147
	/**
148
	 * <p>getParent</p>
149
	 *
150
	 * @return a {@link eu.etaxonomy.cdm.model.taxon.ITreeNode} object.
151
	 */
125 152
	public ITreeNode getParent(){
126 153
		return page.getParentTreeNode();
127 154
	}
......
129 156
	/* (non-Javadoc)
130 157
	 * @see eu.etaxonomy.taxeditor.operations.IPostOperationEnabled#postOperation(eu.etaxonomy.cdm.model.common.CdmBase)
131 158
	 */
159
	/** {@inheritDoc} */
132 160
	public boolean postOperation(CdmBase objectAffectedByOperation) {
133 161
		generatedTaxonNode = (TaxonNode) objectAffectedByOperation;
134 162
		
......
137 165
		return true;
138 166
	}
139 167

  
168
	/**
169
	 * <p>onComplete</p>
170
	 *
171
	 * @return a boolean.
172
	 */
140 173
	public boolean onComplete() {
141 174
		return true;
142 175
	}
......
144 177
	/* (non-Javadoc)
145 178
	 * @see eu.etaxonomy.cdm.persistence.hibernate.ICdmPostDataChangeObserver#update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap)
146 179
	 */
180
	/** {@inheritDoc} */
147 181
	@Override
148 182
	public void update(CdmDataChangeMap changeEvents) {}
149 183

  
150 184
	/* (non-Javadoc)
151 185
	 * @see eu.etaxonomy.cdm.api.conversation.IConversationEnabled#getConversationHolder()
152 186
	 */
187
	/** {@inheritDoc} */
153 188
	@Override
154 189
	public ConversationHolder getConversationHolder() {
155 190
		return conversation;

Also available in: Unified diff