mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:02:35 +08:00
30 lines
1 KiB
CoffeeScript
30 lines
1 KiB
CoffeeScript
FileFrame = require "./file-frame"
|
|
FileList = require './file-list'
|
|
FileSelectionBar = require './file-selection-bar'
|
|
{ComponentRegistry,
|
|
WorkspaceStore} = require 'nylas-exports'
|
|
|
|
module.exports =
|
|
|
|
activate: (@state={}) ->
|
|
# WorkspaceStore.defineSheet 'Files', {root: true, supportedModes: ['list'], name: 'Files'},
|
|
# list: ['RootSidebar', 'FileList']
|
|
#
|
|
# WorkspaceStore.defineSheet 'File', {supportedModes: ['list']},
|
|
# list: ['File']
|
|
#
|
|
# ComponentRegistry.register FileList,
|
|
# location: WorkspaceStore.Location.FileList
|
|
#
|
|
# ComponentRegistry.register FileSelectionBar,
|
|
# location: WorkspaceStore.Location.FileList.Toolbar
|
|
#
|
|
# ComponentRegistry.register FileFrame,
|
|
# location: WorkspaceStore.Location.File
|
|
|
|
deactivate: ->
|
|
# ComponentRegistry.unregister(FileList)
|
|
# ComponentRegistry.unregister(FileSelectionBar)
|
|
# ComponentRegistry.unregister(FileFrame)
|
|
# WorkspaceStore.undefineSheet('Files')
|
|
# WorkspaceStore.undefineSheet('File')
|