Skip to main content

IResourceUtility interface

Namespace: NextDesign.Desktop

Description​

Provides resource operations.

Affiliation area​

NameDescription
UtilitiesGeneric APIs.

Method​

NameDescription
GetIconGets the icon for the given path
GetObjectIconGets 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) : icon for the metaclass defined in the profile
- IField : icon for the field type (property/reference)
- IEnum : icon for the enum
/>- IEnumLiteral : the icon for the enum literal defined in the profile
- IEditorDef (and its derivatives) : the built-in icon corresponding to the editor definition type
- IElementDef (and its derivatives) : Icon of the metaclass to which the editor element definition corresponds
- IModel (and its derived types) : icon of the model type (metaclass)
- IRepresentation (and its derived types) : to which the view element corresponds Model type (metaclass) icon
Returns null if the specified type does not correspond to any of the above.