Local filesystem origin implementation #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Implement the
FileOrigininterface for local filesystem operations. This wraps the existing FreeCAD file operations into the new origin abstraction, ensuring backwards compatibility while enabling the unified origin system.Parent Issue
Epic: #8 Unified File Origin System
Goals
LocalFileOriginclass implementingFileOrigininterfaceDetailed Design
LocalFileOrigin Class
Implementation Notes
The implementation should delegate to existing FreeCAD code:
Icon
Use the existing
foldericon from kindred-icons for the local origin.Implementation Tasks
LocalFileOriginclassownsDocument()logic (check for local file path)OriginManagerat startupFiles to Create/Modify
src/Gui/LocalFileOrigin.h(new)src/Gui/LocalFileOrigin.cpp(new)src/Gui/Application.cpp(register LocalFileOrigin)src/Gui/CMakeLists.txtAcceptance Criteria
LocalFileOriginimplements fullFileOrigininterfaceownsDocument()correctly identifies local documentsDependencies
Blocking