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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 UI.shortcutsScreen.section(Common.UIString('Elements Panel')); | 171 UI.shortcutsScreen.section(Common.UIString('Elements Panel')); |
172 UI.shortcutsScreen.section(Common.UIString('Styles Pane')); | 172 UI.shortcutsScreen.section(Common.UIString('Styles Pane')); |
173 UI.shortcutsScreen.section(Common.UIString('Debugger')); | 173 UI.shortcutsScreen.section(Common.UIString('Debugger')); |
174 UI.shortcutsScreen.section(Common.UIString('Console')); | 174 UI.shortcutsScreen.section(Common.UIString('Console')); |
175 | 175 |
176 Workspace.fileManager = new Workspace.FileManager(); | 176 Workspace.fileManager = new Workspace.FileManager(); |
177 Workspace.workspace = new Workspace.Workspace(); | 177 Workspace.workspace = new Workspace.Workspace(); |
178 Common.formatterWorkerPool = new Common.FormatterWorkerPool(); | 178 Common.formatterWorkerPool = new Common.FormatterWorkerPool(); |
179 Workspace.fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isol
atedFileSystemManager); | 179 Workspace.fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isol
atedFileSystemManager); |
180 | 180 |
181 Main.networkProjectManager = new Bindings.NetworkProjectManager(SDK.targetMa
nager, Workspace.workspace); | 181 Bindings.networkProjectManager = new Bindings.NetworkProjectManager(SDK.targ
etManager, Workspace.workspace); |
182 Bindings.presentationConsoleMessageHelper = new Bindings.PresentationConsole
MessageHelper(Workspace.workspace); | 182 Bindings.presentationConsoleMessageHelper = new Bindings.PresentationConsole
MessageHelper(Workspace.workspace); |
183 Bindings.cssWorkspaceBinding = new Bindings.CSSWorkspaceBinding(SDK.targetMa
nager, Workspace.workspace); | 183 Bindings.cssWorkspaceBinding = new Bindings.CSSWorkspaceBinding(SDK.targetMa
nager, Workspace.workspace); |
184 Bindings.debuggerWorkspaceBinding = new Bindings.DebuggerWorkspaceBinding(SD
K.targetManager, Workspace.workspace); | 184 Bindings.debuggerWorkspaceBinding = new Bindings.DebuggerWorkspaceBinding(SD
K.targetManager, Workspace.workspace); |
185 Bindings.breakpointManager = | 185 Bindings.breakpointManager = |
186 new Bindings.BreakpointManager(null, Workspace.workspace, SDK.targetMana
ger, Bindings.debuggerWorkspaceBinding); | 186 new Bindings.BreakpointManager(null, Workspace.workspace, SDK.targetMana
ger, Bindings.debuggerWorkspaceBinding); |
187 Extensions.extensionServer = new Extensions.ExtensionServer(); | 187 Extensions.extensionServer = new Extensions.ExtensionServer(); |
188 | 188 |
189 new Persistence.FileSystemWorkspaceBinding(Workspace.isolatedFileSystemManag
er, Workspace.workspace); | 189 new Persistence.FileSystemWorkspaceBinding(Workspace.isolatedFileSystemManag
er, Workspace.workspace); |
190 Persistence.persistence = | 190 Persistence.persistence = |
191 new Persistence.Persistence(Workspace.workspace, Bindings.breakpointMana
ger, Workspace.fileSystemMapping); | 191 new Persistence.Persistence(Workspace.workspace, Bindings.breakpointMana
ger, Workspace.fileSystemMapping); |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 * @override | 976 * @override |
977 * @return {?Element} | 977 * @return {?Element} |
978 */ | 978 */ |
979 settingElement() { | 979 settingElement() { |
980 return UI.SettingsUI.createSettingCheckbox( | 980 return UI.SettingsUI.createSettingCheckbox( |
981 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers'
)); | 981 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers'
)); |
982 } | 982 } |
983 }; | 983 }; |
984 | 984 |
985 new Main.Main(); | 985 new Main.Main(); |
OLD | NEW |