HyperMath

Working with the Project Browser

Working with the Project Browser

Previous topic Next topic Expand/collapse all hidden text  

Working with the Project Browser

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The Project Browser can be used to:

Add files and folders to the project and group them.
Open and close files.
Manage plots and matrix editor.
Find and filter items.
Set the display layout.
Save the files as a project for future retrieval.

sv_project_browser

Project Browser

hmtoggle_plus1greyProjects in HyperMath

A project is a collection of files.  A project can be saved and later retrieved.  Only one project can be opened at any time.  The contents of the loaded project is shown in the Project Browser.

1.From the File menu, select Save Project.
2.Select Project for the type from the drop-down list.
1.From the File menu, select Open.
2.Under Type, select Project from the drop-down list.

Once opened, the Project Browser tree is populated with the entities that were saved with the project.

The project can be renamed by clicking on the project name until the blinking cursor is displayed and then entering the new name.
hmtoggle_plus1greyCreating Additional Folders

Additional folders can be created beneath the Files folder by following the steps below.  These are virtual folders and are not created on disk.  Multiple folders can be used to organize files and do not necessarily represent any hierarchy.

1.Right-click on the Files folder and select New Folder.
2.To rename the folder, click the current name until the blinking cursor is displayed and enter a new name.
3.You can repeat this operation at multiple levels to create nested folders.
4.Filenames can be dragged and dropped to move them from one folder to another, or you can right-click and select the Copy > Paste operation from the context menu.  These operations are limited to the files that are saved to the disk.
hmtoggle_plus1greyAdding Existing and New Files

A new or existing file can be added to any Files folder by right-clicking on the folder name and selecting Add New File and Add Existing File, respectively.

addnewitemmenu

Add New/Existing File context sensitive menu options

The file is added to that folder but not automatically opened for editing.  It can be opened by double-clicking on the filename.  Alternatively, the File > New or File > Open menu selections can be used to directly open the file for editing, in which case the filename gets added under the Files folder.

hmtoggle_plus1greyRemoving Files

Files can be removed from the project by right-clicking on the filename and selecting Remove from Project from the context menu.  If the file is open in the editor, it remains open. An open file can be added back to the project by right-clicking on the file’s tab in the editor and selecting Add To Project.

hmtoggle_plus1greyContext Menu

Each item in the Project Browser offers a set of context menu options that are available by right-clicking on the item.

Parent Item

Context Menu Item

Description

Project

Save Project

Saves the current project.

 

Layout

Sets the layout of the display within the Script when plots are displayed as part of it.

 

Include Directories

Allows you to specify directories in which to search for files as they are referenced from other files during execution.

 

Run

Runs the file specified as the entry file in the Property Editor.

 

Find Objects

Enables the option to search for objects in the Project Browser.

find_field

 

Filter Objects

Enables the option to filter out objects from view in the Project Browser.

filter_field

Files folder

Add New File…

Opens the dialog for creating a new file and adding it to this folder.

 

Add Existing File…

Opens the dialog for adding an existing file and adding it to this folder.

 

New Folder

Creates a new folder beneath this folder.

 

Remove All

Removes all files and folders beneath this folder.  Open files remain in the editor.

 

Open Files

Opens all the listed files in the editor.

 

Close Files

Closes all open files.  Nothing is removed from the folder.

 

Cut

Cuts the folder for a paste operation.  Not available for the top level folder.

 

Copy

Copies the folder for a paste operation.  Not available for the top level folder.

 

Paste

Pastes any copied file or folder in this folder.

 

Delete

Deletes the folder.  Not available for the top level folder.

 

Find Objects

Enables the option to search for objects in the Project Browser.

find_field

 

Filter Objects

Enables the option to filter out objects from view in the Project Browser.

filter_field

Filename

Open

Opens a closed file for viewing.

 

Close

Closes an open file.  If the file has never been saved, it is removed from the project browser as well.

 

Remove from Project

Removes the file from the project browser.

 

Cut

Copies the file to be moved to another location.

 

Copy

Copies the file to be copied to another location.

 

Run

Runs the file.

 

Print

Prints the file.

 

Print Preview

Previews the file for printing.

Plots folder

Show Plots

Displays all hidden plots.

 

Hide Plots

Hides all displayed plots from view.

 

Delete Plots

Removes all plots from view and the project browser.

Plot

Show All

Displays all plots.

 

Hide All

Hides all plot from view.

 

Delete All

Removes all plots from view and the project browser.

 

Set Active

Sets the plot to be the active plot, such that additional commands apply to this plot.

 

Print Preview

Previews the plot for printing.

 

Print

Print the plot.

Matrix Editors

Show All

Displays all the matrix editors.

 

Hide All

Hides all the matrix editors.

 

Delete All

Closes and delete all the matrix editors.

 

Hide

Hides the matrix editor.

 

Delete

Closes and deletes the matrix editor.

For an example of use cases, please refer to the tutorial HMath-1000: Editing, Executing, Saving, and Plotting in HyperMath.