Revision 87cf7b6b
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/operation/RemotingCdmUpdateOperation.java | ||
---|---|---|
28 | 28 |
*/ |
29 | 29 |
public abstract class RemotingCdmUpdateOperation extends RemotingCdmOperation { |
30 | 30 |
|
31 |
private UpdateResult updateResult;
|
|
31 |
protected UpdateResult updateResult;
|
|
32 | 32 |
public static boolean throwExceptions = false; |
33 | 33 |
|
34 | 34 |
/** |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/configurator/SetSecundumConfiguratorWizardPage.java | ||
---|---|---|
12 | 12 |
import org.eclipse.core.databinding.beans.PojoProperties; |
13 | 13 |
import org.eclipse.core.databinding.observable.value.IObservableValue; |
14 | 14 |
import org.eclipse.jface.databinding.swt.WidgetProperties; |
15 |
import org.eclipse.jface.wizard.Wizard; |
|
16 | 15 |
import org.eclipse.jface.wizard.WizardPage; |
17 | 16 |
import org.eclipse.swt.SWT; |
18 | 17 |
import org.eclipse.swt.layout.GridData; |
... | ... | |
62 | 61 |
* @param parent |
63 | 62 |
* @param style |
64 | 63 |
*/ |
65 |
public SetSecundumConfiguratorWizardPage(SecundumForSubtreeConfigurator configurator, Wizard parent, int style ) {
|
|
64 |
public SetSecundumConfiguratorWizardPage(SecundumForSubtreeConfigurator configurator) { |
|
66 | 65 |
super("Set Secundum Reference Configuration"); |
67 | 66 |
this.configurator = configurator; |
68 | 67 |
this.setDescription(Messages.SetSecundumConfiguration_Description_Configurator); |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/configurator/SetSecundumForSubtreeConfigurationWizard.java | ||
---|---|---|
9 | 9 |
package eu.etaxonomy.taxeditor.ui.dialog.configurator; |
10 | 10 |
|
11 | 11 |
import org.eclipse.jface.wizard.Wizard; |
12 |
import org.eclipse.swt.SWT; |
|
13 |
import org.eclipse.swt.widgets.Shell; |
|
14 | 12 |
|
15 | 13 |
import eu.etaxonomy.cdm.api.service.config.SecundumForSubtreeConfigurator; |
16 | 14 |
import eu.etaxonomy.cdm.model.reference.Reference; |
... | ... | |
52 | 50 |
|
53 | 51 |
|
54 | 52 |
|
55 |
/** |
|
56 |
* @param configurator |
|
57 |
* @param activeShell |
|
58 |
* @param setSecundumHandler_confirm |
|
59 |
* @param setSecundumHandler_configureSettings |
|
60 |
* @return |
|
61 |
*/ |
|
62 |
public static void openConfirmWithConfigurator(SecundumForSubtreeConfigurator configurator, Shell parent, String title, String message) { |
|
63 |
|
|
64 |
SetSecundumForSubtreeConfigurationWizard wizard = new SetSecundumForSubtreeConfigurationWizard(configurator); |
|
65 | 53 |
|
66 | 54 |
|
67 |
} |
|
68 |
|
|
69 | 55 |
|
70 | 56 |
|
71 | 57 |
|
... | ... | |
88 | 74 |
/** {@inheritDoc} */ |
89 | 75 |
@Override |
90 | 76 |
public void addPages() { |
91 |
page = new SetSecundumConfiguratorWizardPage(configurator, this, SWT.NONE);
|
|
77 |
page = new SetSecundumConfiguratorWizardPage(configurator); |
|
92 | 78 |
addPage(page); |
93 | 79 |
} |
94 | 80 |
|
Also available in: Unified diff
small changed in RemotingCdmOperation