| Summary: | Sapphire Diagram editor should support header similar to form editor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Shenxue Zhou <shenxue.zhou> | ||||
| Component: | Sapphire | Assignee: | Shenxue Zhou <shenxue.zhou> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | konstantin, ling.hao | ||||
| Version: | unspecified | Keywords: | plan | ||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Shenxue Zhou
This would best handled by supporting headers in diagram pages. A header already can display text, an image and actions. I eventually want to see identical headers to ones used on form pages. If that's technically difficult to achieve in the short term, a temporary rendering of some sort can be used. The existing sdef facilities for defining headers should be used regardless. See IEditorPageDef.PageHeaderText and PageHeaderImage. Our UI expert also specified a color for the header text. Should I extend IEditorPageDef.PageHeaderText property to include a text color? > Our UI expert also specified a color for the header text. Should I extend
> IEditorPageDef.PageHeaderText property to include a text color?
No. The goal is the same header as what's used on form pages. I've never seen text color there change.
Bulk deferral of diagram-related items to the 0.5 release. Fixes together with enhancement doc have been checked in. Map sample is modified to show how to add an action to the diagram header. Should we also add a image in the page header just like we did in the master details form header? Bug 343972 Yes, let's add that feature. I don't see header image in the form editor. The only image on the form editor's header I see is the "show outline" action image on the right of the header. Am I missing something? If you look at the Sapphire Gallery editor you will see there is an image shown on the form editor page. In the GalleryEditor.sdef file, click on the "main" Form Editor Page and see the property label "Page header image", so the discussion here is to add this same image capability to diagram page header. Now support image in the diagram header similar to form editor. Created attachment 215437 [details]
Patch v1
Added page header image property editor to sdef editor
I just posted patch for consideration to add page header image to sdef editor for diagram page. Patch submitted. Thanks for the patch! Verify via sample.xml |