141516171819202122
@Override public IEditor getEditorAt() { CompositeAdapter parent = adaptable.getParentAdapter(); if (parent != null && parent.getWidget() instanceof JScrollPane) return new TreeModelEditor((JScrollPane) parent.cloneWidget()); else return null; }