This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 199074

Summary: extend Mode DTD
Product: platform Reporter: Stanislav Aubrecht <saubrecht>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: normal CC: jglick
Priority: P2 Keywords: API, API_REVIEW_FAST
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 198853, 198854    
Attachments: proposed patch & api changes

Description Stanislav Aubrecht 2011-06-01 09:05:07 UTC
Some small additions to Mode DTD are required to implement new window system features:

- add sliding bar to the top of the main IDE window - "top" is added to list of allowed values for "slidingSide" element

- minimize the whole window group - "state" element has additional boolean element "minimized"

- drag and drop the whole window group - element "name" has optional attribute "includes" which lists mode's alternate names. it will be used when user drags the whole window group, e.g. 'output' area, and drops it on top of some other window group, e.g. 'properties'. the 'output' area will then merge with 'properties' area so all TopComponents docked into output mode will open in properties mode instead.
Comment 1 Stanislav Aubrecht 2011-06-01 09:05:52 UTC
Created attachment 108649 [details]
proposed patch & api changes
Comment 2 Jesse Glick 2011-06-01 19:25:26 UTC
Use <issue number="199074"/>.

Do not forget to publish http://www.netbeans.org/dtds/mode-properties2_4.dtd (may need help from web team for that).
Comment 3 Stanislav Aubrecht 2011-06-06 14:45:40 UTC
if there are no objections, i'll integrate the changes tomorrow
Comment 4 Quality Engineering 2011-06-10 14:48:28 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/64e1b66d674b
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #199074 - extend Mode DTD
Comment 5 Stanislav Aubrecht 2011-06-14 14:59:29 UTC
core-main 64e1b66d674b