Description
This is a Utility class for XUI Editor. It includes some common functions, such as getActiveXUIEditor,searchWidgetById,etc.
Public Functions
Name | Parameters | Return Value | Description |
getActiveXUIEditor | XUIEditor | Return the current active opened XUIEditor instance | |
getModelCopy | T | <T> | Clone the specified Object,the Object can be a ECA ,IValue,ICondition and any others simple object |
getTemplateFile | project(IProject) | IFile | Get template file base on the Project -> Properties -> BTT -> Project Preferences If no template info available, get first available file from template folder otherwise, return null. |
searchWidgetById | Widget(IWidgetModel),id(String) | IWidgetModel | Search the widgetModel by the given WidgetModel and id |