/// <summary> /// This method runs once in the Module life. /// In this method, you can do registrations of the not UI related components. /// (eg: datasource, plugin) /// </summary> public void Integrate() { // TODO: Add VFMod.Integrate implementation // Register CreateVF CreateVF createvfInstance = new CreateVF(); PetrelSystem.WorkflowEditor.AddUIFactory <CreateVF.Arguments>(new CreateVF.UIFactory()); PetrelSystem.WorkflowEditor.Add(createvfInstance); this.wrapper = new Slb.Ocean.Petrel.Workflow.WorkstepProcessWrapper(createvfInstance); PetrelSystem.ProcessDiagram.Add(this.wrapper, "Plug-ins"); }
/// <summary> /// This method runs once in the Module life. /// In this method, you can do registrations of the not UI related components. /// (eg: datasource, plugin) /// </summary> public void Integrate() { // TODO: Add VFMod.Integrate implementation // Register CreateVF CreateVF createvfInstance = new CreateVF(); PetrelSystem.WorkflowEditor.AddUIFactory<CreateVF.Arguments>(new CreateVF.UIFactory()); PetrelSystem.WorkflowEditor.Add(createvfInstance); this.wrapper = new Slb.Ocean.Petrel.Workflow.WorkstepProcessWrapper(createvfInstance); PetrelSystem.ProcessDiagram.Add(this.wrapper, "Plug-ins"); }