All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATAnalysisInterfaces Interface CATISamEditionCusto

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATISamEditionCusto
 

Usage: you can reimplement this interface by deriving the supplied CATEAnalysisEditionCusto adapter class.


interface CATISamEditionCusto

Interface to Customize CATSamCreateEntityCmd.
This generic commands allows to build a default user interface based on basic components for features deriving from AnalysisSet and AnalysisEntities.
All the corresponding implementation have no corresponding for batch or VB treatements. You should not modify the model in your implementation. A good candidate for Apply action is for example Update the feature or display panel informations...
By default this command allows to have Ok and Cancel actions. By implementing this interface on your "AnalysisFeature" late type, you are able to:

BOA information: this interface can be implemented using the BOA (Basic Object Adapter). To know more about the BOA, refer to the CAA Encyclopedia home page. Click Middleware at the bottom left, then click the Object Modeler tab page. Several articles deal with the BOA.


Method Index


o ActionPanel(CATSamTypeActionPanel)
Implement actions for appropriate state.
o AllowApply()
Allows the Apply Action.

Enumerated Type Index


o CATSamTypeActionPanel
Enumerate for typing the actions.

Methods


o ActionPanel
public virtual HRESULT ActionPanel(CATSamTypeActionPanel iTypeAction) = 0
Implement actions for appropriate state. No default Implementation is implemented. Applicative implementation is called before the Global Undo of the CATStateCommand is called. Recomandation is to implement the Apply state for lauching an Update or display some informations, but not to modify the model.
Parameters:
iTypeAction
the action to perform.
o AllowApply
public virtual CATBoolean AllowApply()= 0
Allows the Apply Action.
Parameters:
iTypeAction
the action to perform.

Enumerated Types


o CATSamTypeActionPanel
enum CATSamTypeActionPanel {
  Ok,
  Apply,
  Cancel
}
Enumerate for typing the actions.
Parameters:
Ok
For the OK Action.
Apply
For the Apply Action.
Cancel
For the Cancel Action.

This object is included in the file: CATISamEditionCusto.h
If needed, your Imakefile.mk should include the module: CATAnalysisInterface

Copyright © 2003, Dassault Systèmes. All rights reserved.