private final SetSecundumForSubtreeConfigurator configurator;
private Button btnBrowseReference = null;
+
private Text textReference = null;
private Button btnClear = null;
private EntitySelectionElement<Reference> selectReference;
public SetSecundumConfiguratorWizardPage(SetSecundumForSubtreeConfigurator configurator, Wizard parent, int style ) {
super("Set Secundum Reference Configuration");
this.configurator = configurator;
- this.setDescription(Messages.SetSecundumConfiguration_Description);
+ this.setDescription(Messages.SetSecundumConfiguration_Description_Configurator);
// addDisposeListener(new DisposeListener() {
// @Override
compositeRef.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, true));
Label label = new Label(compositeRef, SWT.NONE);
label.setText(Messages.SetSecundumConfiguration_NewSecundum_Label);
- label.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, false));
+ label.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, false));
textReference = new Text(compositeRef, SWT.BORDER);
textReference.setEditable(false);
btnBrowseReference = new Button(compositeRef, SWT.NONE);
btnBrowseReference.setImage(ResourceManager.getPluginImage("eu.etaxonomy.taxeditor.store", "icons/open.gif"));
btnBrowseReference.addListener(SWT.Selection, this);
+
btnClear = new Button(compositeRef, SWT.NONE);
btnClear.setImage(ResourceManager.getPluginImage("eu.etaxonomy.taxeditor.store", "icons/trash.gif"));
btnClear.addListener(SWT.Selection, this);
-
+ Label labelDescription = new Label(compositeRef, SWT.NONE);
+ labelDescription.setText(Messages.SetSecundumConfiguration_Description);
+ GridData gd_labelDescription = new GridData(SWT.FILL, SWT.LEFT, true, false);
+ gd_labelDescription.horizontalSpan = 4;
+ labelDescription.setLayoutData(gd_labelDescription);
+ new Label(compositeRef, SWT.NONE);
+ new Label(compositeRef, SWT.NONE);
+ new Label(compositeRef, SWT.NONE);
+
// selectReference = toolkit.createSelectionElement(Rights.class, getConversationHolder(), composite, "Rights", null, EntitySelectionElement.SELECTABLE);
final Composite control = new Composite(composite, SWT.NULL);
GridLayout gridLayoutControl = new GridLayout();
- gridLayoutControl.numColumns = 1;
control.setLayout(gridLayoutControl);
control.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, true));
});
btnOverwriteExistingAccepted = new Button(control, SWT.CHECK);
+ GridData gd_btnOverwriteExistingAccepted = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
+ gd_btnOverwriteExistingAccepted.horizontalIndent = 10;
+ btnOverwriteExistingAccepted.setLayoutData(gd_btnOverwriteExistingAccepted);
btnOverwriteExistingAccepted.setText(Messages.SetSecundumConfiguration_OverwriteExistingAccepted);
+
+ btnIncludeSharedTaxa = new Button(control, SWT.CHECK);
+ GridData gd_btnIncludeSharedTaxa = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
+ gd_btnIncludeSharedTaxa.horizontalIndent = 10;
+ btnIncludeSharedTaxa.setLayoutData(gd_btnIncludeSharedTaxa);
+ btnIncludeSharedTaxa.setText(Messages.SetSecundumConfiguration_IncludeSharedtaxa);
+ btnIncludeSharedTaxa.setSelection(configurator.isIncludeSharedTaxa());
btnIncludeSynonyms = new Button(control, SWT.CHECK);
btnIncludeSynonyms.setText(Messages.SetSecundumConfiguration_IncludeSynonyms);
btnOverwriteExistingAccepted.setSelection(configurator.isOverwriteExistingAccepted());
btnOverwriteExistingSynonyms = new Button(control, SWT.CHECK);
+ GridData gd_btnOverwriteExistingSynonyms = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
+ gd_btnOverwriteExistingSynonyms.horizontalIndent = 10;
+ btnOverwriteExistingSynonyms.setLayoutData(gd_btnOverwriteExistingSynonyms);
btnOverwriteExistingSynonyms.setText(Messages.SetSecundumConfiguration_OverwriteExistingSynonyms);
btnOverwriteExistingSynonyms.setSelection(configurator.isOverwriteExistingSynonyms());
btnEmptySecundumDetail = new Button(control, SWT.CHECK);
btnEmptySecundumDetail.setText(Messages.SetSecundumConfiguration_EmptySecundumDetail);
btnEmptySecundumDetail.setSelection(configurator.isEmptySecundumDetail());
- btnIncludeSharedTaxa = new Button(control, SWT.CHECK);
- btnIncludeSharedTaxa.setText(Messages.SetSecundumConfiguration_IncludeSharedtaxa);
- btnIncludeSharedTaxa.setSelection(configurator.isIncludeSharedTaxa());
-
m_bindingContext = initDataBindings();
setControl(composite);
}