Closedown
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user