@Override
	public void onWorkspaceClosed(@Nonnull Workspace workspace) {
		FxThreadUtil.run(() -> {
			hasWorkspace.set(false);
			hasAgentWorkspace.set(false);
			workspaceStateChanged();
		});
	}
{@link Menu} that is aware of the current workspace environment.
<br>
Implementations must be scoped beans that provide access to {@link WorkspaceManager}.

@author Matt Coley
recaf-ui/src/main/java/software/coley/recaf/ui/menubar/WorkspaceAwareMenu.java