The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Add new paramterType

dirk120dirk120 Member Posts: 8 Contributor II
edited November 2018 in Help
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
Tagged:

Answers

  • fischerfischer Member Posts: 439 Maven
    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
Sign In or Register to comment.