Class orion.browse.FileBrowserOptions
This object describes the options for the readonly file system browser.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/widgets/browse/fileBrowser.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
optional the content type service that knows a file's content type.
|
|
the file client implementation that has all the interfaces from orion.fileClient.FileClient.
|
|
the max number of lines that are allowed in the editor DIV.
|
|
syntaxHighlighter the syntax highlighter that hihglights a supported language file.
|
|
the parent element for the file browser, it can be either a DOM element or an ID for a DOM element.
|
|
the editor preferences.
|
Field Detail
{orion.core.ContentType}
contentTypeService
optional the content type service that knows a file's content type. If not defined a static default one is used.
{orion.fileClient.FileClient}
fileClient
the file client implementation that has all the interfaces from orion.fileClient.FileClient.
{Number}
maxEditorLines
the max number of lines that are allowed in the editor DIV. When displaying a file, if not defined 0 is used to represent that editor will use the full contents height.
{orion.highlight.SyntaxHighlighter}
optional
syntaxHighlighter the syntax highlighter that hihglights a supported language file. If not defined a static default one is used.
{String|DOMElement}
parent
the parent element for the file browser, it can be either a DOM element or an ID for a DOM element.
{orion.preferences.PreferencesService}
preferences
the editor preferences. If not defined the default editor preferences is used.
- Default Value:
- null