02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PetrelSystem Class<br />

PetrelSystem Class<br />

The PetrelSystem class provides access to the application services of the Petrel product<br />

family. These services cover a wide range of functions from acquiring color tables to<br />

incorporating worksteps into workflows. The PetrelSystem class is defined as:<br />

public static class PetrelSystem<br />

{<br />

public static IActiveObjectService ActiveObjectService { get; }<br />

public static IColorTableService ColorTableService { get; }<br />

public static DialogBuilder DialogBuilder { get; }<br />

public static IFileFormatCollection FileFormats { get; }<br />

public static IProcessDiagram ProcessDiagram { get; }<br />

public static ToolsManager Tools { get; }<br />

public static IWindowManager Windows { get; }<br />

public static IWorkflowEditor WorkflowEditor { get; }<br />

public static IWorkflowRunner WorkflowRunner { get; }<br />

public static IPropertyVersionContainer<br />

GetGlobalPropertyVersionContainer();<br />

public static void ShowModeless( Form f );<br />

}<br />

public static IPropertyVersionService PropertyVersionService { get;}<br />

public static IDictionaryPropertyVersionService<br />

DictionaryPropertyVersionService { get; }<br />

The PetrelSystem properties return an <strong>Ocean</strong> interface or class that provides a<br />

particular service. For details on the individual services, refer to the chapters indicated in<br />

the following table:<br />

Table 5-1 PetrelSystem Properties<br />

PetrelSystem Property Interface or Class Refer to Chapter<br />

ProcessDiagram IProcessDiagram Workflow<br />

WorkflowEditor IWorkflowEditor Workflow<br />

WorkflowRunner IWorkflowRunner Workflow<br />

FileFormats IFileFormatCollection Input and Output<br />

ColorTableService IColorTableService UI and Visualization<br />

5-238 <strong>Ocean</strong> Application Development Framework 2008.1<br />

<strong>Schlumberger</strong> Private

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

Saved successfully!

Ooh no, something went wrong!