Show last or any other tab when the current one is closed.
(from redmine: issue id 1845, created on 2014-09-15 by gmueller, closed on 2014-12-12)
- Relations:
- parent #1875
- Changesets:
- Revision 1765 by Benjamin Fischer on 2014-12-02T21:51:09Z:
Implement UI abstraction: UIElement & UIJuggler
Migrated Workspace, WorkspaceView & PreferenceView accordingly
Importand changed to API:
- to focus or show an UIElement use .focus() since this will be required to handle multiple simultaniously visible UIElements properly
- UIJuggler takes care of all the management of other peer instances and their visual components - no meddling required anymore
- Workspace: (de)select methods & the belonging events (de)selected have been replaced by focus/blur methods & the events focus/blur
refs #1875, #1845
- Revision 1765 by Benjamin Fischer on 2014-12-02T21:51:09Z:
Implement UI abstraction: UIElement & UIJuggler
Migrated Workspace, WorkspaceView & PreferenceView accordingly
Importand changed to API:
- to focus or show an UIElement use .focus() since this will be required to handle multiple simultaniously visible UIElements properly
- UIJuggler takes care of all the management of other peer instances and their visual components - no meddling required anymore
- Workspace: (de)select methods & the belonging events (de)selected have been replaced by focus/blur methods & the events focus/blur
refs #1875, #1845
- Revision 1772 by Benjamin Fischer on 2014-12-05T14:51:11Z:
Migrated ExtensionView, CenterView (including Workspace integration), Terminal to use UIElement & UIJuggler. refs #1875, #1845
- Revision 1772 by Benjamin Fischer on 2014-12-05T14:51:11Z:
Migrated ExtensionView, CenterView (including Workspace integration), Terminal to use UIElement & UIJuggler. refs #1875, #1845
- Revision 1800 by Benjamin Fischer on 2014-12-12T21:41:34Z:
Implemented (workspace) session saving & restoring and some minor changes:
- the ExtensionView features a state that can be used to store session persitent data (e.g. working directory, open file name, current selection, ...)
- it can be accessed with the functions getState(key) and setState(key, value, delay)
- the delay (given in seconds) should be used to lessen the load on the server and not immideatly save upon the every change; here an example: the scroll position in saved as a state, this should be done with a good delay (e.g. 10s) so one won't overload the connection with lots of save requests
- every state change will emit an "stateChange" event with the changed states key as first parameter - or null if the entire state was loaded from scrach (during init)
- the state saving does not account if one logged in multiple times (e.g. from phone & laptop): the latest save will be stored
- restoring the state available only when starting a new session (e.g. (re)connecting the workspace, reloading the page, logging in on another maching)
- restoring can be enabled in the settings (Workspace Handler -> continueSession) - even to always resore session
- minor change: cleaned up the parameter handling during class creation (init)
- also fixed various bugs
refs #1875, fix #1905, #1845
- Revision 1800 by Benjamin Fischer on 2014-12-12T21:41:34Z:
Implemented (workspace) session saving & restoring and some minor changes:
- the ExtensionView features a state that can be used to store session persitent data (e.g. working directory, open file name, current selection, ...)
- it can be accessed with the functions getState(key) and setState(key, value, delay)
- the delay (given in seconds) should be used to lessen the load on the server and not immideatly save upon the every change; here an example: the scroll position in saved as a state, this should be done with a good delay (e.g. 10s) so one won't overload the connection with lots of save requests
- every state change will emit an "stateChange" event with the changed states key as first parameter - or null if the entire state was loaded from scrach (during init)
- the state saving does not account if one logged in multiple times (e.g. from phone & laptop): the latest save will be stored
- restoring the state available only when starting a new session (e.g. (re)connecting the workspace, reloading the page, logging in on another maching)
- restoring can be enabled in the settings (Workspace Handler -> continueSession) - even to always resore session
- minor change: cleaned up the parameter handling during class creation (init)
- also fixed various bugs
refs #1875, fix #1905, #1845