{"action":"created","issue":{"url":"https://api.github.com/repos/gama-platform/gama/issues/1484","repository_url":"https://api.github.com/repos/gama-platform/gama","labels_url":"https://api.github.com/repos/gama-platform/gama/issues/1484/labels{/name}","comments_url":"https://api.github.com/repos/gama-platform/gama/issues/1484/comments","events_url":"https://api.github.com/repos/gama-platform/gama/issues/1484/events","html_url":"https://github.com/gama-platform/gama/issues/1484","id":128135380,"number":1484,"title":"More flexibility on Perspectives","user":{"login":"AlexisDrogoul","id":579256,"avatar_url":"https://avatars.githubusercontent.com/u/579256?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisDrogoul","html_url":"https://github.com/AlexisDrogoul","followers_url":"https://api.github.com/users/AlexisDrogoul/followers","following_url":"https://api.github.com/users/AlexisDrogoul/following{/other_user}","gists_url":"https://api.github.com/users/AlexisDrogoul/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisDrogoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisDrogoul/subscriptions","organizations_url":"https://api.github.com/users/AlexisDrogoul/orgs","repos_url":"https://api.github.com/users/AlexisDrogoul/repos","events_url":"https://api.github.com/users/AlexisDrogoul/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisDrogoul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gama-platform/gama/labels/%3E%20Enhancement","name":"> Enhancement","color":"009800"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Affects%20Usability","name":"Affects Usability","color":"eb6420"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Concerns%20Interface","name":"Concerns Interface","color":"207de5"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/OS%20All","name":"OS All","color":"bfdadc"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Priority%20High","name":"Priority High","color":"fad8c7"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Version%20Git","name":"Version Git","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gama-platform/gama/milestones/4","html_url":"https://github.com/gama-platform/gama/milestones/GAMA%201.7%20release","labels_url":"https://api.github.com/repos/gama-platform/gama/milestones/4/labels","id":1545493,"number":4,"title":"GAMA 1.7 release","description":"The final release of GAMA 1.7","creator":{"login":"AlexisDrogoul","id":579256,"avatar_url":"https://avatars.githubusercontent.com/u/579256?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisDrogoul","html_url":"https://github.com/AlexisDrogoul","followers_url":"https://api.github.com/users/AlexisDrogoul/followers","following_url":"https://api.github.com/users/AlexisDrogoul/following{/other_user}","gists_url":"https://api.github.com/users/AlexisDrogoul/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisDrogoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisDrogoul/subscriptions","organizations_url":"https://api.github.com/users/AlexisDrogoul/orgs","repos_url":"https://api.github.com/users/AlexisDrogoul/repos","events_url":"https://api.github.com/users/AlexisDrogoul/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisDrogoul/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":90,"state":"open","created_at":"2016-01-27T01:50:44Z","updated_at":"2016-05-11T03:05:11Z","due_on":"2016-03-14T17:00:00Z","closed_at":null},"comments":4,"created_at":"2016-01-22T11:21:00Z","updated_at":"2016-05-13T16:20:33Z","closed_at":null,"body":"Regarding the management of the 2 perspectives Eclipse offers, there is a lot to say, and probably a lot to do in order for users to have more flexibility and to easily retain and come back to a familiar layout of views. In particular, I am interested in a solution that could look like the one exposed in this thread (http://stackoverflow.com/questions/27014390/save-perspective-layout-in-eclipse-4) to save perspectives for each individual simulations.\r\n\r\nBeside this, there are some enhancements we should provide:\r\n\r\n- [x] The possibility to reset a perspective to its initial state\r\n- [ ] The possibility to save the current state of a perspective (maybe with a name, associated to a model ?)\r\n- [x] The possibility to load a layout of views (maybe from the model as well ?)\r\n- [ ] The possibility to *not* remember the current state of a perspective\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gama-platform/gama/issues/comments/219090912","html_url":"https://github.com/gama-platform/gama/issues/1484#issuecomment-219090912","issue_url":"https://api.github.com/repos/gama-platform/gama/issues/1484","id":219090912,"user":{"login":"AlexisDrogoul","id":579256,"avatar_url":"https://avatars.githubusercontent.com/u/579256?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisDrogoul","html_url":"https://github.com/AlexisDrogoul","followers_url":"https://api.github.com/users/AlexisDrogoul/followers","following_url":"https://api.github.com/users/AlexisDrogoul/following{/other_user}","gists_url":"https://api.github.com/users/AlexisDrogoul/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisDrogoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisDrogoul/subscriptions","organizations_url":"https://api.github.com/users/AlexisDrogoul/orgs","repos_url":"https://api.github.com/users/AlexisDrogoul/repos","events_url":"https://api.github.com/users/AlexisDrogoul/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisDrogoul/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T16:20:33Z","updated_at":"2016-05-13T16:20:33Z","body":"I have implemented a first batch of changes that should ease the possibility to describe layouts for views in GAMA. They only concern display views, for the moment (but they are the more concerned anyway).\r\n\r\nBasically:\r\n- a new preference has been introduced to choose a \"default\" layout for display views when launching an experiment. The user has the choice between `none` (the new \"default\"), `stack` (the old \"default\"), `split`(in a grid), `horizontal` or `vertical`. \r\n- the four last ones can also be chosen to alter the layout of the views dynamically, during the run of an experiment, thanks to a new submenu in the \"Views\" menu (which has been reorganized).\r\n- a layout can also be directly specified in an experiment. I have chosen to implement it as a facet of the `permanent` output, the one of the experiment, to better convey the idea that it applies to both experiment and simulation displays (and to all the simulations if there are several). So writing `permanent layout: #split {}` will position the views in a grid when launching the experiment.\r\n\r\nThese new options works well 90% of the time, but there are still some glitches with Java2D views, which do not seem to react well, sometimes, to the manipulation of their `part` in e4. OpenGL are ok as far as I can tell. \r\n\r\nOne last thing is that specifying `none` for the default layout (or `#none` in the experiment) will allow the modeler to compose himself and eventually save a layout (a perspective) -- otherwise, the use of a default layout other than `none` will systematically reapply the same structure at each relaunch of the simulation. \r\n\r\n"}}