varga%utcru.sk 763dd8095d Fixes for:
94653  - can't right align text in outliner cell
95730  - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.

- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
  and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
  element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable

r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes

sr=hyatt,hewitt


git-svn-id: svn://10.0.0.236/trunk@112268 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:01:28 +00:00

178 lines
6.1 KiB
XML

<?xml version="1.0"?>
<!--
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
Robert Ginda, rginda@netscape.com, original author
-->
<!DOCTYPE window>
<?xml-stylesheet href="chrome://cview/skin" type="text/css"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
<!--
including tasksOverlay.xul imports the tasks menu, it will appear
under the 'tasksMenu' <menu> below.
-->
<window id="main-window"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical" onload="onLoad();" onunload="onUnload();"
persist="width height" title="XPCOM Component Viewer">
<!--
The persist attribute contains attributes that should be saved to
localstore.rdf when the window closes. The next time this window is
opened, persisted properties will be automatically restored.
-->
<!--
debug needs to be set before loading the utility library in order for
it to take effect.
files loaded are:
outliner-utils.js General purpose outliner classes
cview-utils.js generic utility functions.
cview-rdf.js RDF utility class (RDFHelper).
cview-static.js Non event-handler functions core to cview.
cview-handlers.js Event-handlers core to cview.
cview-outliners.js CView specific outliners
-->
<script>
var DEBUG = true;
</script>
<script src="chrome://cview/content/outliner-utils.js"/>
<script src="chrome://cview/content/cview-utils.js"/>
<script src="chrome://cview/content/cview-rdf.js"/>
<script src="chrome://cview/content/cview-static.js"/>
<script src="chrome://cview/content/cview-handlers.js"/>
<script src="chrome://cview/content/cview-outliners.js"/>
<!--
This popup is the context menu for elements in the interfaces list.
-->
<popupset>
<popup id="interfacePopup">
<menuitem label="LXR filename lookup"
oncommand="onLXRIFCLookup(event,'find?string=');"/>
<menuitem label="LXR text lookup"
oncommand="onLXRIFCLookup(event, 'search?string=');"/>
</popup>
</popupset>
<toolbox>
<menubar id="main-menubar">
<menu id="view-menu" label="View">
<menupopup>
<menu label="Components">
<menupopup>
<menuitem id="menu-cmp-show-all" label="All" checked="true"
type="checkbox"
oncommand="onChangeDisplayMode(event);"/>
<menuitem id="menu-cmp-show-contains"
label="Containing..." type="checkbox"
oncommand="onChangeDisplayMode(event);"/>
<menuitem id="menu-cmp-show-starts-with"
label="Starting with..." type="checkbox"
oncommand="onChangeDisplayMode(event);"/>
</menupopup>
</menu>
<menu label="Interfaces">
<menupopup>
<menuitem id="menu-ifc-show-all" label="All" checked="true"
type="checkbox"
oncommand="onChangeDisplayMode(event);"/>
<menuitem id="menu-ifc-show-contains"
label="Containing..." type="checkbox"
oncommand="onChangeDisplayMode(event);"/>
<menuitem id="menu-ifc-show-starts-with"
label="Starting with..." type="checkbox"
oncommand="onChangeDisplayMode(event);"/>
<menuitem id="menu-ifc-show-implemented-by"
label="Implemented by selected component"
type="checkbox"
oncommand="onChangeDisplayMode(event);"/>
</menupopup>
</menu>
</menupopup>
</menu>
<menu id="tasksMenu"/>
</menubar>
</toolbox>
<vbox id="outer-box" flex="1">
<hbox id="inner-box" flex="9">
<vbox id="component-box" flex="1" width="50%">
<text id="component-label" value="Components..." crop="right"
autostretch="never"/>
<outliner flex="1" id="component-outliner" persist="height"
primary="true" onselect="onComponentSelect(event);"
onclick="onComponentClick(event);">
<outlinercols>
<outlinercol id="cmp-name" label="Name" primary="true" flex="1"
persist="hidden width"/>
<splitter class="tree-splitter"/>
<outlinercol id="cmp-number" flex="1" label="Number"
persist="hidden width"/>
</outlinercols>
<outlinerchildren id="project-body"/>
</outliner>
</vbox>
<splitter id="main-splitter" collapse="after">
<grippy/>
</splitter>
<vbox id="interface-box" flex="1" width="50%">
<text id="interface-label" value="Interfaces..." crop="right"
autostretch="never"/>
<outliner flex="1" id="interface-outliner" persist="height"
onclick="onInterfaceClick(event);" context="interfacePopup"
onselect="onInterfaceSelect(event);">
<outlinercols>
<outlinercol id="ifc-name" label="Name" primary="true" flex="1"
persist="hidden width"/>
<splitter class="tree-splitter"/>
<outlinercol id="ifc-number" flex="1" label="Number"
persist="hidden width"/>
</outlinercols>
<outlinerchildren id="project-body"/>
</outliner>
</vbox>
</hbox> <!-- inner-box -->
<splitter id="textbox-splitter" collapse="after">
<grippy/>
</splitter>
<textbox multiline="true" readonly="true" id="output-text" flex="1"/>
</vbox> <!-- outer-box -->
</window>