{"action":"created","issue":{"url":"https://api.github.com/repos/ControlSystemStudio/cs-studio/issues/1398","labels_url":"https://api.github.com/repos/ControlSystemStudio/cs-studio/issues/1398/labels{/name}","comments_url":"https://api.github.com/repos/ControlSystemStudio/cs-studio/issues/1398/comments","events_url":"https://api.github.com/repos/ControlSystemStudio/cs-studio/issues/1398/events","html_url":"https://github.com/ControlSystemStudio/cs-studio/issues/1398","id":112328805,"number":1398,"title":"Save and share perspectives","user":{"login":"willrogers","id":2440055,"avatar_url":"https://avatars.githubusercontent.com/u/2440055?v=3","gravatar_id":"","url":"https://api.github.com/users/willrogers","html_url":"https://github.com/willrogers","followers_url":"https://api.github.com/users/willrogers/followers","following_url":"https://api.github.com/users/willrogers/following{/other_user}","gists_url":"https://api.github.com/users/willrogers/gists{/gist_id}","starred_url":"https://api.github.com/users/willrogers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willrogers/subscriptions","organizations_url":"https://api.github.com/users/willrogers/orgs","repos_url":"https://api.github.com/users/willrogers/repos","events_url":"https://api.github.com/users/willrogers/events{/privacy}","received_events_url":"https://api.github.com/users/willrogers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-20T09:56:02Z","updated_at":"2015-10-20T09:57:44Z","closed_at":null,"body":"This was one of the original goals of #544, but all other aspects of that ticket are complete.  Using views for OPIs enables more control over perspectives.\r\n\r\nKay's original description:\r\n\r\n> Goal is to be able to “save” the layout of *.opi displays, so it can be “restored” and operators can switch between different layouts.\r\n> Maybe including a “frozen” mode where a “restored” layout cannot be altered.\r\n\r\nDevelopers at Diamond are keen to be able to share perspectives between different workspaces.\r\n"},"comment":{"url":"https://api.github.com/repos/ControlSystemStudio/cs-studio/issues/comments/149501785","html_url":"https://github.com/ControlSystemStudio/cs-studio/issues/1398#issuecomment-149501785","issue_url":"https://api.github.com/repos/ControlSystemStudio/cs-studio/issues/1398","id":149501785,"user":{"login":"willrogers","id":2440055,"avatar_url":"https://avatars.githubusercontent.com/u/2440055?v=3","gravatar_id":"","url":"https://api.github.com/users/willrogers","html_url":"https://github.com/willrogers","followers_url":"https://api.github.com/users/willrogers/followers","following_url":"https://api.github.com/users/willrogers/following{/other_user}","gists_url":"https://api.github.com/users/willrogers/gists{/gist_id}","starred_url":"https://api.github.com/users/willrogers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willrogers/subscriptions","organizations_url":"https://api.github.com/users/willrogers/orgs","repos_url":"https://api.github.com/users/willrogers/repos","events_url":"https://api.github.com/users/willrogers/events{/privacy}","received_events_url":"https://api.github.com/users/willrogers/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T09:57:44Z","updated_at":"2015-10-20T09:57:44Z","body":"Copied from #544, by @kasemir:\r\n\r\nSome clarification what I think this is about:\r\n\r\n> Users want to save and restore the layout of *.opi panels on the screen.\r\n> As an example, the current layout may be called \"Vacuum\". \"VacPumps.opi\" and \"VacValves.opi\" are open in some arrangement on the screen.\r\nThen operators can switch to a \"Cooling\" layout that instead opens \"WaterPumps.opi\" and \"WaterTemperatures.opi\" in some other arrangement on the screen.\r\nOperators can switch between the two layouts.\r\n\r\n> I still think that these layouts can just be the RCP Perspectives, as also suggested by #438. Changing the opibuilder.Runtime to exclusively use \"Views\" instead of \"Editors\", and fixing how those \"Views\" keep their *.opi file path (#674) should mostly get us there. Unclear if perspectives would be configured by adding some new XML format file reader as per #438, or we study how perspectives are currently persisted and somehow create those files, or only use \"Save As\" and then copy the persisted perspectives from a development computer to the control room.\r\n\r\n> \"Frozen\" has been brought up in that operators should not be allowed to move things around or close windows. The RCP API for the Perspective offers IPageLayouts.setFixed(true), but that actually no longer functions in E4 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=331402). Realistically, I consider this a weak requirement. EDM etc. never prevented window movement. The web or email browser in which you read this can be moved. Operators will certainly need to open a Data Browser, start a logbook entry, maybe move windows around to better see what they need to see.\r\n> A more realistic requirement is a \"Reset\": In case operators moved windows or for example closed the \"WaterPumps.opi\", a \"Reset\" of the \"Cooling\" perspective should restore it to the original layout, re-opening the \"WaterPumps.opi\". Fundamentally, perspectives already support \"Reset\", so that should not be a technical problem.\r\n"}}