| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 UI.shortcutsScreen.section(Common.UIString('Elements Panel')); | 183 UI.shortcutsScreen.section(Common.UIString('Elements Panel')); |
| 184 UI.shortcutsScreen.section(Common.UIString('Styles Pane')); | 184 UI.shortcutsScreen.section(Common.UIString('Styles Pane')); |
| 185 UI.shortcutsScreen.section(Common.UIString('Debugger')); | 185 UI.shortcutsScreen.section(Common.UIString('Debugger')); |
| 186 UI.shortcutsScreen.section(Common.UIString('Console')); | 186 UI.shortcutsScreen.section(Common.UIString('Console')); |
| 187 | 187 |
| 188 Workspace.fileManager = new Workspace.FileManager(); | 188 Workspace.fileManager = new Workspace.FileManager(); |
| 189 Workspace.workspace = new Workspace.Workspace(); | 189 Workspace.workspace = new Workspace.Workspace(); |
| 190 Persistence.fileSystemMapping = new Persistence.FileSystemMapping(Persistenc
e.isolatedFileSystemManager); | 190 Persistence.fileSystemMapping = new Persistence.FileSystemMapping(Persistenc
e.isolatedFileSystemManager); |
| 191 | 191 |
| 192 Bindings.networkProjectManager = new Bindings.NetworkProjectManager(SDK.targ
etManager, Workspace.workspace); | 192 Bindings.networkProjectManager = new Bindings.NetworkProjectManager(SDK.targ
etManager, Workspace.workspace); |
| 193 Bindings.resourceBindingManager = new Bindings.ResourceBindingManager(SDK.ta
rgetManager, Workspace.workspace); |
| 193 Bindings.presentationConsoleMessageHelper = new Bindings.PresentationConsole
MessageHelper(Workspace.workspace); | 194 Bindings.presentationConsoleMessageHelper = new Bindings.PresentationConsole
MessageHelper(Workspace.workspace); |
| 194 Bindings.cssWorkspaceBinding = new Bindings.CSSWorkspaceBinding(SDK.targetMa
nager, Workspace.workspace); | 195 Bindings.cssWorkspaceBinding = new Bindings.CSSWorkspaceBinding(SDK.targetMa
nager, Workspace.workspace); |
| 195 Bindings.debuggerWorkspaceBinding = new Bindings.DebuggerWorkspaceBinding(SD
K.targetManager, Workspace.workspace); | 196 Bindings.debuggerWorkspaceBinding = new Bindings.DebuggerWorkspaceBinding(SD
K.targetManager, Workspace.workspace); |
| 196 Bindings.breakpointManager = | 197 Bindings.breakpointManager = |
| 197 new Bindings.BreakpointManager(null, Workspace.workspace, SDK.targetMana
ger, Bindings.debuggerWorkspaceBinding); | 198 new Bindings.BreakpointManager(null, Workspace.workspace, SDK.targetMana
ger, Bindings.debuggerWorkspaceBinding); |
| 198 Extensions.extensionServer = new Extensions.ExtensionServer(); | 199 Extensions.extensionServer = new Extensions.ExtensionServer(); |
| 199 | 200 |
| 200 new Persistence.FileSystemWorkspaceBinding(Persistence.isolatedFileSystemMan
ager, Workspace.workspace); | 201 new Persistence.FileSystemWorkspaceBinding(Persistence.isolatedFileSystemMan
ager, Workspace.workspace); |
| 201 Persistence.persistence = | 202 Persistence.persistence = |
| 202 new Persistence.Persistence(Workspace.workspace, Bindings.breakpointMana
ger, Persistence.fileSystemMapping); | 203 new Persistence.Persistence(Workspace.workspace, Bindings.breakpointMana
ger, Persistence.fileSystemMapping); |
| (...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 952 * @override | 953 * @override |
| 953 * @return {?Element} | 954 * @return {?Element} |
| 954 */ | 955 */ |
| 955 settingElement() { | 956 settingElement() { |
| 956 return UI.SettingsUI.createSettingCheckbox( | 957 return UI.SettingsUI.createSettingCheckbox( |
| 957 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers'
)); | 958 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers'
)); |
| 958 } | 959 } |
| 959 }; | 960 }; |
| 960 | 961 |
| 961 new Main.Main(); | 962 new Main.Main(); |
| OLD | NEW |