1 <?xml version="1.0" encoding="UTF-8"?>
   2 
   3 <!--
   4   Copyright (c) 2012, 2014, Oracle and/or its affiliates.
   5   All rights reserved. Use is subject to license terms.
   6 
   7   This file is available and licensed under the following license:
   8 
   9   Redistribution and use in source and binary forms, with or without
  10   modification, are permitted provided that the following conditions
  11   are met:
  12 
  13   - Redistributions of source code must retain the above copyright
  14     notice, this list of conditions and the following disclaimer.
  15   - Redistributions in binary form must reproduce the above copyright
  16     notice, this list of conditions and the following disclaimer in
  17     the documentation and/or other materials provided with the distribution.
  18   - Neither the name of Oracle Corporation nor the names of its
  19     contributors may be used to endorse or promote products derived
  20     from this software without specific prior written permission.
  21 
  22   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  23   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  24   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  25   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  26   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  27   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  28   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  29   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  30   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  31   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  32   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33 -->
  34 
  35 <?import java.lang.*?>
  36 <?import java.net.*?>
  37 <?import javafx.scene.control.*?>
  38 <?import javafx.scene.layout.*?>
  39 <?scenebuilder-preview-i18n-resource i18n/SceneBuilderApp.properties?>
  40 
  41 <VBox id="DocumentWindow" alignment="CENTER" prefHeight="800.0" prefWidth="1240.0" spacing="0.0" styleClass="theme-presets" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
  42   <children>
  43     <SplitPane fx:id="mainSplitPane" dividerPositions="0.656641604010025" focusTraversable="false" orientation="VERTICAL" prefHeight="200.0" prefWidth="160.0" VBox.vgrow="ALWAYS">
  44       <items>
  45         <SplitPane fx:id="leftRightSplitPane" dividerPositions="0.11812297734627832, 0.889967637540453" focusTraversable="false" prefHeight="-1.0" prefWidth="-1.0">
  46           <items>
  47             <SplitPane fx:id="libraryDocumentSplitPane" dividerPositions="0.4990328820116054" focusTraversable="false" maxWidth="450.0" minWidth="280.0" orientation="VERTICAL" SplitPane.resizableWithParent="false">
  48               <items>
  49                 <VBox id="leftPanelHost" minHeight="50.0" prefHeight="200.0" prefWidth="100.0" SplitPane.resizableWithParent="false">
  50                   <children>
  51                     <HBox id="HBox" alignment="CENTER" spacing="0.0" styleClass="panel-header">
  52                       <children>
  53                         <Label maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" text="%library" HBox.hgrow="NEVER" />
  54                         <StackPane fx:id="librarySearchPanelHost" maxHeight="-1.0" maxWidth="-1.0" minHeight="-1.0" minWidth="-1.0" prefHeight="-1.0" prefWidth="-1.0" style="" HBox.hgrow="ALWAYS" />
  55                         <MenuButton fx:id="libraryMenuButton" mnemonicParsing="false" text="" HBox.hgrow="NEVER">
  56                           <items>
  57                               <RadioMenuItem fx:id="libraryViewAsList" mnemonicParsing="false" onAction="#onLibraryViewAsList" text="%library.panel.menu.view.list">
  58                                   <toggleGroup>
  59                                       <ToggleGroup fx:id="libraryDisplayOptionTG" />
  60                                   </toggleGroup>
  61                               </RadioMenuItem>
  62                               <RadioMenuItem fx:id="libraryViewAsSections" mnemonicParsing="false" onAction="#onLibraryViewAsSections" text="%library.panel.menu.view.sections" toggleGroup="$libraryDisplayOptionTG" />
  63                             <SeparatorMenuItem mnemonicParsing="false" />
  64                             <MenuItem mnemonicParsing="false" onAction="#onLibraryImportJarFxml" text="%library.panel.menu.import.jar.fxml" />
  65                             <MenuItem fx:id="libraryImportSelection" mnemonicParsing="false" onAction="#onLibraryImportSelection" text="%library.panel.menu.import.selection" />
  66                             <SeparatorMenuItem mnemonicParsing="false" />
  67                             <Menu fx:id="customLibraryMenu" mnemonicParsing="false" text="%library.panel.menu.custom">
  68                               <items>
  69                                 <MenuItem fx:id="libraryReveal" mnemonicParsing="false" onAction="#onLibraryRevealCustomFolder" text="Action 1" />
  70                                 <MenuItem fx:id="libraryReport" mnemonicParsing="false" onAction="#onLibraryShowJarAnalysisReport" text="%library.panel.menu.custom.report" />
  71                               </items>
  72                             </Menu>
  73                           </items>
  74                           <graphic>
  75                             <Region prefHeight="10.0" prefWidth="10.0" styleClass="cog-shape" />
  76                           </graphic>
  77                         </MenuButton>
  78                       </children>
  79                     </HBox>
  80                     <StackPane fx:id="libraryPanelHost" prefHeight="-1.0" prefWidth="-1.0" VBox.vgrow="ALWAYS" />
  81                   </children>
  82                 </VBox>
  83                 <VBox minHeight="50.0" prefHeight="200.0" prefWidth="100.0">
  84                   <children>
  85                     <HBox id="HBox" alignment="CENTER" spacing="0.0" styleClass="panel-header" VBox.vgrow="NEVER">
  86                       <children>
  87                         <Label maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" text="%document" HBox.hgrow="NEVER" />
  88                         <Pane maxWidth="1.7976931348623157E308" prefHeight="-1.0" prefWidth="-1.0" HBox.hgrow="ALWAYS" />
  89                         <MenuButton fx:id="" contentDisplay="GRAPHIC_ONLY" mnemonicParsing="false" text="" HBox.hgrow="NEVER">
  90                           <items>
  91                             <Menu mnemonicParsing="false" text="%hierarchy.displays">
  92                               <items>
  93                                 <RadioMenuItem fx:id="showInfoMenuItem" mnemonicParsing="false" onAction="#onHierarchyShowInfo" selected="true" text="%hierarchy.show.info">
  94                                   <toggleGroup>
  95                                     <ToggleGroup fx:id="hierarchyDisplayOptionTG" />
  96                                   </toggleGroup>
  97                                 </RadioMenuItem>
  98                                 <RadioMenuItem fx:id="showFxIdMenuItem" mnemonicParsing="false" onAction="#onHierarchyShowFxId" text="%hierarchy.show.fxid" toggleGroup="$hierarchyDisplayOptionTG" />
  99                                 <RadioMenuItem fx:id="showNodeIdMenuItem" mnemonicParsing="false" onAction="#onHierarchyShowNodeId" text="%hierarchy.show.nodeid" toggleGroup="$hierarchyDisplayOptionTG" />
 100                               </items>
 101                             </Menu>
 102                           </items>
 103                           <graphic>
 104                             <Region prefHeight="10.0" prefWidth="10.0" styleClass="cog-shape" />
 105                           </graphic>
 106                         </MenuButton>
 107                       </children>
 108                     </HBox>
 109                     <Accordion fx:id="documentAccordion" maxHeight="-1.0" VBox.vgrow="ALWAYS">
 110                       <panes>
 111                         <TitledPane fx:id="Hierarchy" animated="true" text="%hierarchy">
 112                           <content>
 113                             <StackPane fx:id="hierarchyPanelHost" maxHeight="-1.0" style="-fx-padding: 0;" />
 114                           </content>
 115                         </TitledPane>
 116                         <TitledPane fx:id="Info" animated="true" text="%controller">
 117                           <content>
 118                             <StackPane fx:id="infoPanelHost" maxHeight="-1.0" style="-fx-padding: 0;" />
 119                           </content>
 120                         </TitledPane>
 121                       </panes>
 122                     </Accordion>
 123                   </children>
 124                 </VBox>
 125               </items>
 126             </SplitPane>
 127             <StackPane id="StackPane" minWidth="0.0">
 128               <children>
 129                 <StackPane fx:id="contentPanelHost" style="" />
 130                 <StackPane fx:id="messageBarHost" maxHeight="-Infinity" minHeight="10.0" minWidth="0.0" style="" styleClass="selection-bar-container" StackPane.alignment="TOP_CENTER">
 131                   <stylesheets>
 132                     <URL value="@css/DocumentWindow.css" />
 133                   </stylesheets>
 134                 </StackPane>
 135               </children>
 136             </StackPane>
 137             <VBox id="rightPanelHost" maxWidth="450.0" minWidth="280.0" SplitPane.resizableWithParent="false">
 138               <children>
 139                 <HBox id="HBox" alignment="CENTER" spacing="0.0" styleClass="panel-header" VBox.vgrow="NEVER">
 140                   <children>
 141                     <Label maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" text="%inspector" HBox.hgrow="NEVER" />
 142                     <StackPane fx:id="inspectorSearchPanelHost" prefHeight="-1.0" prefWidth="30.0" HBox.hgrow="ALWAYS" />
 143                     <MenuButton fx:id="InspectorMenu" contentDisplay="GRAPHIC_ONLY" mnemonicParsing="false" text="" HBox.hgrow="NEVER">
 144                       <items>
 145                         <RadioMenuItem mnemonicParsing="false" onAction="#onInspectorShowAllAction" selected="true" text="%inspector.show.all">
 146                           <toggleGroup>
 147                             <ToggleGroup fx:id="showTg" />
 148                           </toggleGroup>
 149                         </RadioMenuItem>
 150                         <RadioMenuItem disable="false" mnemonicParsing="false" onAction="#onInspectorShowEditedAction" text="%inspector.show.edited" toggleGroup="$showTg" />
 151                         <SeparatorMenuItem mnemonicParsing="false" />
 152                         <RadioMenuItem mnemonicParsing="false" onAction="#onInspectorViewSectionsAction" selected="true" text="%inspector.view.sections">
 153                           <toggleGroup>
 154                             <ToggleGroup fx:id="viewTg" />
 155                           </toggleGroup>
 156                         </RadioMenuItem>
 157                         <RadioMenuItem mnemonicParsing="false" onAction="#onInspectorViewByPropertyNameAction" text="%inspector.by.property.name" toggleGroup="$viewTg" />
 158                         <RadioMenuItem mnemonicParsing="false" onAction="#onInspectorViewByPropertyTypeAction" text="%inspector.by.property.type" toggleGroup="$viewTg" />
 159                       </items>
 160                       <graphic>
 161                         <Region prefHeight="10.0" prefWidth="10.0" styleClass="cog-shape" />
 162                       </graphic>
 163                     </MenuButton>
 164                   </children>
 165                 </HBox>
 166                 <StackPane fx:id="inspectorPanelHost" VBox.vgrow="ALWAYS" />
 167               </children>
 168             </VBox>
 169           </items>
 170         </SplitPane>
 171         <VBox maxWidth="-1.0" minHeight="200.0" prefHeight="-1.0" prefWidth="-1.0" SplitPane.resizableWithParent="false">
 172           <children>
 173             <HBox id="HBox" alignment="CENTER" styleClass="panel-header">
 174               <children>
 175                 <Label maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" text="%csspanel" HBox.hgrow="ALWAYS" />
 176                 <StackPane fx:id="cssPanelSearchPanelHost" prefHeight="-1.0" prefWidth="-1.0" HBox.hgrow="NEVER" />
 177                 <MenuButton id="cssPanelMenu" contentDisplay="GRAPHIC_ONLY" mnemonicParsing="false" text="">
 178                   <items>
 179                     <Menu mnemonicParsing="false" text="%csspanel.view.as">
 180                       <items>
 181                         <RadioMenuItem mnemonicParsing="false" onAction="#onCssPanelViewTableAction" selected="true" text="%csspanel.table">
 182                           <toggleGroup>
 183                             <ToggleGroup fx:id="cssTableTg" />
 184                           </toggleGroup>
 185                         </RadioMenuItem>
 186                         <RadioMenuItem mnemonicParsing="false" onAction="#onCssPanelViewRulesAction" text="%csspanel.rules" toggleGroup="$cssTableTg" />
 187                         <RadioMenuItem mnemonicParsing="false" onAction="#onCssPanelViewTextAction" text="%csspanel.text" toggleGroup="$cssTableTg" />
 188                       </items>
 189                     </Menu>
 190                     <SeparatorMenuItem mnemonicParsing="false" />
 191                     <MenuItem mnemonicParsing="false" onAction="#onCssPanelCopyStyleablePathAction" text="%csspanel.copy.path" />
 192                     <MenuItem fx:id="cssPanelShowStyledOnlyMi" mnemonicParsing="false" onAction="#onCssPanelShowStyledOnlyAction" text="%csspanel.hide.default.values" />
 193                     <MenuItem fx:id="cssPanelSplitDefaultsMi" mnemonicParsing="false" onAction="#onCssPanelSplitDefaultsAction" text="%csspanel.defaults.split" />
 194                   </items>
 195                   <graphic>
 196                     <Region prefHeight="10.0" prefWidth="10.0" styleClass="cog-shape" />
 197                   </graphic>
 198                 </MenuButton>
 199               </children>
 200             </HBox>
 201             <StackPane fx:id="cssPanelHost" VBox.vgrow="ALWAYS" />
 202           </children>
 203         </VBox>
 204       </items>
 205     </SplitPane>
 206   </children>
 207   <stylesheets>
 208     <URL value="@css/DocumentWindow.css" />
 209   </stylesheets>
 210 </VBox>