EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CSS/BOY detached view position
From: "Kasemir, Kay" <[email protected]>
To: "LYNCH, Damien" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 22 Aug 2013 09:05:58 -0400
Hi:

On Aug 22, 2013, at 12:52 AM, "LYNCH, Damien" <[email protected]> wrote:
> Is there a way of saving the position of an OPI opened in a detached view so the view window position is retained after a restart? At the moment the view seems to be centred over the main window.

In short: Sorry, no, and I don't think we should invest time fixing that.

Why?

CSS is currently based on Eclipse 3.x. With Eclipse 4.x, window position issues go away. There's no longer any distinction between 'editor' and 'view'.
This means that a "Probe" panel (a 'view') can be moved to the center of the workbench, which was previously reserved for 'editors'.
A "BOY" *.opi, "Data Browser" *.plt, text editor and other 'editors' can be moved out of the workbench, "detached", which isn't possible with Eclipse 3.x 'editors'. And yes, their position is retained after a restart.

So with CSS based on Eclipse 4.x, your problem is solved. The extra code that has been added to SDS, BOY, Data Browser, .. to open things as "Views" instead of "Editors", in a "Shell" to be standalone, … is all obsolete. In fact that type of code, which hacked into internals of the 3.x API, is part of the problem why moving CSS to Eclipse 4.x has been so slow.
At this time, we have a version of CSS in the git repository that mostly works with Eclipse 4.x, but the development effort has been concentrated on other things, remaining on a branch that still targets Eclipse 3.x, so by now the 4.x branch has fallen behind. It would probably be possible to preserve detached window positions in the 3.x code, but I think we should move towards 4.x instead of sinking time into this on 3.x, and then needing even more time to un-do that for 4.x. 

-Kay




References:
CSS/BOY detached view position [SEC=UNCLASSIFIED] LYNCH, Damien

Navigate by Date:
Prev: Re: EPICS and MEDM with eclipse Kasemir, Kay
Next: RE: CSS/BOY detached view position [SEC=UNCLASSIFIED] Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CSS/BOY detached view position [SEC=UNCLASSIFIED] LYNCH, Damien
Next: RE: CSS/BOY detached view position [SEC=UNCLASSIFIED] Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·