private void setActionButtonsEnabled (boolean enable) {
		variablePanel.setButtonsEnabled(enable);
		variablePanel.setVariableListEnabled(enable);
		for (Component component :getJMenuBar().getComponents()) {
			component.setEnabled(enable);
		}
		for (Component component : toolBar.getComponents()) {
			component.setEnabled(enable);
		}
	}