@Override
    protected void programDeactivated(Program program) {
		if (actions != null) {
			for (int i = 0; i < actions.length; i++) {
				actions[i].setEnabled(false);
			}
		}
	}
@see ghidra.app.plugin.ProgramPlugin#programDeactivated(Program)
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/algorithmtree/ModuleAlgorithmPlugin.java