com.ibm.btt.tools.xui.editor.util.ContextUtils

Description

This class is a Utility class to provide Context and BTT unitization-related functions.

Public Functions

Name Parameters Return Value Description
isInitBTTXML Project(IProject) boolean Return the boolean value of if initialized of btt.xml
reloadBTTConfig Project(IProject) boolean Reload btt.xml and return the boolen value
getContextInstance dataBinding(String)

activeProject(IProject)

openErrorDialog(boolean)

Context Return the context instance by the given parameters

dataBinding:is the string url which contains the xui page bind context information,such as: dataBinding="{'ctxType':'proc','ctxFile':'sampleFlow','ctxName':'sampleFlowCtx'}"

activeProject:is current opened xui project

openErrorDialog:if set to true,when get contextInstance failed will pop-up a errorMessageDialog

getGlobalTransactionsId isOp(boolean)

activeProject(IProject)

List<String> Get the operation or processor id from global definitions of current project.

isOp:if isOp set to true will return operation id list from global definitions otherwise will return processor id list

activeProject:current opened active xui project