for (AggregationSourceMode mode :AggregationSourceMode.list(AggregationMode.ToParent, AggregationType.StructuredDescription) ){
comboSourceModeChildParent.add(mode.getLabel());
comboSourceModeChildParent.setData(mode.getLabel(), mode);
-
}
-
comboSourceModeChildParent.setEnabled(false);
comboSourceModeChildParent.select(0);
comboSourceModeChildParent.addListener(SWT.Selection, this);
sourceTypeViewer = CheckboxTableViewer.newCheckList(control, SWT.BORDER | SWT.SINGLE);
sourceTypeViewer.setContentProvider(new ArrayContentProvider());
-
sourceTypeViewer.addCheckStateListener(new ICheckStateListener(){
@Override
public void checkStateChanged( CheckStateChangedEvent event){
sourceTypeViewer.getTable().setEnabled(true);
}
}
-
}
public List<TaxonNode> getSelectedTaxonNodes(){
}
return result;
}
-
-
-}
+}
\ No newline at end of file
private EntitySelectionElement<TaxonName> selection_reuseExistingName;
private EntitySelectionElement<Reference> selection_SecRef;
-// private OriginalSourceElement singleSourceSection;
-
private TextWithLabelElement textTaxonSec;
private TextWithLabelElement microReference;
private TextWithLabelElement textNewTaxonName;
}
@Override
- public void createControls(ICdmFormElement formElement,TaxonNode entity, int style) {
+ public void createControls(ICdmFormElement formElement, TaxonNode entity, int style) {
// taxon = entity.getTaxon();
Label taxonTitle = new Label(getLayoutComposite(), SWT.NULL);
taxonTitle.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
taxonTitle.setFont(FONT_BOLD);
-
-
if (isCreateNew()){
textNewTaxonName = formFactory.createTextWithLabelElement(formElement,
Messages.TaxonNodeWizardPage_NEW_TAXON, "", style);
}
singleSourceSection.setIndent(10);
-// singleSourceSection.set
-
-// super.createControls(formElement, entity, style);
setSourceLabel(Messages.TaxonNodeWizardPage_PLACEMENT_SOURCE);
-
selectionNodeAgentRelation = formFactory.createTaxonNodeAgentRelationCollectionSection(formElement, getConversationHolder(), StoreUtil.getSectionStyle(TaxonNodeAgentRelationCollectionSection.class, entity.getClass().getCanonicalName()));
selectionNodeAgentRelation.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
selectionNodeAgentRelation.setEntity(entity);
selectionNodeAgentRelation.setIndent(10);
selectionNodeAgentRelation.setFont(AbstractUtility.getFont(Resources.COLOR_FONT_DEFAULT));
setBackground(getPersistentBackground());
-
}
private void setDefaultPublish() {