Thanks Hugo, my question was solved.
Lucas José Monteiro Carvalho
Control Group
Brazilian Synchrotron Light Laboratory
[email protected]
+55 19 8217-6011
________________________________________
De: Hugo Slepicka [[email protected]]
Enviado: quarta-feira, 15 de maio de 2013 12:43
Para: Lucas Jose Monteiro Carvalho
Cc: [email protected]
Assunto: Re: Open multiple OPI
Dear Lucas,
You can change the action to execute a Javascript/Python and use openOPI function to open as many OPIs as you want.
openOPI
public static final void openOPI(org.csstudio.opibuilder.editparts.AbstractBaseEditPart widget,
java.lang.String opiPath,
int target,
org.csstudio.opibuilder.util.MacrosInput macrosInput)
Open an OPI.
Parameters:
widget - the widget to which the script is attached.
opiPath - the path of the OPI. It can be either an absolute path or a relative path to the Display file of the widget.
target - target place of the new OPI. 0: new tab; 1: replace current one; 2: new window; 3: view on left; 4: view on right; 5: view on top; 6: view on bottom; 7: detached view
macrosInput - the macrosInput. null if no macros needed.
--
Hugo Henrique Slepicka
Computer Engineer
SOL - Beamline Software Group
LNLS - Brazilian Synchrotron Light Laboratory
CNPEM - Centro Nacional de Pesquisa em Energia e Materiais
+55 19 3512-1228 - [email protected]<mailto:[email protected]>
www.lnls.br<http://www.lnls.br>
2013/5/15 Lucas Jose Monteiro Carvalho <[email protected]<mailto:[email protected]>>
Hello, all.
In Control System Studio, I have a menu button.
In this menu button, the user can choose 4 options.
How can I do, when user choose an option (An Open OPI action), to open more than one OPI?
Thanks in advance,
Lucas José Monteiro Carvalho
Control Group
Brazilian Synchrotron Light Laboratory
[email protected]<mailto:[email protected]>
+55 19 8217-6011<tel:+551982176011>
- References:
- Re: Open multiple OPI Hugo Slepicka
- Navigate by Date:
- Prev:
RE: Modbus TCP and Omega Mark Rivers
- Next:
RE: [Bug 1179642] Re: race condition when destroying subscripion in preemptive callback mode application Hill, Jeff
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Open multiple OPI Hugo Slepicka
- Next:
RE: [Bug 1179642] Re: race condition when destroying subscripion in preemptive callback mode application Hill, Jeff
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|