Link samples table to GUI events

This commit is contained in:
2018-09-11 16:53:50 +02:00
parent 0cf9904929
commit 5e7540620b
3 changed files with 51 additions and 16 deletions

View File

@@ -158,6 +158,16 @@ public class BasePlate extends DeviceBase {
return null;
}
public void clearId(String id) {
for (Device d : getChildren()) {
if (d instanceof Puck){
if ((id==null) || id.equals(((Puck) d).getId())){
((Puck) d).setId(null);
}
}
}
}
public void loadSample(Sample sample) throws Exception{
Sample loaded = getLoadedSample();