com.google.gwt.app.place
Class AbstractRecordEditActivity<R extends Record>
java.lang.Object
com.google.gwt.app.place.AbstractRecordEditActivity<R>
- Type Parameters:
R - the type of Record being edited
- All Implemented Interfaces:
- Activity, RecordEditView.Delegate
public abstract class AbstractRecordEditActivity<R extends Record>
- extends java.lang.Object
- implements Activity, RecordEditView.Delegate
Experimental API: This class is still under rapid
development, and is very likely to be deleted. Use it at your own risk.
Abstract activity for editing a record.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRecordEditActivity
public AbstractRecordEditActivity(RecordEditView<R> view,
java.lang.String id,
RequestFactory requests)
cancelClicked
public void cancelClicked()
- Specified by:
cancelClicked in interface RecordEditView.Delegate
onCancel
public void onCancel()
- Description copied from interface:
Activity
- Called when
Activity.start(com.google.gwt.app.place.Activity.Display) has not yet replied to its callback, but the
user has lost interest.
- Specified by:
onCancel in interface Activity
onStop
public void onStop()
- Description copied from interface:
Activity
- Called when the Activity's widget has been removed from view.
- Specified by:
onStop in interface Activity
saveClicked
public void saveClicked()
- Specified by:
saveClicked in interface RecordEditView.Delegate
start
public void start(Activity.Display display)
- Description copied from interface:
Activity
- Called when the Activity should prepare its
IsWidget for the user.
Once the widget is ready (typically after an RPC response has been
received), receiver should present it via
Activity.Display.showActivityWidget(IsWidget).
- Specified by:
start in interface Activity
- Parameters:
display - the panel to display this activity's widget when it is ready
willStop
public boolean willStop()
- Specified by:
willStop in interface Activity