Extending Ready-Made Applications |
In order to extend and customize SAS/EIS objects,
you need to understand the SAS/EIS flow
of control.
In SAS/EIS software,
the following objects use the EMDDB_M data model. Hence they all use the same
flow of control.
-
3D Business Graphs
-
Bubble Charts
-
Graphical Variance
Reports
-
Maps
-
Multidimensional Business Trends
-
Multidimensional
Charts
-
Multidimensional Pie Charts
-
Multidimensional Reports
-
Organizational
Charts.
The EMDDB_M Data Model class combines the functionality
of the MDDB_M class with the information that is stored in a SAS/EIS repository.
It enables navigation of the defined data hierarchies, drill down, reach-through,
subsetting, and report modifications "on the fly." The EMDDB_M
Data Model provides viewers with common run-time features and allows viewers
to share the same subset of data with little effort.
A flow chart for the Flow of Control (the order of execution)
for objects that use the EMDDB_M data model is provided below. The order of
execution does not necessarily imply that one method is calling another method.
This flow chart summarizes the set of methods that are
executed at initialization and used to process user requests. The methods
and their parameters are documented in the SAS/EIS online
Help.
SAS/EIS Software Flow of Control
The following table provides information about methods that
run automatically at run time. For more information about these methods, refer
to the SAS/EIS online Help.
Method |
Class |
Description |
Calls |
_init |
Viewer |
performs the initial processing of the viewer. |
_initialSetup |
_initialSetup |
Viewer |
performs the steps that are necessary for initializing
the viewer. |
_viewerInitialSetup |
_viewerInitialSetup |
Viewer |
performs the steps that are necessary for initializing
the viewer. |
_getModel |
_getModel |
ModelMgr |
returns a list of model instances that are associated
with the instance of EMDDB_C class. |
_init |
_init |
Model |
performs the initial processing of the model. |
|
_postInit |
Viewer |
performs additional processing after the object's _init
method runs. |
_setup |
_setup |
Viewer |
performs additional steps for the initial display of
the viewer. |
_viewerSetup, _refresh, _setCustom |
_viewerSetup |
Viewer |
performs additional steps for the initial display of
the viewer. |
_attach
_setApplication |
_attach |
Viewer |
associates the specified data model with the viewer. |
|
_setApplication |
Model |
accepts the application list, retrieves the information
needed by the model, and creates the initial data table. |
|
_refresh |
Viewer |
sets viewer attributes (if any), refreshes the viewer,
and controls the graying and ungraying of pull-down menu items and tool bar
items. |
_setViewerAttr |
_setViewerAttr |
Viewer |
performs additional processing before the viewer is
redrawn. |
|
_setCustom |
Viewer |
handles viewer-specific customizations. |
_viewerSetCustom |
_viewerSetCustom |
Viewer |
handles viewer-specific customizations. |
|
_objectLabel |
Viewer |
determines the type and location of the user's selection
(single click, double click, or pop-up menu), then takes appropriate action. |
_setActiveValue
_viewerObjectLabel |
_setActiveValue |
Model |
identifies the active cell in the data table. |
|
_viewerObjectLabel |
Viewer |
determines the type and location of the user's selection
(single click, double click, or pop-up menu), then takes appropriate action. |
_getActions |
_getActions |
Viewer |
processes the pop-up menu items. |
_viewerGetActions |
_viewerGetActions |
Viewer |
processes the pop-up menu items. |
|
_execCmd |
Viewer |
handles the execution of commands that are issued from
the pull-down menu. |
|
_term |
Viewer |
deletes the viewer. |
_viewerTerm |
_viewerTerm |
Viewer |
deletes the viewer. |
_detach
_deleteModel |
_detach |
Viewer |
disassociates the currently attached data model. |
|
_deleteModel |
ModelMgr |
deletes the indicated instance from the list of linked
models. |
_term |
|
|
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.