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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: About CSS/BOY
From: patard <patard@ganil.fr>
To: tech-talk@aps.anl.gov
Date: Fri, 22 Jul 2011 11:11:23 +0200
Le 22/07/2011 11:00, Touchard Dominique a écrit :

 

 

De : patard [mailto:patard@ganil.fr]
Envoyé : vendredi 22 juillet 2011 10:46
À : Touchard Dominique
Objet : Re: About CSS/BOY

 

Le 21/07/2011 20:05, Chen, Xihui a écrit :

Hi Charles,

 

 

>I've tested the version 3.0.0 of CSS/BOY and I guess the bug wasn't fixed because the menu always appears when I restart CSS in "OPI runtime". Or may be my process to do this isn't good.

Sorry, it was my misleading. The compact mode cannot be restored after CSS restarted. To achieve this function, I plan to add two static methods to ScriptUtil: ScriptUtil.compactMode() and ScriptUtil.fullScreen(). You can attach a script to your OPI to force it to compact mode whenever the OPI is started. Again, these methods are available in next release.


>Secondly, I tried, to launch an opi file in other window CSS/BOY (not in a new tab) by a click on Action Button. The only solution I've found is to attach a "Execute _javascript_"  in property Actions.

You can right click the action button and select “Open in new window” or Press “Shift” while clicking to launch an opi in new window.


Thanks,

Xihui

Hi Xihui,

>Sorry, it was my misleading. The compact mode cannot be restored after CSS restarted. To achieve this function, I plan to add two static methods to ScriptUtil: ScriptUtil.compactMode() and ScriptUtil.fullScreen(). You can attach a script to your OPI to force it to compact mode whenever the OPI is started. Again, these methods are available in next release.

I'll wait for the next release. Thank you very much.

>You can right click the action button and select “Open in new window” or Press “Shift” while clicking to launch an opi in new window.

I already know this BOY functionality. It's true that my request wasn't quite clear. My aim is to make as simple as possible for Spiral2 operators and developpers. What could be simplest than a click ? I have already written a _javascript_ that forces an external window open when the user simply clicks on the button. I thought that it could be simpler to add an action property to force an external open.

I've a other question for you Xihui. Is it possible to prevent the use of "Opi editor" when the CSS/BOY is in the runtime compact mode ? In this way the users haven't access to the development tools. They can only use the "Opi runtime" and can't exit this mode.

Thanks
Charles-Henry 


begin:vcard
fn:Charles-Henry PATARD
n:PATARD;Charles-Henry
org:GANIL;SDA - groupe GIM
adr;dom:;;Boulevard Henri Becquerel;CAEN;;14000
email;internet:patard@ganil.fr
tel;work:02-31-45-49-05
version:2.1
end:vcard


Replies:
RE: About CSS/BOY Chen, Xihui
References:
About CSS/BOY patard
RE: About CSS/BOY Chen, Xihui

Navigate by Date:
Prev: color PV in edm Text Monitor Pierrick Hanlet
Next: CSS training at Saclay 17-21 October 2011 Gougnaud Françoise
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: RE: About CSS/BOY Chen, Xihui
Next: RE: About CSS/BOY Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·