| Summary: | Rename and extend BrowserHistory client service | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tim Buschtoens <tbuschto> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 2.0 | ||
| Target Milestone: | 2.0 M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Tim Buschtoens
The BrowserHistory has been renamed to BrowserNavigation both on client, server and protocol with commit 047115bc99c3290a8c8e0a1439ccede422fca1d2. Also renamed: - createEntry -> createHistoryEntry - add/removeBrowserHistoryListener -> add/removeBrowserNavigationListener - BrowserHistoryListener -> BrowserNavigationListener - BrowserHistoryEvent -> BrowserNavigationEvent - "add" method in the protocol to "addToHistory" Removed IBrowserHistory deprecated interface. Keep the deprecated RWT#getBrowserHistory, but changed the return type to BrowserNavigation. We use this pattern in RWT#getSessionStore for example. Will not extend the functionality with these two new properties for now - "url" and "title". We agreed not to add get/setTitle to the BrowserNavigation as this is not directly related to "navigation". This issue is already covered by bug 343075. A get/setUrl method doesn't seem to be needed at the moment. |