Class AbstractAdminView<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>,V extends AbstractAdminPresenter.MyViewDef<T,P,V>>
- java.lang.Object
-
- com.gwtplatform.mvp.client.ViewImpl
-
- de.knightsoftnet.gwtp.spring.client.rest.helper.AbstractViewWithErrorHandling<AbstractAdminPresenter<T,P,V>,T>
-
- de.knightsoftnet.mtwidgets.client.ui.page.admin.AbstractAdminView<T,P,V>
-
- Type Parameters:
T- Type of the entity to editP- Proxy object typeV- View interface
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler,IsWidget,com.gwtplatform.mvp.client.View,EditorWithErrorHandling<AbstractAdminPresenter<T,P,V>,T>,HasShowMessage,AbstractAdminPresenter.MyViewDef<T,P,V>,de.knightsoftnet.validators.client.event.FormSubmitHandler<T>,org.gwtproject.editor.client.Editor<T>
public abstract class AbstractAdminView<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>,V extends AbstractAdminPresenter.MyViewDef<T,P,V>> extends AbstractViewWithErrorHandling<AbstractAdminPresenter<T,P,V>,T> implements AbstractAdminPresenter.MyViewDef<T,P,V>
abstract view of a admin view.- Author:
- Manfred Tremmel
-
-
Field Summary
Fields Modifier and Type Field Description AdminNavigationWidget<T>adminNavigation-
Fields inherited from class de.knightsoftnet.gwtp.spring.client.rest.helper.AbstractViewWithErrorHandling
driver, presenter
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAdminView(de.knightsoftnet.validators.client.editor.BeanValidationEditorDriver<T,? extends AbstractAdminView<T,P,V>> pdriver, javax.inject.Provider<AdminNavigationWidget<T>> adminNavigationProvider)constructor with injected parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminNavigationWidget<T>buildIAdminNavigationWidget()voiddisplayNavigtion(de.knightsoftnet.gwtp.spring.shared.data.AdminNavigation<Long> navigation)voidonFormSubmit(de.knightsoftnet.validators.client.event.FormSubmitEvent<T> entry)voidsetPresenter(AbstractAdminPresenter<T,P,V> ppresenter)voidshowMessage(String pmessage)voidshowSearchResult(org.springframework.data.domain.Page<T> result, boolean resetSorting)-
Methods inherited from class de.knightsoftnet.gwtp.spring.client.rest.helper.AbstractViewWithErrorHandling
fillForm, getPresenter, setConstraintViolations, setFocusOnFirstWidget
-
Methods inherited from class com.gwtplatform.mvp.client.ViewImpl
addToSlot, asWidget, bindSlot, bindSlot, bindSlot, initWidget, onAttach, onDetach, removeFromSlot, setInSlot
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.knightsoftnet.gwtp.spring.client.rest.helper.EditorWithErrorHandling
fillForm, setConstraintViolations, setFocusOnFirstWidget
-
-
-
-
Field Detail
-
adminNavigation
@Ignore @UiField public AdminNavigationWidget<T extends org.springframework.data.domain.Persistable<Long>> adminNavigation
-
-
Constructor Detail
-
AbstractAdminView
protected AbstractAdminView(de.knightsoftnet.validators.client.editor.BeanValidationEditorDriver<T,? extends AbstractAdminView<T,P,V>> pdriver, javax.inject.Provider<AdminNavigationWidget<T>> adminNavigationProvider)
constructor with injected parameters.- Parameters:
pdriver- editor driveradminNavigationProvider- administration navigation widget provider
-
-
Method Detail
-
buildIAdminNavigationWidget
@Ignore @UiFactory public AdminNavigationWidget<T> buildIAdminNavigationWidget()
-
setPresenter
public void setPresenter(AbstractAdminPresenter<T,P,V> ppresenter)
- Specified by:
setPresenterin interfaceEditorWithErrorHandling<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>>- Overrides:
setPresenterin classAbstractViewWithErrorHandling<AbstractAdminPresenter<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>,V extends AbstractAdminPresenter.MyViewDef<T,P,V>>,T extends org.springframework.data.domain.Persistable<Long>>
-
showMessage
public final void showMessage(String pmessage)
- Specified by:
showMessagein interfaceHasShowMessage- Specified by:
showMessagein classAbstractViewWithErrorHandling<AbstractAdminPresenter<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>,V extends AbstractAdminPresenter.MyViewDef<T,P,V>>,T extends org.springframework.data.domain.Persistable<Long>>
-
onFormSubmit
public void onFormSubmit(de.knightsoftnet.validators.client.event.FormSubmitEvent<T> entry)
-
displayNavigtion
public void displayNavigtion(de.knightsoftnet.gwtp.spring.shared.data.AdminNavigation<Long> navigation)
- Specified by:
displayNavigtionin interfaceAbstractAdminPresenter.MyViewDef<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>,V extends AbstractAdminPresenter.MyViewDef<T,P,V>>
-
showSearchResult
public void showSearchResult(org.springframework.data.domain.Page<T> result, boolean resetSorting)
- Specified by:
showSearchResultin interfaceAbstractAdminPresenter.MyViewDef<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>,V extends AbstractAdminPresenter.MyViewDef<T,P,V>>
-
-