diff options
author | Henri Sara <hesara@vaadin.com> | 2012-06-11 14:57:19 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2012-06-12 14:17:51 +0300 |
commit | a1a87b0ce6bf96f868f18177bebb1a226a5a2753 (patch) | |
tree | d45da652d9dc8f70c9a8755d39541d55f185e79a /src/com/vaadin/navigator/View.java | |
parent | 8c60fbdc78d9ce79750b59db4875ec0c3c53c821 (diff) | |
download | vaadin-framework-a1a87b0ce6bf96f868f18177bebb1a226a5a2753.tar.gz vaadin-framework-a1a87b0ce6bf96f868f18177bebb1a226a5a2753.zip |
Some Navigator API changes based on review (#8859).
The changes in this changeset include
- remove the concept of main view (use empty view name)
- remove View.init()
- use ViewChangeEvent in ViewChangeListener
- remove internal parameters
- add getDisplay() and a constructor that creates a SimpleViewDisplay by
default
Diffstat (limited to 'src/com/vaadin/navigator/View.java')
-rw-r--r-- | src/com/vaadin/navigator/View.java | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/com/vaadin/navigator/View.java b/src/com/vaadin/navigator/View.java index efa13fbac2..4d135b4c0b 100644 --- a/src/com/vaadin/navigator/View.java +++ b/src/com/vaadin/navigator/View.java @@ -20,15 +20,6 @@ import com.vaadin.ui.Component; public interface View extends Serializable { /** - * Init view. - * - * Convenience method which navigator calls just before the view is rendered - * for the first time. This is called only once in the lifetime of each view - * instance. - */ - public void init(); - - /** * This view is navigated to. * * This method is always called before the view is shown on screen. If there @@ -40,11 +31,6 @@ public interface View extends Serializable { * @param fragmentParameters * parameters to the view or null if none given. This is the * string that appears e.g. in URI after "viewname/" - * @param internalParameters - * parameters given directly to - * {@link Navigator#navigateTo(String, Object...)}, not passed - * via the fragment and not preserved in bookmarks */ - public void navigateTo(String fragmentParameters, - Object... internalParameters); + public void navigateTo(String fragmentParameters); }
\ No newline at end of file |