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  2016  <20172018  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  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Re: Action Button in Display Builder
From: "Kasemir, Kay" <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 20 Sep 2017 13:04:01 +0000
Hi:

> Our scenario is that we hope to use a “main.bob” file as initial entry interface, which contains the several entrances of sub-interface.
>The main interface should always be remained on the screen. If a sub-interface has been opened, when the corresponding action button is clicked again ,
>the previous sub-interface should be activated instead of opening a new sub-interface.
>
> Can Display Builder achieve the above scenario?

To accomplish this, configure the action buttons in your main.bob to open the other displays in a "New Tab".
Don't use "New Workbench Window".

When you now open a sub-interface, it starts out in a new tab.
You can drag that new tab out into a new window.
You can drag each sub-interface out as its own window, or you can have a main window,
drag the first sub-interface out into another window,
and then keep dragging sub-interfaces into that same other window.

In any case, if you try to open a sub-interface that's already open, either in a tab of the main window or dragged out into another window, you'll simply bring that existing sub-interface instance back to the top.

Finally, for your control room, you can do that same that's described on https://github.com/ControlSystemStudio/cs-studio/wiki/CS-Studio-Perspectives for BOY with the Display Builder:

1) Open the "Display Runtime" perspective
2) Open the main.bob, then maybe open some sub-interfaces that you usually need to be visible.
3) Arrange all as desired
4_ Use "Save As" from perspective switcher to create a named custom perspective, for example called "Main"
5) Exit CSS
6) Copy the file YOUR_WORKSPACE/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi  into $HOME/my_golden_workbench.xmi
7) From now on, start CSS with
       css -workbench_xmi $HOME/my_golden_workbench.xmi
 
==> CSS will always start up with that "Main" layout.
If users get lost, they can often use "Reset" on the perspective to return to the initial state.
If all fails, just restart CSS and you're back in the original layout. 

-Kay

References:
Action Button in Display Builder xus
Re: Action Button in Display Builder Kasemir, Kay
Re: Re: Action Button in Display Builder xus

Navigate by Date:
Prev: RE: Ideas / Suggestions for the future of VME-CPU Operating Systems Mark Rivers
Next: Re: Ideas / Suggestions for the future of VME-CPU Operating Systems Heinz Junkes
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Re: Action Button in Display Builder xus
Next: Device Support and Device Driver with Python Antal, Szabolcs
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·