Bug 192232 - [Schema][Editors] Documentation section tabs should always be available
Summary: [Schema][Editors] Documentation section tabs should always be available
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M1   Edit
Assignee: Adam Archer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-06-12 11:51 EDT by Mike Pawlowski CLA
Modified: 2007-07-10 10:19 EDT (History)
1 user (show)

See Also:
mike.pawlowski: review+


Attachments
patch (4.57 KB, patch)
2007-07-10 00:19 EDT, Adam Archer CLA
mike.pawlowski: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Pawlowski CLA 2007-06-12 11:51:14 EDT
Overview Page -> Documentation Section

It is possible to remove any of the tabs by removing their associated schema annotation mark-up in the source page.  The tabs should always be available (but empty) in case the user would like to specify the value in the future.
Comment 1 Adam Archer CLA 2007-07-10 00:19:44 EDT
Created attachment 73407 [details]
patch

With this patch, when the model is built, a new method is called that ensures all sections are present. If any are missing they are added. The sections are then sorted to ensure correct tab order. Upon write of the model, sections are only written if their descriptions are non-null and non-empty.
Comment 2 Mike Pawlowski CLA 2007-07-10 10:17:49 EDT
Comment on attachment 73407 [details]
patch

Excellent patch Adam.  Thanks.
Comment 3 Mike Pawlowski CLA 2007-07-10 10:19:15 EDT
Patch released to HEAD.

Target:  3.4 M1