|
Enfusion Script API
|
Public Member Functions | |
| proto external void | BeginModify (string text) |
| Begins group of undo actions (for user will whole group behave like one action). | |
| proto external void | ModifyProperty (BaseContainer container, int variable, string value) |
| Modifies single StringTableItem property. Must be placed between BeginModify/EndModify calls. | |
| proto external BaseContainer | InsertItem (string id, bool bNotify, bool bSelect) |
| Insert single StringTableItem property. | |
| proto external void | DeleteItem (string id) |
| Delete single StringTableItem item. Must be placed between BeginModify/EndModify calls. | |
| proto external void | EndModify () |
| Ends group of undo actions. | |
| proto external void | RefreshUI () |
| Refreshes UI. | |
| proto external BaseContainer | GetTable () |
| Returns string table container. | |
| proto external void | GetFilteredRows (notnull out array< int > rowsIdx) |
| Returns indexes of rows which are filtered at the moment. | |
| proto external void | GetSelectedRows (notnull out array< int > rowsIdx) |
| Returns indexes of rows which are selected at the moment. | |
| proto external void | AddUserFilter (notnull array< int > rowsIdx, string caption) |
Filters just rows given in rowsIdx array. | |
Public Member Functions inherited from WBModuleDef | |
| proto external bool | SetOpenedResource (string filename) |
| proto external BaseContainer | GetContainer (int index=0) |
| proto external int | GetNumContainers () |
| proto external bool | Save () |
| proto external bool | GetCmdLine (string name, out string value) |
| proto external bool | Close () |
| proto external bool | ExecuteAction (notnull array< string > menuPath, bool bKeepFocus=true) |
| proto external WorkbenchPlugin | GetPlugin (TypeName pluginType) |
Public Member Functions inherited from pointer | |
| proto string | ToString () |
| proto external void LocalizationEditor.AddUserFilter | ( | notnull array< int > | rowsIdx, |
| string | caption ) |
Filters just rows given in rowsIdx array.
| proto external void LocalizationEditor.BeginModify | ( | string | text | ) |
Begins group of undo actions (for user will whole group behave like one action).
| proto external void LocalizationEditor.DeleteItem | ( | string | id | ) |
Delete single StringTableItem item. Must be placed between BeginModify/EndModify calls.
| proto external void LocalizationEditor.EndModify | ( | ) |
Ends group of undo actions.
| proto external void LocalizationEditor.GetFilteredRows | ( | notnull out array< int > | rowsIdx | ) |
Returns indexes of rows which are filtered at the moment.
| proto external void LocalizationEditor.GetSelectedRows | ( | notnull out array< int > | rowsIdx | ) |
Returns indexes of rows which are selected at the moment.
| proto external BaseContainer LocalizationEditor.GetTable | ( | ) |
Returns string table container.
| proto external BaseContainer LocalizationEditor.InsertItem | ( | string | id, |
| bool | bNotify, | ||
| bool | bSelect ) |
Insert single StringTableItem property.
Must be placed between BeginModify/EndModify calls.
| id | ID of new item |
| bNotify | Create WB notification about creation or failed creation |
| bSelect | Select newly created item after creation |
| proto external void LocalizationEditor.ModifyProperty | ( | BaseContainer | container, |
| int | variable, | ||
| string | value ) |
Modifies single StringTableItem property. Must be placed between BeginModify/EndModify calls.
| proto external void LocalizationEditor.RefreshUI | ( | ) |
Refreshes UI.