@Override
	public void onWorkspaceClosed(@Nonnull Workspace workspace) {
		// Workspace closed, disable tree.
		if (root.isTargetWorkspace(workspace))
			FxThreadUtil.run(() -> setDisable(true));
	}
Sets the workspace, and creates a complete model for it.

@param workspace
		Workspace to represent.
recaf-ui/src/main/java/software/coley/recaf/ui/control/tree/WorkspaceTree.java