Imported CSS files

This commit is contained in:
Sakbe
2019-10-21 16:02:55 +01:00
parent 22146b8413
commit 87401e8c95
365 changed files with 1092613 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
from org.csstudio.opibuilder.scriptUtil import PVUtil
from org.csstudio.swt.widgets.natives.SpreadSheetTable import ITableSelectionChangedListener
from java.util import Arrays
table = widget.getTable()
class SelectionListener(ITableSelectionChangedListener):
def selectionChanged(self, selection):
for row in selection:
par_name = row[1]
par_io = row[4]
pvs[1].setValue(par_name)
pvs[2].setValue(par_io)
table.addSelectionChangedListener(SelectionListener())