@cs/file-explorer-extension

File Explorer Extension

This is a simple extension of the MVA framework, creating a View that acts like a file explorer window from Windows OS. It takes in a folder path as an input and recurses through the folder hieararchy, harvesting folder names, file names, as well as extensions and system glyphs. It then displays the folder hierarchy with system glyphs in a tree structure.

To use this extension you will need to create a new class in your project and have it inherit from the File Explore.lvclass in this G Package. There are two must override methods, "Handle Double Click on Tree", and "Register for Folder Path". "Handle Double Click on Tree" is the method that will get called when the user double clicks on an element on the tree, it is up to you to provide logic on how to handle it. "Register for Folder Path" is where you can either register for the folder path using MVA Framework methods, or simply write a folder path to class data using the "Inject Path" accessor. There are two may override methods, "Define Custom Glyphs by Extension", and "Define Folder Exclusion List". "Define Custom Glyphs by Extension" allows you to inject whatever glyph you want for a given file extension. "Define Folder Exclusion List" allows you to inject a list of folder names for the tool to ignore, an example being ".git".

##[1.1.2] - 2019-10-08

  • Refactoring to speed up tree redraw

##[1.1.1] - 2019-09-16

  • Added ability for open/closed tree items to maintain open state on tree redraw

##[1.1.0] - 2019-09-16

  • Updated to MVA v2.2.3

##[1.0.10] - 2019-08-10

  • Updated how the filtering class interacts with the Tree Explorer

##[1.0.9] - 2019-08-08

  • Added ability to Register for a redraw of the tree control as a notification message
  • This update includes a new Must Override Method "Register for Draw Tree.vi"

##[1.0.8] - 2019-08-08

  • Updated the Receive Shortcut Menu Selection Event.vi to take the Coordinates as an input
  • Cosmetic updates to other project items
  • Re-linked to MVA v2.1.3, there was an issue with the Variant Extension dependency for some reason

##[1.0.7] - 2019-08-08

  • Updated to MVA v2.1.3

##[1.0.6] - 2019-08-07

  • Added icon to Test File Explorer class
  • Replaced property node accessor for Tree ref with a sub.vi accessor
  • Added Chris Cilino as author

##[1.0.5] - 2019-08-07

  • Adding ability to customize tree right click menus and responses to right click menu options.
  • Added unit tests and some manual ui tests.

##[1.0.4] - 2019-08-05

  • Adding test suite and initial test cases

##[1.0.3] - 2019-08-05

  • Building before a pull request

##[1.0.2] - 2019-08-02

  • Fixes Issue #4
  • Changed scoping of static methods from private to public

##[1.0.1] - 2019-08-02

  • Fixes Issue #3
  • Removed Beta Tag
  • Updated Readme

##[1.0.0] - 2019-08-01

  • First official release

##[0.0.2] - 2019-08-01

  • Built up a test application for exercising the view
  • Starting to implement UX features

##[0.0.1] - 2019-07-31

  • Initial commit
MIT License Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
How do I use this package?
Published by jmcbee 10 days ago
1.1.2 is the latest release
MIT
bitbucket.org/composedsystems/file-explorer-extension/src/master/
Stats
64 downloads.
Keywords
Dependencies (1)