1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//! The "PMI" (Product & Manufacturing Information) workbench — the mode in
//! which PMI views are captured and annotated.
//!
//! PMI is NOT feature creation: the `includes` predicate rejects every
//! catalogue entry (the Add-feature palette is empty here), and the history
//! stays fully editable as everywhere. What the workbench adds is its PMI
//! panel — the view tree with each view's annotations — the **Capture view**
//! button, the actions strip's **Annotations** group, and the context bar's
//! annotation offers (gated on an active view). The workbench
//! IS the editing mode: entering it remembers the modeling camera / visibility
//! / wireframe, activating a view applies that view's, and leaving restores
//! them (`app.rs` drives the engine's `pmi_enter_workbench` /
//! `pmi_leave_workbench` off the panel's visibility).
//!
//! Drawing sheets — which PLACE the views captured here — are the Drawing
//! workbench's (`workbench/drawing.rs`), not this one's.
//!
//! The one-button-per-annotation-type group is NOT here: like the Constraints
//! group, it is derived from the kernel's table and lives on the workbench
//! actions strip (`panels/workbench_toolbar.rs`), shown wherever this panel is.
use ;
/// The PMI panel's id (claim + registration key).
pub const PANEL_ID: &str = "pmi";
/// The Capture-view toolbar button id.
pub const CAPTURE_BUTTON_ID: &str = "pmi.capture_view";
/// No creatable features: annotations are not history features.
static BUTTONS: & = &;
static PANELS: & = &;
pub static PMI: Workbench = Workbench ;