@Test public void testSetup() { testSetupOfType("type"); testSetupOfRemoveButton(true); }
@Override public ExternalDataObjectsItemPresenter setup(final Import import_, final ExternalDataObjectsPresenter parentPresenter) { this.import_ = import_; this.parentPresenter = parentPresenter; view.init(this); view.setTypeName(import_.getType()); final String typeName = import_.getType(); setRemoveButtonVisibility(typeName); return this; }
ExternalDataObjectsItemPresenter extends ListItemPresenter<Import, ExternalDataObjectsPresenter, ExternalDataObjectsItemPresenter.View> { @Override public ExternalDataObjectsItemPresenter setup(final Import import_, final ExternalDataObjectsPresenter parentPresenter) { this.import_ = import_; this.parentPresenter = parentPresenter; view.init(this); view.setTypeName(import_.getType()); final String typeName = import_.getType(); setRemoveButtonVisibility(typeName); return this; } }
ExternalDataObjectsItemPresenter extends ListItemPresenter<Import, ExternalDataObjectsPresenter, ExternalDataObjectsItemPresenter.View> { @Override public ExternalDataObjectsItemPresenter setup(final Import import_, final ExternalDataObjectsPresenter parentPresenter) { this.import_ = import_; this.parentPresenter = parentPresenter; view.init(this); view.setTypeName(import_.getType()); final String typeName = import_.getType(); setRemoveButtonVisibility(typeName); return this; } @Inject  ExternalDataObjectsItemPresenter(final View view); }
ExternalDataObjectsItemPresenter extends ListItemPresenter<Import, ExternalDataObjectsPresenter, ExternalDataObjectsItemPresenter.View> { @Override public ExternalDataObjectsItemPresenter setup(final Import import_, final ExternalDataObjectsPresenter parentPresenter) { this.import_ = import_; this.parentPresenter = parentPresenter; view.init(this); view.setTypeName(import_.getType()); final String typeName = import_.getType(); setRemoveButtonVisibility(typeName); return this; } @Inject  ExternalDataObjectsItemPresenter(final View view); @Override ExternalDataObjectsItemPresenter setup(final Import import_,
                                                  final ExternalDataObjectsPresenter parentPresenter); @Override void remove(); void onTypeNameChange(final String typeName); @Override Import getObject(); View getView(); }
ExternalDataObjectsItemPresenter extends ListItemPresenter<Import, ExternalDataObjectsPresenter, ExternalDataObjectsItemPresenter.View> { @Override public ExternalDataObjectsItemPresenter setup(final Import import_, final ExternalDataObjectsPresenter parentPresenter) { this.import_ = import_; this.parentPresenter = parentPresenter; view.init(this); view.setTypeName(import_.getType()); final String typeName = import_.getType(); setRemoveButtonVisibility(typeName); return this; } @Inject  ExternalDataObjectsItemPresenter(final View view); @Override ExternalDataObjectsItemPresenter setup(final Import import_,
                                                  final ExternalDataObjectsPresenter parentPresenter); @Override void remove(); void onTypeNameChange(final String typeName); @Override Import getObject(); View getView();  }