IResourceUtility.GetObjectIcon method
Namespace: NextDesign.Desktop
Description
Gets the icon for the specified object.
You can get the following icons depending on the type of the specified object.
- IClass (and its derived types) : the icon for the metaclass defined in the profile
- IField : icon for field type (property/reference)
- IEnum : Enum icon
- IEnumLiteral : Enumeration literal icon defined in the profile
- IEditorDef (and its derived types): Built-in icons corresponding to editor definition types
- IElementDef (and its derived types): the icon of the metaclass to which the editor element definition corresponds
- IModel (and its derived types) : icon for model type (metaclass)
- IRepresentation (and its derived types): an icon for the model type (metaclass) that the view element corresponds to
Returns null if given a type that does not correspond to any of the above.
argument
Name | Type | Description |
---|---|---|
apiObj | IObject | Target object for icon acquisition |
Return value
- object