Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibRandomRestoreDatasetController Class Reference

a controller class for chopping the dataset into several smaller ones More...

Inheritance diagram for mibRandomRestoreDatasetController:
Collaboration diagram for mibRandomRestoreDatasetController:

Public Member Functions

 mibRandomRestoreDatasetController (mibModel)
 
function  closeWindow ()
 closing mibRandomRestoreDatasetController window
 
function  updateWidgets ()
 
function  updateProjectDetails ()
 update details of the project in the file
 
function  projectFilenameEdit_Callback ()
 update filename of the project file with details
 
function  selectSettingsFileBtn_Callback ()
 callback for obj.View.handles.selectSettingsFileBtn select filename with the project details
 
function  copyShowDirectory (listId, parameter)
 callback from a dropdown menu with the directory lists
 
function  updateDir (parameter)
 update directory name for restore
 
function  resaveProject ()
 resave the project with the updated directories
 
function  restoreBtn_Callback ()
 restore the dataset
 

Public Attributes

 mibModel
 handles to the model
 
 View
 handle to the view
 
 listener
 a cell array with handles to listeners
 
 inputFilename = "[]"
 a char with filename to the project file, *.mibShuffle
 
 Settings = struct("")
 a structure with project settings
 
EVENT closeEvent
 > Description of events event firing when window is closed
 
- Public Attributes inherited from handle
 addlistener
 Creates a listener for the specified event and assigns a callback function to execute when the event occurs.
 
 notify
 Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects.
 
 delete
 Handle object destructor method that is called when the object's lifecycle ends.
 
 disp
 Handle object disp method which is called by the display method. See the MATLAB disp function.
 
 display
 Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function.
 
 findobj
 Finds objects matching the specified conditions from the input array of handle objects.
 
 findprop
 Returns a meta.property objects associated with the specified property name.
 
 fields
 Returns a cell array of string containing the names of public properties.
 
 fieldnames
 Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function.
 
 isvalid
 Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass.
 
 eq
 Relational functions example. See details for more information.
 
 transpose
 Transposes the elements of the handle object array.
 
 permute
 Rearranges the dimensions of the handle object array. See the MATLAB permute function.
 
 reshape
 hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function.
 
 sort
 ort the handle objects in any array in ascending or descending order.
 

Detailed Description

a controller class for chopping the dataset into several smaller ones

Constructor & Destructor Documentation

◆ mibRandomRestoreDatasetController()

mibRandomRestoreDatasetController.mibRandomRestoreDatasetController ( mibModel)

References mibModel.

Member Function Documentation

◆ closeWindow()

function mibRandomRestoreDatasetController.closeWindow ( )

◆ copyShowDirectory()

function mibRandomRestoreDatasetController.copyShowDirectory ( listId,
parameter )

callback from a dropdown menu with the directory lists

Parameters
listId[string] identifying the list - "randomDirsList", "destinationDirsList"
parameter[string] clipboard - copy the directory address to the system clipboard fileexplorer - open the directory in file explorer

◆ projectFilenameEdit_Callback()

function mibRandomRestoreDatasetController.projectFilenameEdit_Callback ( )

update filename of the project file with details

References Settings.

◆ resaveProject()

function mibRandomRestoreDatasetController.resaveProject ( )

resave the project with the updated directories

References handle.fieldnames, and Settings.

◆ restoreBtn_Callback()

function mibRandomRestoreDatasetController.restoreBtn_Callback ( )

restore the dataset

References handle.disp, and mibModel.

◆ selectSettingsFileBtn_Callback()

function mibRandomRestoreDatasetController.selectSettingsFileBtn_Callback ( )

callback for obj.View.handles.selectSettingsFileBtn select filename with the project details

References mib_uigetfile(), and Settings.

Here is the call graph for this function:

◆ updateDir()

function mibRandomRestoreDatasetController.updateDir ( parameter)

update directory name for restore

Parameters
parametera char that defines which list should be updated randomDirsList destinationDirsList

References handle.fieldnames.

◆ updateProjectDetails()

function mibRandomRestoreDatasetController.updateProjectDetails ( )

update details of the project in the file

References handle.fieldnames.

◆ updateWidgets()

function mibRandomRestoreDatasetController.updateWidgets ( )

Member Data Documentation

◆ closeEvent

EVENT mibRandomRestoreDatasetController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ inputFilename

mibRandomRestoreDatasetController.inputFilename = "[]"

a char with filename to the project file, *.mibShuffle


Default: "[]"

◆ listener

mibRandomRestoreDatasetController.listener

a cell array with handles to listeners

◆ mibModel

mibRandomRestoreDatasetController.mibModel

handles to the model

Referenced by mibRandomRestoreDatasetController(), and restoreBtn_Callback().

◆ Settings

mibRandomRestoreDatasetController.Settings = struct("")

a structure with project settings


Default: struct("")

Referenced by projectFilenameEdit_Callback(), resaveProject(), and selectSettingsFileBtn_Callback().

◆ View

mibRandomRestoreDatasetController.View

handle to the view


The documentation for this class was generated from the following file: