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  2013  2014  2015  <20162017  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  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: display two opi viewers on different monitors
From: "Kasemir, Kay" <[email protected]>
To: Paul Sichta <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 2 Dec 2016 14:03:07 +0000
Hi:

> On Dec 2, 2016, at 8:24 AM, Paul Sichta <[email protected]> wrote:
> Your option 2 sounds like it'll launch detached windows, and I assume I can tweak software somewhere to make the Shift option a default.  I also didn't know the drag-tab-out was available - that wasn't years ago.

Yes, the ‘drag out’ became available around Feb. 2015 when we transitioned to Eclipse 4.x.

Since then you can interactively drag a display runtime window out of the workbench window, something that was previously only possible with “views” (probe, file navigator, PV tree, ..) but not “editors” (things related to a file like text editor, data browser, *.opi runtimes).

Since about Jan. 2016, CSS version 4.2 changes the *.opi runtimes to be based on “views”.
This means that their arrangement can be saved, switched, restored as part of the Eclipse ‘Perspective’ handling:

	1) Start CSS with a new, clean workspace. This can be done either by entering a new workspace name on startup, or by deleting the folder listed in the workspace selection dialog before pressing "OK" to use it.
	2) Open and/or Reset the "OPI Runtime" Perspective. By default, the "OPI Runtime" perspective is empty, but there is a preference option "CSS Applications", "Display", "BOY", "Show OPI Runtime Stacks" that will add various placeholders.
	3) Open and arrange desired display panels. This includes dragging them out of the workbench window.
        4) If "Show OPI Runtime Stacks" was enabled, close the unused placeholders. Use "Save As" from perspective switcher to create a named custom perspective.
	5) Repeat from step 2 until all desired perspectives have been created.

--> You can now open, close, switch, reset display layouts as perspectives.

      6) Select the perspective which you want to be open when CSS starts up, exit CSS

If you want to “lock” this setup:

Locate the workbench.xmi in the workspace folder, create a copy:
  cp YOUR_WORKSPACE/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi $HOME/my_golden_workbench.xmi

When you now start CSS as
   css -workbench_xmi  $HOME/my_golden_workbench.xmi
it will come up as you left it in step 6)

This allows you to create a setup where users always have some “Main” layout when they start CSS.
They can then switch to a “Vacuum”, “Experiment 1”, … layout as desired.
They can still move things around. For the most part, they can “reset” a perspective to get the original layout.
When users close & restart CSS, it’s back to step 6, i.e. layout arrangements by users are lost because we always start over with my_golden_workbench.xmi.

There are alternate options to save selected perspectives into a certain directory and then load all saved perspectives from that directory on startup, allowing you to distribute setups between instances of CSS while otherwise still starting up “as it was when shut down”. See Edit, Preferences, General, Perspectives Sharing. In that case you don’t use my_golden_workbench.xmi, you just add certain shared perspectives to each instance.

-Kay


References:
display two opi viewers on different monitors palak shimpee
Re: display two opi viewers on different monitors Southern, Tim
Re: display two opi viewers on different monitors Paul Sichta

Navigate by Date:
Prev: Re: display two opi viewers on different monitors Paul Sichta
Next: Re: SNL sequencer apparently losing connection to underlying network Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: display two opi viewers on different monitors Paul Sichta
Next: Capturing data from string which is sent by device 정필규
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Dec 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·