AfrNavigator CATFrmGraphAnd2DWindow

Usage: you must use this class as is. You should never derive it.


public class CATFrmGraphAnd2DWindow

Class providing a standard window with a graph and a 2D viewer.
Role: This standard window offers a graph and a 2D geometric viewer. It supplies standard functionnalities on these viewers. Instantiate this inside your editor's method.


Constructor and Destructor Index


o CATFrmGraphAnd2DWindow(CATString&,CATBaseUnknown_var,CATFrmEditor*,CATClassId,int,int,int)
Constructs a CATFrmGraphAnd2DWindow.
o ~CATFrmGraphAnd2DWindow()

Method Index


o DeleteWindow()
Deletes the window.
o DuplicateWindow()
Creates a clone window.
o GetGraphicViewer()
Returns the 2D Navigation viewer.

Constructor and Destructor


o CATFrmGraphAnd2DWindow
public CATFrmGraphAnd2DWindow( const iWindowTag,
iModel,
iEditor= 0,
iNavigatorId= "Default",
iGraphDuplicate= 0,
iNavigatorDepth= -1,
iExtensionMode= 1)
Constructs a CATFrmGraphAnd2DWindow.
Parameters:
iWindowTag
The window name. This name is the base of displayed window title.
iModel
The root object of the model. If this object implements the
then a specification graph of the model can be constructed automatically.
iEditor
The editor of the document. By default there is no editor.
iNavigatorId
The name of the graph navigator. By default it is set to "Default".
iGraphDuplicate
The parameter of the graph navigator indicates if a node in the graph will be duplicated when it is instanciated more than one time.
Legal values:
  • 0 the nodes are not duplicated (it's the default value)
  • 1 otherwise
  • .
    iNavigatorDepth
    The parameter of the graph navigator indicates the maximum number of visible levels in the graph. This parameter can be set to any positive integer value. The default value is set to -1 (no limit for the visible graph level).
    iExtensionMode
    Tbe parameter of the graph navigator indicates if a node can use implemented extensions or not.
    o ~CATFrmGraphAnd2DWindow
    public virtual ~CATFrmGraphAnd2DWindow()

    Methods


    o DeleteWindow
    public virtual DeleteWindow()
    Deletes the window.
    Role: Calls this method in place of the destructor.
    o DuplicateWindow
    public virtual DuplicateWindow()
    Creates a clone window.
    Role: This method creates a new instance of this class. It's called to create a new window of the same document.
    o GetGraphicViewer
    public virtual GetGraphicViewer()
    Returns the 2D Navigation viewer.

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

    Copyright © 1999-2014, Dassault Systèmes. All rights reserved.