Project

General

Profile

« Previous | Next » 

Revision ff58a197

Added by Patrick Plitzner over 4 years ago

ref #6806 Move feature tree widget initialization to WS editor

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/WorkingSetComposite.java
88 88

  
89 89
        featureTreeEditorComposite = new FeatureTreeEditorComposite(this, SWT.NONE);
90 90
        featureTreeEditorComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
91
        featureTreeEditorComposite.init(null, null, null, null);
92

  
93

  
94

  
95 91
    }
96 92

  
97 93
    @Override
......
116 112
        comboRankMax.setTerm(max);
117 113
    }
118 114

  
115
    public FeatureTreeEditorComposite getFeatureTreeEditorComposite() {
116
        return featureTreeEditorComposite;
117
    }
118

  
119 119
    public FeatureTree getCharacters(){
120 120
        return featureTreeEditorComposite.getFeatureTree();
121 121
    }
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/WorkingSetEditor.java
118 118
            dirty.setDirty(true);
119 119
        });
120 120

  
121
        composite.getFeatureTreeEditorComposite().init(null, null, null, null);
122

  
121 123
        //add drag'n'drop support
122 124
        Transfer[] transfers = new Transfer[] {LocalSelectionTransfer.getTransfer()};
123 125
        composite.getTaxonNodeTree().addDropSupport(dndOperations, transfers, new TaxonNodeDropAdapter(this));

Also available in: Unified diff