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-printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/AbstractPublishWizard.java
20 20
import eu.etaxonomy.taxeditor.store.CdmStore;
21 21

  
22 22
/**
23
 * 
23
 * <p>AbstractPublishWizard class.</p>
24
 *
24 25
 * @author n.hoffmann
25 26
 * @created Apr 1, 2010
26 27
 * @version 1.0
27 28
 */
28 29
public class AbstractPublishWizard extends Wizard implements IExportWizard{
29 30
	
31
	/** Constant <code>PAGE_SERVICE="PAGE_SERVICE"</code> */
30 32
	public static final String PAGE_SERVICE = "PAGE_SERVICE";
33
	/** Constant <code>PAGE_TAXA="PAGE_TAXA"</code> */
31 34
	public static final String PAGE_TAXA = "PAGE_TAXA";
35
	/** Constant <code>PAGE_OPTIONS="PAGE_OPTIONS"</code> */
32 36
	public static final String PAGE_OPTIONS = "PAGE_OPTIONS";
37
	/** Constant <code>PAGE_FOLDER="PAGE_FOLDER"</code> */
33 38
	public static final String PAGE_FOLDER = "PAGE_FOLDER";
39
	/** Constant <code>PAGE_OVERVIEW="PAGE_OVERVIEW"</code> */
34 40
	public static final String PAGE_OVERVIEW = "PAGE_OVERVIEW";
41
	/** Constant <code>PAGE_FEATURETREE="PAGE_FEATURETREE"</code> */
35 42
	public static final String PAGE_FEATURETREE = "PAGE_FEATURETREE";
36 43
	
37 44
	protected SelectServiceWizardPage pageService;
......
45 52

  
46 53
	private IPublishOutputModule outputModule;
47 54

  
55
	/**
56
	 * <p>Constructor for AbstractPublishWizard.</p>
57
	 */
48 58
	public AbstractPublishWizard(){		
49 59
		setNeedsProgressMonitor(true);
50 60
	}
......
52 62
	/* (non-Javadoc)
53 63
	 * @see org.eclipse.jface.wizard.Wizard#performFinish()
54 64
	 */
65
	/** {@inheritDoc} */
55 66
	@Override
56 67
	public boolean performFinish() {
57 68
		
......
85 96
		return true;
86 97
	}
87 98

  
99
	/** {@inheritDoc} */
88 100
	@Override
89 101
	public void addPages() {
90 102
		super.addPages();
......
111 123
	/* (non-Javadoc)
112 124
	 * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
113 125
	 */
126
	/** {@inheritDoc} */
114 127
	public void init(IWorkbench workbench, IStructuredSelection selection) {
115 128
		PrintUtil.info("Instantiating wizard: " + this.getClass().getSimpleName());
116 129
	}
117 130
	
118 131

  
119 132
	
133
	/** {@inheritDoc} */
120 134
	@Override
121 135
	public boolean canFinish() {
122 136
		return pageService.isPageComplete() && 
......
125 139
				pageFolder.isPageComplete();
126 140
	}
127 141
	
142
	/**
143
	 * <p>Getter for the field <code>configurator</code>.</p>
144
	 *
145
	 * @return a {@link eu.etaxonomy.cdm.print.PublishConfigurator} object.
146
	 */
128 147
	protected PublishConfigurator getConfigurator() {
129 148
		return configurator;
130 149
	}
131 150
	
151
	/**
152
	 * <p>Setter for the field <code>configurator</code>.</p>
153
	 *
154
	 * @param configurator a {@link eu.etaxonomy.cdm.print.PublishConfigurator} object.
155
	 */
132 156
	protected void setConfigurator(PublishConfigurator configurator){
133 157
		this.configurator = configurator;
134 158
	}
135 159
	
160
	/**
161
	 * <p>Setter for the field <code>outputModule</code>.</p>
162
	 *
163
	 * @param outputModule a {@link eu.etaxonomy.cdm.print.out.IPublishOutputModule} object.
164
	 */
136 165
	protected void setOutputModule(IPublishOutputModule outputModule){
137 166
		this.outputModule = outputModule;
138 167
	}
139 168
	
169
	/**
170
	 * <p>Getter for the field <code>outputModule</code>.</p>
171
	 *
172
	 * @return a {@link eu.etaxonomy.cdm.print.out.IPublishOutputModule} object.
173
	 */
140 174
	public IPublishOutputModule getOutputModule(){
141 175
		return outputModule;
142 176
	}

Also available in: Unified diff