Static Method Summary
| Static Public Methods | ||
| public static |
registerTool(cls: *): * |
|
| public static |
toolRegistered(cls: *): * |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
createTool(ctx: *, path: *, inputs: {}): * |
|
| public |
getStruct(cls: *): * |
|
| public |
getStructs(): * |
|
| public |
getToolDef(path: *): * |
|
| public |
getToolPathHotkey(ctx: *, path: *): * |
|
| public |
getToolPathHotkey_intern(ctx: *, path: *): * |
|
| public |
hasStruct(cls: *): * |
|
| public |
inheritStruct(cls: *, parent: *, auto_create_parent: boolean): * |
|
| public |
|
|
| public |
massSetProp(ctx: *, massSetPath: *, value: *) |
|
| public |
mergeStructs(dest: *, src: *) |
|
| public |
parseToolArgs(path: *): * |
|
| public |
parseToolPath(path: *): * |
|
| public |
|
|
| public |
pushReportContext(name: *) |
|
| public |
resolveMassSetPaths(ctx: *, massSetPath: *): * |
|
| public |
resolvePath(ctx: *, inpath: *, ignoreExistence: boolean, dstruct: *): * |
|
| public |
resolvePathOld2(ctx: *, path: *): {"parent": *, "obj": *, "value": *, "key": *, "dstruct": *, "subkey": *, "prop": *, "arg": *, "type": *, "_path": *} |
|
| public |
resolvePath_intern(ignoreExistence:: *): {"dpath": *, "parent": *, "obj": *, "value": *, "key": *, "dstruct": *, "prop": *, "subkey": *} get meta information for a datapath. |
|
| public |
resolvePathold(ctx: *, path: *): {"parent": *, "obj": *, "value": *, "key": *, "dstruct": *, "prop": *} |
|
| public |
setRoot(sdef: *) |
|
| Private Methods | ||
| private |
_addClass(cls:: *, auto_create:: *): IterableIterator<*> Look up struct definition for a class. |
|
| private |
_stripToolUIName(path: *, uiNameOut: *): * |
|
Inherited Summary
| From class ModelInterface | ||
| public static |
registerTool(tool: *) |
|
| public static |
toolRegistered(tool: *) |
|
| public get |
list: * |
|
| public |
|
|
| public |
createTool(path: *, inputs: {}, constructor_argument: *) |
|
| public |
execOrRedo(compareInputs: *): * runs .undo,.redo if toolstack head is same as tool |
|
| public |
execTool(ctx: *, path: *, inputs: {}, constructor_argument: *): * |
|
| public |
getDescription(ctx: *, path: *): * |
|
| public |
getPropName(ctx: *, path: *): * |
|
| public |
getToolDef(path: *) |
|
| public |
getToolPathHotkey(ctx: *, path: *): * |
|
| public |
getValue(ctx: *, path: *, rootStruct: *): * |
|
| public |
massSetProp(ctx: *, mass_set_path: *, value: *) |
|
| public |
parseToolPath(path: *) |
|
| public |
|
|
| public |
pushReportContext(name: *) |
|
| public |
resolveMassSetPaths(ctx: *, mass_set_path: *) takes a mass_set_path and returns an array of individual paths |
|
| public |
resolvePath(ctx: *, path: *, ignoreExistence: *, rootStruct: *) |
|
| public |
setValue(ctx: *, path: *, val: *, rootStruct: *) |
|
| public |
|
|
Static Public Methods
public static registerTool(cls: *): * source
Override:
ModelInterface#registerToolParams:
| Name | Type | Attribute | Description |
| cls | * |
Return:
| * |
public static toolRegistered(cls: *): * source
Override:
ModelInterface#toolRegisteredParams:
| Name | Type | Attribute | Description |
| cls | * |
Return:
| * |
Public Constructors
Public Methods
public createTool(ctx: *, path: *, inputs: {}): * source
Override:
ModelInterface#createToolParams:
| Name | Type | Attribute | Description |
| ctx | * | ||
| path | * | ||
| inputs | {} |
|
Return:
| * |
public getToolDef(path: *): * source
Override:
ModelInterface#getToolDefParams:
| Name | Type | Attribute | Description |
| path | * |
Return:
| * |
public getToolPathHotkey(ctx: *, path: *): * source
Override:
ModelInterface#getToolPathHotkeyParams:
| Name | Type | Attribute | Description |
| ctx | * | ||
| path | * |
Return:
| * |
public getToolPathHotkey_intern(ctx: *, path: *): * source
Params:
| Name | Type | Attribute | Description |
| ctx | * | ||
| path | * |
Return:
| * |
public inheritStruct(cls: *, parent: *, auto_create_parent: boolean): * source
Params:
| Name | Type | Attribute | Description |
| cls | * | ||
| parent | * | ||
| auto_create_parent | boolean |
|
Return:
| * |
public mapStruct(cls: *, auto_create: boolean, name: *): * source
Params:
| Name | Type | Attribute | Description |
| cls | * | ||
| auto_create | boolean |
|
|
| name | * |
|
Return:
| * |
public massSetProp(ctx: *, massSetPath: *, value: *) source
Override:
ModelInterface#massSetPropParams:
| Name | Type | Attribute | Description |
| ctx | * | ||
| massSetPath | * | ||
| value | * |
public mergeStructs(dest: *, src: *) source
Params:
| Name | Type | Attribute | Description |
| dest | * | ||
| src | * |
public parseToolPath(path: *): * source
Override:
ModelInterface#parseToolPathParams:
| Name | Type | Attribute | Description |
| path | * |
Return:
| * |
public pushReportContext(name: *) source
Override:
ModelInterface#pushReportContextParams:
| Name | Type | Attribute | Description |
| name | * |
public resolveMassSetPaths(ctx: *, massSetPath: *): * source
takes a mass_set_path and returns an array of individual paths
Override:
ModelInterface#resolveMassSetPathsParams:
| Name | Type | Attribute | Description |
| ctx | * | ||
| massSetPath | * |
Return:
| * |
public resolvePath(ctx: *, inpath: *, ignoreExistence: boolean, dstruct: *): * source
Override:
ModelInterface#resolvePathParams:
| Name | Type | Attribute | Description |
| ctx | * | ||
| inpath | * | ||
| ignoreExistence | boolean |
|
|
| dstruct | * |
|
Return:
| * |
public resolvePathOld2(ctx: *, path: *): {"parent": *, "obj": *, "value": *, "key": *, "dstruct": *, "subkey": *, "prop": *, "arg": *, "type": *, "_path": *} source
Params:
| Name | Type | Attribute | Description |
| ctx | * | ||
| path | * |
Return:
| {"parent": *, "obj": *, "value": *, "key": *, "dstruct": *, "subkey": *, "prop": *, "arg": *, "type": *, "_path": *} |
public resolvePath_intern(ignoreExistence:: *): {"dpath": *, "parent": *, "obj": *, "value": *, "key": *, "dstruct": *, "prop": *, "subkey": *} source
get meta information for a datapath.
Params:
| Name | Type | Attribute | Description |
| ignoreExistence: | * | don't try to get actual data associated with path, just want meta information |
Return:
| {"dpath": *, "parent": *, "obj": *, "value": *, "key": *, "dstruct": *, "prop": *, "subkey": *} |
public resolvePathold(ctx: *, path: *): {"parent": *, "obj": *, "value": *, "key": *, "dstruct": *, "prop": *} source
Params:
| Name | Type | Attribute | Description |
| ctx | * | ||
| path | * |
Return:
| {"parent": *, "obj": *, "value": *, "key": *, "dstruct": *, "prop": *} |
public setRoot(sdef: *) source
Params:
| Name | Type | Attribute | Description |
| sdef | * |
Private Methods
private _addClass(cls:: *, auto_create:: *): IterableIterator<*> source
Look up struct definition for a class.
Params:
| Name | Type | Attribute | Description |
| cls: | * | the class |
|
| auto_create: | * | If true, automatically create definition if not already existing. |
Return:
| IterableIterator<*> |
private _stripToolUIName(path: *, uiNameOut: *): * source
Params:
| Name | Type | Attribute | Description |
| path | * | ||
| uiNameOut | * |
|
Return:
| * |
