@Override
		protected void revalidate() {
			removeWorkPanel();
			addWorkPanel(createWorkPanel());
			generateYara();
		}
Updates the GUI when the user has made a new selection.
Ghidra/Features/Base/ghidra_scripts/YaraGhidraGUIScript.java