Search Toolkit Book for IOpenViewManager
IOpenViewManager - interface dealing with a series of open view operations. More...
#include <gui/core/open_view_manager.hpp>
IOpenViewManager - interface dealing with a series of open view operations.
Issues: For a given view, one or more user selected objects might not be able to be displayed directly. A series of steps might be required to convert the input objects into the view-specific data types. The data conversion process will take into account of the user inputs and various view-specific rules/options. The main open view process includes object extraction, object conversion, and object aggregation. IOpenViewManager works as a state machine similar to IUIToolManager. But, it is simplified and more specific for open view operation. It performs transition between states and in each state, it can display a panel containing view-specific options that will be shown in a dialog.
Definition at line 62 of file open_view_manager.hpp.
◆ EAction ◆ ~IOpenViewManager() ◆ AtFinalStep() virtual bool IOpenViewManager::AtFinalStep ( ) pure virtualtrue if state is Final (i.e. "Finish" button shall be shown instead of "Next")
Implemented in COpenViewManager.
◆ CanDo() virtual bool IOpenViewManager::CanDo ( EAction action ) pure virtual ◆ CleanUI() virtual void IOpenViewManager::CleanUI ( ) pure virtual ◆ DoTransition() virtual bool IOpenViewManager::DoTransition ( EAction action ) pure virtualperform transition if possible and returns true, otherwise the function shall warn the user about the problem preventing the transition and return false.
this function should be used to perfrom argument validation
Implemented in CMAViewManager, and COpenViewManager.
◆ GetCurrentPanel() virtual wxPanel* IOpenViewManager::GetCurrentPanel ( ) pure virtualreturn the panel corresponding to the current state the function may create a new panel or return a pointer to existing panel all panels are owned and destroyed by the Open dialog.
Implemented in CMAViewManager, and COpenViewManager.
◆ GetOutputIndices() ◆ GetOutputObjects()Return the final input objects for views after possible object conversions and object aggregation.
Implemented in COpenViewManager.
◆ InitUI() virtual void IOpenViewManager::InitUI ( ) pure virtual ◆ IsCompletedState() virtual bool IOpenViewManager::IsCompletedState ( ) pure virtualtrue if data gathering has finished and Open dialog shall be closed
Implemented in COpenViewManager.
◆ SetInputObjects()Set input objects that serve as original user input data.
They will be converted to the target object type if necessary. the manager can save the pointer, it will remain valid until CleanUI() is called.
Implemented in COpenViewManager.
◆ SetParentWindow() virtual void IOpenViewManager::SetParentWindow ( wxWindow * parent ) pure virtualThe documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4