This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html
SPDX-License-Identifier: EPL-2.0
Copyright Contributors to the Zowe Project.
This application is used to display files & folder from USS, along with increasing support for datasets.
Download NodeJS & npm. Go inside the webClient
folder. Execute npm install
to install dependencies.
Execute npm run build
inside the webClient
folder to compile, or execute npm start
to begin real-time compilation & building.
You don't need to install or build the widget version of the File Explorer. Instead, it can be embedded as an Angular component for use in your own application.
Navigate to your application's package.json file. Under devDepencies, add a
"@zlux/file-explorer": "git+ssh://[email protected]:zowe/zlux-file-explorer.git#src-for-widgets",
listing. Execute npm install
inside your host application to install File Explorer dependencies.
Then, navigate to your application's module file. Import the File Explorer module by adding
import { FileExplorerModule } from '@zlux/file-explorer/src/plugin';
and then, add the File Explorer module into your application's module.
FileExplorerModule,
...,
Now, in your application's HTML file, given they are within the scope of your module, you can import the File Explorer widget as
<zlux-file-explorer (nodeClick)="onNodeClick($event)"></zlux-file-explorer>
with an optional (style) input to specify the color, size, or other properties of the main tree container.
This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html
SPDX-License-Identifier: EPL-2.0
Copyright Contributors to the Zowe Project.