com.ibm.btt.tools.xui.editor2.dialog.ContextSelectionDialog

Description

This is a Dialog class for user to chose Context or DataName in xui editor.

Public Functions

Name Parameters Return Value Description
ContextSelectionDialog rootModel(IRootModel),type(int),

defaultValue(String)

ContextSelectionDialog Create a context and data name selection dialog.

When type==0, it will be a context name selection dialog,the defaultValue should be context name;

when type==1, it will be a data name selection dialog,the defaultValue should be a data name

setDataNameForTree dataNameForTree(boolean) void When set true value, this dialog will only show the treeModel dataModel
setDataNameList dataNameForList(boolean) void When set true value, this dialog will only show the dataName for list