Options

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

  • Options
    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.