Revision cf3d9f76
Added by Patrick Plitzner over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/AbstractEntityCollectionElementWizardPage.java | ||
---|---|---|
13 | 13 |
import org.eclipse.swt.widgets.Composite; |
14 | 14 |
import org.eclipse.ui.forms.widgets.TableWrapLayout; |
15 | 15 |
|
16 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySession; |
|
17 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled; |
|
18 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
|
19 | 16 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
20 | 17 |
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants; |
21 | 18 |
import eu.etaxonomy.taxeditor.ui.element.RootElement; |
22 |
import eu.etaxonomy.taxeditor.webapp.ICDMServerError; |
|
23 | 19 |
|
24 | 20 |
/** |
25 | 21 |
* @author pplitzner |
26 | 22 |
* @date Mar 30, 2016 |
27 | 23 |
* |
28 | 24 |
*/ |
29 |
public abstract class AbstractEntityCollectionElementWizardPage extends WizardPage implements
|
|
25 |
public abstract class AbstractEntityCollectionElementWizardPage extends WizardPage implements |
|
30 | 26 |
IPropertyChangeListener { |
31 | 27 |
|
32 | 28 |
protected CdmFormFactory formFactory; |
33 |
|
|
29 |
|
|
34 | 30 |
|
35 | 31 |
protected RootElement rootElement; |
36 | 32 |
|
37 |
protected AbstractEntityCollectionElementWizardPage(String pageName) { |
|
33 |
protected AbstractEntityCollectionElementWizardPage(String pageName, CdmFormFactory formFactory) {
|
|
38 | 34 |
super(pageName); |
39 |
|
|
35 |
this.formFactory = formFactory; |
|
40 | 36 |
} |
41 | 37 |
|
42 | 38 |
/** |
... | ... | |
64 | 60 |
public void dispose() { |
65 | 61 |
rootElement.removeElements(); |
66 | 62 |
formFactory.removePropertyChangeListener(this); |
67 |
|
|
63 |
|
|
68 | 64 |
super.dispose(); |
69 | 65 |
} |
70 | 66 |
|
Also available in: Unified diff
ref #8475 Create FeatureState in wizard dialog