Skip to content

Is it possible override FileNavigatorTree in Explorer #14023

Answered by msujew
wss29 asked this question in General
Discussion options

You must be logged in to vote

Hey @wss29,

you need to override the whole child container and rebind the binding to FileNavigatorWidget. See:

export function createFileNavigatorContainer(parent: interfaces.Container): Container {
const child = createFileTreeContainer(parent, {
tree: FileNavigatorTree,
model: FileNavigatorModel,
widget: FileNavigatorWidget,
decoratorService: NavigatorDecoratorService,
props: FILE_NAVIGATOR_PROPS,
});
return child;
}
export function createFileNavigatorWidget(parent: interfaces.Container): FileNavigatorWidget {
return createFile…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wss29
Comment options

Answer selected by wss29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants