All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATSchPlatformInterfaces Interface CATISchematicInit

System.IUnknown
  |
  +---CATISchematicInit
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATISchematicInit

Interface to manage a Schematic document initialization.
Role: Defines Schematic document 2D behaviors


Method Index


o CreateDefaultWindow(CATFrmEditor*)
Create the 2D window for the schematic document.
o GetActiveObject()
Get the current UI-active object.
o GetDefaultCommand()
Get the default command of the current workbench or workshop.
o GetEditor(CATDocument*)
Get the editor of the schematic document.
o GetWorkshop()
Get the current workshop name.

Methods


o CreateDefaultWindow
public virtual CATFrmWindow * CreateDefaultWindow(CATFrmEditor* iEditor) = 0
Create the 2D window for the schematic document.
Parameters:
iEditor
Pointer to the editor of the schematic document.
Returns:
Pointer to the 2D window.
o GetActiveObject
public virtual CATPathElement GetActiveObject()= 0
Get the current UI-active object.
Returns:
Pointer to the current active object.
o GetDefaultCommand
public virtual CATString GetDefaultCommand()= 0
Get the default command of the current workbench or workshop.
Returns:
Name of the default command workshop.
o GetEditor
public virtual CATFrmEditor * GetEditor(CATDocument* iDocument) = 0
Get the editor of the schematic document.
Parameters:
iDocument
Pointer to the schematic document.
Returns:
Pointer to the editor.
o GetWorkshop
public virtual CATString GetWorkshop()= 0
Get the current workshop name.
Returns:
Name of the current workshop.

This object is included in the file: CATISchematicInit.h

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