02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Custom Processes<br />

The custom process will add a new toolbar tool when it is activated and remove the<br />

toolbar tool when it is deactivated. This process does not have an algorithmic part.<br />

In our process example, we will cover:<br />

• Using a custom UI<br />

• Process activation and deactivation<br />

• Adding your process to Petrel<br />

We will not cover the details of the UI interactions. It uses the <strong>Ocean</strong> Petrel UI domain<br />

extensively and is not important to understand processes.<br />

How to Write a Process<br />

There are seven steps to writing an <strong>Ocean</strong> Process.<br />

1 Inherit from the process base class.<br />

2 Optionally define your presentation: icon and name.<br />

3 Create your custom user interface.<br />

4 Optionally handle process activation/deactivation.<br />

5 Optionally handle window modes.<br />

6 Implement persistence.<br />

<strong>Schlumberger</strong> Private<br />

Workflow 6-325

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!