OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 * @constructor | 333 * @constructor |
334 * @extends {WebInspector.SettingsTab} | 334 * @extends {WebInspector.SettingsTab} |
335 */ | 335 */ |
336 WebInspector.WorkspaceSettingsTab = function() | 336 WebInspector.WorkspaceSettingsTab = function() |
337 { | 337 { |
338 WebInspector.SettingsTab.call(this, WebInspector.UIString("Workspace"), "wor
kspace-tab-content"); | 338 WebInspector.SettingsTab.call(this, WebInspector.UIString("Workspace"), "wor
kspace-tab-content"); |
339 WebInspector.isolatedFileSystemManager.addEventListener(WebInspector.Isolate
dFileSystemManager.Events.FileSystemAdded, this._fileSystemAdded, this); | 339 WebInspector.isolatedFileSystemManager.addEventListener(WebInspector.Isolate
dFileSystemManager.Events.FileSystemAdded, this._fileSystemAdded, this); |
340 WebInspector.isolatedFileSystemManager.addEventListener(WebInspector.Isolate
dFileSystemManager.Events.FileSystemRemoved, this._fileSystemRemoved, this); | 340 WebInspector.isolatedFileSystemManager.addEventListener(WebInspector.Isolate
dFileSystemManager.Events.FileSystemRemoved, this._fileSystemRemoved, this); |
341 | 341 |
342 this._commonSection = this._appendSection(WebInspector.UIString("Common")); | 342 this._commonSection = this._appendSection(WebInspector.UIString("Common")); |
343 var folderExcludeSetting = WebInspector.isolatedFileSystemManager.excludedFo
lderManager().workspaceFolderExcludePatternSetting(); | 343 var folderExcludeSetting = WebInspector.isolatedFileSystemManager.workspaceF
olderExcludePatternSetting(); |
344 var folderExcludePatternInput = WebInspector.SettingsUI.createSettingInputFi
eld(WebInspector.UIString("Folder exclude pattern"), folderExcludeSetting, false
, 0, "270px", WebInspector.SettingsUI.regexValidator); | 344 var folderExcludePatternInput = WebInspector.SettingsUI.createSettingInputFi
eld(WebInspector.UIString("Folder exclude pattern"), folderExcludeSetting, false
, 0, "270px", WebInspector.SettingsUI.regexValidator); |
345 this._commonSection.appendChild(folderExcludePatternInput); | 345 this._commonSection.appendChild(folderExcludePatternInput); |
346 | 346 |
347 this._fileSystemsSection = this._appendSection(WebInspector.UIString("Folder
s")); | 347 this._fileSystemsSection = this._appendSection(WebInspector.UIString("Folder
s")); |
348 this._fileSystemsListContainer = this._fileSystemsSection.createChild("p", "
settings-list-container"); | 348 this._fileSystemsListContainer = this._fileSystemsSection.createChild("p", "
settings-list-container"); |
349 | 349 |
350 this._addFileSystemRowElement = this._fileSystemsSection.createChild("div"); | 350 this._addFileSystemRowElement = this._fileSystemsSection.createChild("div"); |
351 this._addFileSystemRowElement.appendChild(createTextButton(WebInspector.UISt
ring("Add folder\u2026"), this._addFileSystemClicked.bind(this))); | 351 this._addFileSystemRowElement.appendChild(createTextButton(WebInspector.UISt
ring("Add folder\u2026"), this._addFileSystemClicked.bind(this))); |
352 | 352 |
353 this._editFileSystemButton = createTextButton(WebInspector.UIString("Folder
options\u2026"), this._editFileSystemClicked.bind(this)); | 353 this._editFileSystemButton = createTextButton(WebInspector.UIString("Folder
options\u2026"), this._editFileSystemClicked.bind(this)); |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1156 var columnId = columns[i]; | 1156 var columnId = columns[i]; |
1157 var editElement = this._addInputElements.get(columnId); | 1157 var editElement = this._addInputElements.get(columnId); |
1158 this._setEditElementValue(editElement, ""); | 1158 this._setEditElementValue(editElement, ""); |
1159 } | 1159 } |
1160 }, | 1160 }, |
1161 | 1161 |
1162 __proto__: WebInspector.SettingsList.prototype | 1162 __proto__: WebInspector.SettingsList.prototype |
1163 } | 1163 } |
1164 | 1164 |
1165 WebInspector._settingsController = new WebInspector.SettingsController(); | 1165 WebInspector._settingsController = new WebInspector.SettingsController(); |
OLD | NEW |