Add new paramterType

dirk120
dirk120 New Altair Community Member
edited November 5 in Community Q&A
I would like to introduce a new paramaterType to support setup of a custom operator. The paramaterType should be similar to the ParameterTypeList but it should have three columns to enter data. What is required beside of defining a new parameterType class?

Thanks,
Dirk

Answers

  • fischer
    fischer New Altair Community Member
    Hi,

    there are no additional requirements except that you should probably register an editor for your type by calling:

    PropertyPanel.registerPropertyValueCellEditor(Class<? extends ParameterType> typeClass, Class<? extends PropertyValueCellEditor> editorClass);

    However, you can probably use a ParameterTypeTuple for your purposes. It can consist of, e.g., three other ParameterTypes.

    Cheers,
    Simon