Project

General

Profile

« Previous | Next » 

Revision b56c58c0

Added by Andreas Müller about 3 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/TaxonNodeDetailElement.java
82 82
	private EntitySelectionElement<TaxonName> selection_reuseExistingName;
83 83
    private EntitySelectionElement<Reference> selection_SecRef;
84 84

  
85
//    private OriginalSourceElement singleSourceSection;
86

  
87 85
    private TextWithLabelElement textTaxonSec;
88 86
	private TextWithLabelElement microReference;
89 87
    private TextWithLabelElement textNewTaxonName;
......
118 116
    }
119 117

  
120 118
	@Override
121
	public void createControls(ICdmFormElement formElement,TaxonNode entity, int style) {
119
	public void createControls(ICdmFormElement formElement, TaxonNode entity, int style) {
122 120
//	    taxon = entity.getTaxon();
123 121

  
124 122
	    Label taxonTitle = new Label(getLayoutComposite(), SWT.NULL);
......
126 124
	    taxonTitle.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
127 125
	    taxonTitle.setFont(FONT_BOLD);
128 126

  
129

  
130

  
131 127
	    if (isCreateNew()){
132 128
	        textNewTaxonName = formFactory.createTextWithLabelElement(formElement,
133 129
                    Messages.TaxonNodeWizardPage_NEW_TAXON, "", style);
......
258 254

  
259 255
        }
260 256
        singleSourceSection.setIndent(10);
261
//        singleSourceSection.set
262

  
263
//	    super.createControls(formElement, entity, style);
264 257

  
265 258
	    setSourceLabel(Messages.TaxonNodeWizardPage_PLACEMENT_SOURCE);
266 259

  
267

  
268 260
		selectionNodeAgentRelation = formFactory.createTaxonNodeAgentRelationCollectionSection(formElement, getConversationHolder(), StoreUtil.getSectionStyle(TaxonNodeAgentRelationCollectionSection.class, entity.getClass().getCanonicalName()));
269 261
		selectionNodeAgentRelation.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
270 262
        selectionNodeAgentRelation.setEntity(entity);
271 263
        selectionNodeAgentRelation.setIndent(10);
272 264
        selectionNodeAgentRelation.setFont(AbstractUtility.getFont(Resources.COLOR_FONT_DEFAULT));
273 265
        setBackground(getPersistentBackground());
274

  
275 266
	}
276 267

  
277 268
    private void setDefaultPublish() {

Also available in: Unified diff