orion.core.file | ||
---|---|---|
![]() |
![]() |
|
orion.core.favorite | orion.core.marker |
The orion.core.file service is used to provide file system contents for the Orion workspace. For example a plug-in can use this service to include content from one server into a workspace on another server. Each file service is displayed as a root element in the Orion Navigator page.
The code snippet below demonstrates an use of this service:
provider.registerServiceProvider("orion.core.file", service, {Name: 'Sample File System'});
The above code will contribute a top level node to the Navigator named "Sample File System". The parameter "service" in the API above must provide the functions specified by the Orion file client API. Refer to orion.fileClient.FileClient in the client API reference for further details. For more information on client-server interaction, see Orion File Server API. For an complete file system example, see the sample file plugin in the Orion Git repository.
![]() |
![]() |
![]() |
orion.core.favorite | orion.core.marker |