@Override protected void doBinding() { editor.setOrdered(input.isOrdered(propertyPath)); editor.setUnique(input.isUnique(propertyPath)); editor.setDirectCreation(input.getDirectCreation(propertyPath)); ReferenceValueFactory factory = input.getValueFactory(propertyPath); if (factory != null) { editor.setFactory(input.getValueFactory(propertyPath)); } IStaticContentProvider provider = input.getContentProvider(propertyPath); if (provider != null) { editor.setContentProvider(provider); } if (getInputObservableList() instanceof ICommitListener) { editor.addCommitListener((ICommitListener) getInputObservableList()); } super.doBinding(); }
/** @return the ListViewer associated to this editor */ public TreeViewer getViewer() { return editor.getViewer(); }