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]
www.lnls.br
2013/5/15 Lucas Jose Monteiro Carvalho <
[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] +55 19 8217-6011