Cape Object BaseEdit Method
Displays the PMC graphic interface, if available.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public virtual void Edit()VB
Public Overridable Sub EditImplements
ICapeUtilitiesEditRemarks
By default, this method throws a CapeNoImplException that according to the CAPE-OPEN specification, is interpreted by the process modeling environment as indicating that the PMC does not have a editor GUI, and the PME must perform editing steps.
In order for a PMC to provide its own editor, the Edit method will need to be overridden to create a graphical editor. When the user requests the flowheet to show the editor, this method will be called to edit the unit. Overriden classes should not return a failure (throw and exception) as this will be interpreted by the flowsheeting tool as the unit not providing its own editor.
Exceptions
| ECapeUnknown | The error to be raised when other error(s), specified for this operation, are not suitable. |