Closedown

This commit is contained in:
gac-S_Changer
2017-06-30 09:30:55 +02:00
parent c868528d50
commit 40d2d5e4f7

View File

@@ -1,34 +0,0 @@
/*
* Copyright (c) 2014-2017 Paul Scherrer Institute. All rights reserved.
*/
import ch.psi.pshell.ui.Plugin;
import ch.psi.utils.State;
/**
*
*/
public class ProsilicaShutdown implements Plugin {
//Overridable callbacks
@Override
public void onStart() {
}
@Override
public void onStop() {
}
@Override
public void onInitialize(int runCount) {
}
@Override
public void onStateChange(State state, State former) {
if ((state==State.Initializing) && (former!=null) && (former.isInitialized())){
ch.psi.pshell.prosilica.Prosilica.shutdown();
getLogger().warning("Shutting down Prosilica");
}
}
}