26 |
26 |
import org.eclipse.swt.widgets.Text;
|
27 |
27 |
import org.eclipse.wb.swt.ResourceManager;
|
28 |
28 |
|
29 |
|
import eu.etaxonomy.cdm.api.service.config.SetSecundumForSubtreeConfigurator;
|
|
29 |
import eu.etaxonomy.cdm.api.service.config.SecundumForSubtreeConfigurator;
|
30 |
30 |
import eu.etaxonomy.cdm.model.reference.Reference;
|
31 |
31 |
import eu.etaxonomy.taxeditor.l10n.Messages;
|
32 |
32 |
import eu.etaxonomy.taxeditor.ui.dialog.selection.SelectionDialogFactory;
|
... | ... | |
42 |
42 |
private DataBindingContext m_bindingContext;
|
43 |
43 |
|
44 |
44 |
private final static CdmFormFactory toolkit = new CdmFormFactory(Display.getCurrent());
|
45 |
|
private final SetSecundumForSubtreeConfigurator configurator;
|
|
45 |
private final SecundumForSubtreeConfigurator configurator;
|
46 |
46 |
|
47 |
47 |
private Button btnBrowseReference = null;
|
48 |
|
|
|
48 |
|
49 |
49 |
private Text textReference = null;
|
50 |
50 |
private Button btnClear = null;
|
51 |
51 |
private EntitySelectionElement<Reference> selectReference;
|
... | ... | |
62 |
62 |
* @param parent
|
63 |
63 |
* @param style
|
64 |
64 |
*/
|
65 |
|
public SetSecundumConfiguratorWizardPage(SetSecundumForSubtreeConfigurator configurator, Wizard parent, int style ) {
|
|
65 |
public SetSecundumConfiguratorWizardPage(SecundumForSubtreeConfigurator configurator, Wizard parent, int style ) {
|
66 |
66 |
super("Set Secundum Reference Configuration");
|
67 |
67 |
this.configurator = configurator;
|
68 |
68 |
this.setDescription(Messages.SetSecundumConfiguration_Description_Configurator);
|
... | ... | |
142 |
142 |
btnBrowseReference = new Button(compositeRef, SWT.NONE);
|
143 |
143 |
btnBrowseReference.setImage(ResourceManager.getPluginImage("eu.etaxonomy.taxeditor.store", "icons/open.gif"));
|
144 |
144 |
btnBrowseReference.addListener(SWT.Selection, this);
|
145 |
|
|
|
145 |
|
146 |
146 |
btnClear = new Button(compositeRef, SWT.NONE);
|
147 |
147 |
btnClear.setImage(ResourceManager.getPluginImage("eu.etaxonomy.taxeditor.store", "icons/trash.gif"));
|
148 |
148 |
btnClear.addListener(SWT.Selection, this);
|
... | ... | |
154 |
154 |
new Label(compositeRef, SWT.NONE);
|
155 |
155 |
new Label(compositeRef, SWT.NONE);
|
156 |
156 |
new Label(compositeRef, SWT.NONE);
|
157 |
|
|
|
157 |
|
158 |
158 |
// selectReference = toolkit.createSelectionElement(Rights.class, getConversationHolder(), composite, "Rights", null, EntitySelectionElement.SELECTABLE);
|
159 |
159 |
final Composite control = new Composite(composite, SWT.NULL);
|
160 |
160 |
GridLayout gridLayoutControl = new GridLayout();
|
... | ... | |
188 |
188 |
gd_btnOverwriteExistingAccepted.horizontalIndent = 10;
|
189 |
189 |
btnOverwriteExistingAccepted.setLayoutData(gd_btnOverwriteExistingAccepted);
|
190 |
190 |
btnOverwriteExistingAccepted.setText(Messages.SetSecundumConfiguration_OverwriteExistingAccepted);
|
191 |
|
|
|
191 |
|
192 |
192 |
btnIncludeSharedTaxa = new Button(control, SWT.CHECK);
|
193 |
193 |
GridData gd_btnIncludeSharedTaxa = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
|
194 |
194 |
gd_btnIncludeSharedTaxa.horizontalIndent = 10;
|
adaption to renaming of secundumForSubtreeConfigurator