public class JTableEditorAdapter extends ComplexWidgetEditorAdapter {
@Override
public IEditor getEditorAt() {
CompositeAdapter parent = adaptable.getParentAdapter();
if (parent != null && parent.getWidget() instanceof JScrollPane)
return new TableModelEditor(adaptable, (JScrollPane) parent.cloneWidget());
else
return null;
}