| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). | 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). |
| 4 * Copyright (C) 2009 Joseph Pecoraro | 4 * Copyright (C) 2009 Joseph Pecoraro |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 Components.shortcutsScreen = new Components.ShortcutsScreen(); | 177 Components.shortcutsScreen = new Components.ShortcutsScreen(); |
| 178 // set order of some sections explicitly | 178 // set order of some sections explicitly |
| 179 Components.shortcutsScreen.section(Common.UIString('Elements Panel')); | 179 Components.shortcutsScreen.section(Common.UIString('Elements Panel')); |
| 180 Components.shortcutsScreen.section(Common.UIString('Styles Pane')); | 180 Components.shortcutsScreen.section(Common.UIString('Styles Pane')); |
| 181 Components.shortcutsScreen.section(Common.UIString('Debugger')); | 181 Components.shortcutsScreen.section(Common.UIString('Debugger')); |
| 182 Components.shortcutsScreen.section(Common.UIString('Console')); | 182 Components.shortcutsScreen.section(Common.UIString('Console')); |
| 183 | 183 |
| 184 Workspace.fileManager = new Workspace.FileManager(); | 184 Workspace.fileManager = new Workspace.FileManager(); |
| 185 Workspace.workspace = new Workspace.Workspace(); | 185 Workspace.workspace = new Workspace.Workspace(); |
| 186 Common.formatterWorkerPool = new Common.FormatterWorkerPool(); | 186 Common.formatterWorkerPool = new Common.FormatterWorkerPool(); |
| 187 Workspace.fileSystemMapping = new Workspace.FileSystemMapping(); | 187 Workspace.fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isol
atedFileSystemManager); |
| 188 | 188 |
| 189 var fileSystemWorkspaceBinding = | 189 var fileSystemWorkspaceBinding = |
| 190 new Bindings.FileSystemWorkspaceBinding(Workspace.isolatedFileSystemMana
ger, Workspace.workspace); | 190 new Bindings.FileSystemWorkspaceBinding(Workspace.isolatedFileSystemMana
ger, Workspace.workspace); |
| 191 Bindings.networkMapping = new Bindings.NetworkMapping( | 191 Bindings.networkMapping = new Bindings.NetworkMapping(Workspace.workspace); |
| 192 SDK.targetManager, Workspace.workspace, fileSystemWorkspaceBinding, Work
space.fileSystemMapping); | |
| 193 Main.networkProjectManager = new Bindings.NetworkProjectManager(SDK.targetMa
nager, Workspace.workspace); | 192 Main.networkProjectManager = new Bindings.NetworkProjectManager(SDK.targetMa
nager, Workspace.workspace); |
| 194 Bindings.presentationConsoleMessageHelper = new Bindings.PresentationConsole
MessageHelper(Workspace.workspace); | 193 Bindings.presentationConsoleMessageHelper = new Bindings.PresentationConsole
MessageHelper(Workspace.workspace); |
| 195 Bindings.cssWorkspaceBinding = | 194 Bindings.cssWorkspaceBinding = |
| 196 new Bindings.CSSWorkspaceBinding(SDK.targetManager, Workspace.workspace,
Bindings.networkMapping); | 195 new Bindings.CSSWorkspaceBinding(SDK.targetManager, Workspace.workspace,
Bindings.networkMapping); |
| 197 Bindings.debuggerWorkspaceBinding = | 196 Bindings.debuggerWorkspaceBinding = |
| 198 new Bindings.DebuggerWorkspaceBinding(SDK.targetManager, Workspace.works
pace, Bindings.networkMapping); | 197 new Bindings.DebuggerWorkspaceBinding(SDK.targetManager, Workspace.works
pace, Bindings.networkMapping); |
| 199 Bindings.breakpointManager = | 198 Bindings.breakpointManager = |
| 200 new Bindings.BreakpointManager(null, Workspace.workspace, SDK.targetMana
ger, Bindings.debuggerWorkspaceBinding); | 199 new Bindings.BreakpointManager(null, Workspace.workspace, SDK.targetMana
ger, Bindings.debuggerWorkspaceBinding); |
| 201 Extensions.extensionServer = new Extensions.ExtensionServer(); | 200 Extensions.extensionServer = new Extensions.ExtensionServer(); |
| 202 | 201 |
| (...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1025 * @override | 1024 * @override |
| 1026 * @return {?Element} | 1025 * @return {?Element} |
| 1027 */ | 1026 */ |
| 1028 settingElement() { | 1027 settingElement() { |
| 1029 return UI.SettingsUI.createSettingCheckbox( | 1028 return UI.SettingsUI.createSettingCheckbox( |
| 1030 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers'
)); | 1029 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers'
)); |
| 1031 } | 1030 } |
| 1032 }; | 1031 }; |
| 1033 | 1032 |
| 1034 new Main.Main(); | 1033 new Main.Main(); |
| OLD | NEW |